[CI] Pulsar CI will stop working after November 30th, 2024 unless custom uploading actions are updated #23314
Labels
type/enhancement
The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
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: