You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Deprecation notice: v1, v2, and v3 of the artifact actions]
...
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
Solution
Pulsar CI uses a custom "GitHub Actions Artifact client" . Instead of using the actual action, it uses the GitHub provided javascript library to create a custom client that can be used in shell scripts to upload and download any files to be cached during a workflow run. This is used in Pulsar CI to build the docker images once so that they can be used in the integration test and system test jobs. It's also used to share the binary build results. This action will need to be updated to use the v4 client libraries.
It's simply about updating the custom client that is written in Javascript. The model in the new v4 is slightly different, but it is possible to find a way which works for the new backend.
Are you willing to submit a PR?
I'm willing to submit a PR!
The text was updated successfully, but these errors were encountered:
lhotari
added
the
type/enhancement
The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
label
Sep 18, 2024
Search before asking
Motivation
GitHub is deprecating existing v1, v2, and v3 upload actions. https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ explains more.
Solution
Pulsar CI uses a custom "GitHub Actions Artifact client" . Instead of using the actual action, it uses the GitHub provided javascript library to create a custom client that can be used in shell scripts to upload and download any files to be cached during a workflow run. This is used in Pulsar CI to build the docker images once so that they can be used in the integration test and system test jobs. It's also used to share the binary build results. This action will need to be updated to use the v4 client libraries.
Here's how the docker image gets uploaded:
pulsar/.github/workflows/pulsar-ci.yaml
Lines 531 to 534 in 590e133
And restored:
pulsar/.github/workflows/pulsar-ci.yaml
Lines 647 to 649 in 590e133
This is how the underlying shell script uses the custom gh-actions-artifact-client:
pulsar/build/pulsar_ci_tool.sh
Lines 82 to 101 in 590e133
Alternatives
Anything else?
It's simply about updating the custom client that is written in Javascript. The model in the new v4 is slightly different, but it is possible to find a way which works for the new backend.
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: