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

Github Action: Fix fail to download artifact #4437

Merged
merged 1 commit into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/auto-upgrade-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,14 @@ jobs:

- name: Download old spiderpool-agent image with tag ${{ needs.call_build_old_ci_image.outputs.imageTag }}
if: ${{ needs.get_ref.outputs.build_old_image_tag == 'true' }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: old-image-tar-spiderpool-agent
path: test/.download

- name: Download old spiderpool-controller image with tag ${{ needs.call_build_old_ci_image.outputs.imageTag }}
if: ${{ needs.get_ref.outputs.build_old_image_tag == 'true' }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: old-image-tar-spiderpool-controller
path: test/.download
Expand Down Expand Up @@ -304,13 +304,13 @@ jobs:
cp -r /tmp/config ${{ env.KUBECONFIG_PATH }}/${{ env.E2E_CLUSTER_NAME }}/.kube/config

- name: Download new spiderpool-agent image with tag ${{ needs.call_build_new_ci_image.outputs.imageTag }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: new-image-tar-spiderpool-agent
path: test/.download

- name: Download new spiderpool-controller image with tag ${{ needs.call_build_new_ci_image.outputs.imageTag }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: new-image-tar-spiderpool-controller
path: test/.download
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-version-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Chart Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: ${{ needs.release-chart.outputs.artifact }}
path: chart-package/

- name: Download Changelog Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: ${{ needs.release-changelog.outputs.artifact }}
path: changelog-result/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-image-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
mkdir -p image-digest/

- name: Download digests of all images built
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
path: image-digest/

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-image-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,13 @@ jobs:
mkdir -p image-digest/

- name: Download digests of all images built
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
path: image-digest/
name: image-digest-spiderpool-agent

- name: Download digests of all images built
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
path: image-digest/
name: image-digest-spiderpool-controller
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-image-plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
mkdir -p image-digest/

- name: Download digests of all images built
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
path: image-digest/

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call-release-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
ref: ${{ env.DEST_BRANCH }}

- name: Download Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: changelog_artifact
path: ${{ env.DEST_DIRECTORY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call-release-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
persist-credentials: "true"

- name: Download Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: chart_package_artifact
path: charts/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call-release-doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
fetch-depth: 0

- name: Download Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: website_package_artifact

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call-update-githubpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ jobs:
mkdir ${{ env.DEST_DIRECTORY }}/charts

- name: Download Website Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: ${{ inputs.site_artifact_name }}
path: ${{ env.DEST_DIRECTORY }}

- name: Download Chart Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: ${{ inputs.chart_artifact_name }}
path: ${{ env.DEST_DIRECTORY }}/charts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ jobs:
bash ./test/scripts/install-tools.sh

- name: Download spiderpool-agent image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: image-tar-spiderpool-agent
path: test/.download

- name: Download spiderpool-controller image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: image-tar-spiderpool-controller
path: test/.download
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/trivy-scan-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
ref: ${{ inputs.ref }}

- name: Download spiderpool-agent image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: image-tar-spiderpool-agent
path: test/.download

- name: Download spiderpool-controller image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.8
with:
name: image-tar-spiderpool-controller
path: test/.download
Expand Down
Loading