Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workflow for update api spec files to main #73

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

pedro-psb
Copy link
Member

I've added this data-update workflow on the docs-update branch and merged it (#66).

This workflow should really be on the default branch to work.

@pedro-psb pedro-psb changed the title Add workflow for updateing api.json files on main Add workflow for update api spec files to main Jul 19, 2024

- name: "List requirements"
run: |
cat requirements_system.txt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it system or ubuntu?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its ubuntu, thanks


- name: "Install System dependencies"
run: |
xargs sudo apt -y install < requirements_ubuntu.txt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally we call apt install only once, but xargs will at least do batches, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure. Tried a different approach with tr.

@pedro-psb pedro-psb force-pushed the add-api-json-update branch 2 times, most recently from 6eb5eca to 64675c3 Compare July 22, 2024 14:20
Copy link
Member

@mdellweg mdellweg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks fro trying to avoid all the yaml weirdness with quotes.

@pedro-psb pedro-psb merged commit 08939df into pulp:main Jul 22, 2024
4 checks passed
@pedro-psb pedro-psb deleted the add-api-json-update branch July 22, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants