Skip to content

Commit

Permalink
Merge pull request spidernet-io#3677 from ty-dc/fix/download-file
Browse files Browse the repository at this point in the history
fix: CI failed to download the file
  • Loading branch information
weizhoublue authored Jul 1, 2024
2 parents 2a50107 + 25778e1 commit d5d9976
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/auto-upgrade-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,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
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
with:
name: old-image-tar-spiderpool-controller
path: test/.download
Expand Down Expand Up @@ -308,13 +308,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
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
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
with:
name: ${{ needs.release-chart.outputs.artifact }}
path: chart-package/

- name: Download Changelog Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
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
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
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
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 @@ -237,7 +237,7 @@ jobs:
mkdir -p image-digest/
- name: Download digests of all images built
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
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
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
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
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
with:
name: ${{ inputs.site_artifact_name }}
path: ${{ env.DEST_DIRECTORY }}

- name: Download Chart Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
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 @@ -110,13 +110,13 @@ jobs:
bash ./test/scripts/install-tools.sh
- name: Download spiderpool-agent image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: image-tar-spiderpool-agent
path: test/.download

- name: Download spiderpool-controller image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
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
with:
name: image-tar-spiderpool-agent
path: test/.download

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

0 comments on commit d5d9976

Please sign in to comment.