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

Updates the CI files. #5394

Closed
wants to merge 1 commit into from
Closed

Updates the CI files. #5394

wants to merge 1 commit into from

Conversation

decko
Copy link
Member

@decko decko commented May 16, 2024

[noissue]

uses: actions/upload-artifact/merge@v4
with:
name: python-client.tar
pattern: *-python-client.tar
Copy link
Member

Choose a reason for hiding this comment

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

Maybe you need to escape the dot?

Comment on lines 94 to 104
name: "python-client.tar"
name: "core-python-client.tar"
path: "pulpcore/core-python-client.tar"
if-no-files-found: "error"
overwrite: true

- name: "Merge Python client packages"
uses: actions/upload-artifact/merge@v4
with:
name: python-client.tar
pattern: "*-python-client.tar"

Copy link
Member

Choose a reason for hiding this comment

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

What are we even trying to solve here? I only see a single artifact uploaded. Why would merging it be an improvement?

Copy link
Member Author

@decko decko May 17, 2024

Choose a reason for hiding this comment

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

In v3, multiple uploads from multiple jobs could be done to the same Artifact. This would result in a single archive, which could be useful for sending to upstream systems outside of Actions via API or UI downloads.1

We can't do that anymore with v4.

Footnotes

  1. Merging multiple artifacts https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md#merging-multiple-artifacts

Copy link
Member

Choose a reason for hiding this comment

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

I think, we can:
pulp/plugin_template#866

@decko decko closed this May 21, 2024
@decko decko deleted the update-ci-files branch May 21, 2024 13:44
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.

None yet

3 participants