Skip to content

Commit

Permalink
Revert "Update actions/download-artifact and actions/upload-artifact …
Browse files Browse the repository at this point in the history
…to v4 (#2061)"

This reverts commit 0736628.
  • Loading branch information
mathbunnyru committed Dec 20, 2023
1 parent 0736628 commit dc009c2
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 52 deletions.
88 changes: 44 additions & 44 deletions .github/actions/download-manifests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,258 +20,258 @@ runs:
using: composite
steps:
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: docker-stacks-foundation-aarch64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: docker-stacks-foundation-x86_64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: base-notebook-aarch64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: base-notebook-x86_64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: minimal-notebook-aarch64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: minimal-notebook-x86_64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: scipy-notebook-aarch64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: scipy-notebook-x86_64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: r-notebook-aarch64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: r-notebook-x86_64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: julia-notebook-aarch64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: julia-notebook-x86_64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: tensorflow-notebook-aarch64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: tensorflow-notebook-x86_64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: pytorch-notebook-aarch64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: pytorch-notebook-x86_64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: datascience-notebook-aarch64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: datascience-notebook-x86_64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: pyspark-notebook-aarch64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: pyspark-notebook-x86_64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: all-spark-notebook-aarch64-history_line
path: ${{ inputs.hist-lines-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: all-spark-notebook-x86_64-history_line
path: ${{ inputs.hist-lines-dir }}

- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: docker-stacks-foundation-aarch64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: docker-stacks-foundation-x86_64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: base-notebook-aarch64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: base-notebook-x86_64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: minimal-notebook-aarch64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: minimal-notebook-x86_64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: scipy-notebook-aarch64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: scipy-notebook-x86_64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: r-notebook-aarch64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: r-notebook-x86_64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: julia-notebook-aarch64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: julia-notebook-x86_64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: tensorflow-notebook-aarch64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: tensorflow-notebook-x86_64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: pytorch-notebook-aarch64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: pytorch-notebook-x86_64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: datascience-notebook-aarch64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: datascience-notebook-x86_64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: pyspark-notebook-aarch64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: pyspark-notebook-x86_64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: all-spark-notebook-aarch64-manifest
path: ${{ inputs.manifests-dir }}
- name: Download artifact 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
if: inputs.fast-build == 'false'
with:
name: all-spark-notebook-x86_64-manifest
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/load-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
using: composite
steps:
- name: Download built image 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: ${{ inputs.image }}-${{ inputs.platform }}
path: /tmp/jupyter/images/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker-build-test-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
python3 -m tagging.write_tags_file --short-image-name ${{ inputs.image }} --tags-dir /tmp/jupyter/tags/ --registry ${{ env.REGISTRY }} --owner ${{ env.OWNER }}
shell: bash
- name: Upload tags file 💾
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.image }}-${{ inputs.platform }}-tags
path: /tmp/jupyter/tags/${{ inputs.platform }}-${{ inputs.image }}.txt
Expand All @@ -85,13 +85,13 @@ jobs:
run: python3 -m tagging.write_manifest --short-image-name ${{ inputs.image }} --hist-lines-dir /tmp/jupyter/hist_lines/ --manifests-dir /tmp/jupyter/manifests/ --registry ${{ env.REGISTRY }} --owner ${{ env.OWNER }}
shell: bash
- name: Upload manifest file 💾
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.image }}-${{ inputs.platform }}-manifest
path: /tmp/jupyter/manifests/${{ inputs.platform }}-${{ inputs.image }}-*.md
retention-days: 3
- name: Upload build history line 💾
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.image }}-${{ inputs.platform }}-history_line
path: /tmp/jupyter/hist_lines/${{ inputs.platform }}-${{ inputs.image }}-*.txt
Expand All @@ -103,7 +103,7 @@ jobs:
docker save ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ inputs.image }} | zstd > /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}.tar.zst
shell: bash
- name: Upload image as artifact 💾
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.image }}-${{ inputs.platform }}
path: /tmp/jupyter/images/${{ inputs.image }}-${{ inputs.platform }}.tar.zst
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-merge-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
uses: ./.github/actions/create-dev-env

- name: Download x86_64 tags file 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: ${{ inputs.image }}-x86_64-tags
path: /tmp/jupyter/tags/
- name: Download aarch64 tags file 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: ${{ inputs.image }}-aarch64-tags
path: /tmp/jupyter/tags/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-tag-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
password: ${{ secrets.REGISTRY_TOKEN }}

- name: Download tags file 📥
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: ${{ inputs.image }}-${{ inputs.platform }}-tags
path: /tmp/jupyter/tags/
Expand Down

0 comments on commit dc009c2

Please sign in to comment.