diff --git a/.github/actions/download-manifests/action.yml b/.github/actions/download-manifests/action.yml deleted file mode 100644 index b26c2bc3..00000000 --- a/.github/actions/download-manifests/action.yml +++ /dev/null @@ -1,278 +0,0 @@ -name: Download manifests -description: Download all manifests and history lines - -# Unfortunately, `actions/download-artifact` doesn't support wildcard download -# To make this workflow fast, we manually list all manifests and history lines downloads -# https://github.com/actions/download-artifact/issues/6 - -inputs: - hist-lines-dir: - description: Directory to store history lines - required: true - manifests-dir: - description: Directory to store manifest files - required: true - fast-build: - description: Only build docker-stacks-foundation and base-notebook - required: true - -runs: - using: composite - steps: - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - with: - name: docker-stacks-foundation-aarch64-history_line - path: ${{ inputs.hist-lines-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - with: - name: docker-stacks-foundation-x86_64-history_line - path: ${{ inputs.hist-lines-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - with: - name: base-notebook-aarch64-history_line - path: ${{ inputs.hist-lines-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - with: - name: base-notebook-x86_64-history_line - path: ${{ inputs.hist-lines-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - with: - name: docker-stacks-foundation-aarch64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - with: - name: docker-stacks-foundation-x86_64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - with: - name: base-notebook-aarch64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - with: - name: base-notebook-x86_64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: minimal-notebook-aarch64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: minimal-notebook-x86_64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: scipy-notebook-aarch64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: scipy-notebook-x86_64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: r-notebook-aarch64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: r-notebook-x86_64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: julia-notebook-aarch64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: julia-notebook-x86_64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: tensorflow-notebook-aarch64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: tensorflow-notebook-x86_64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: pytorch-notebook-aarch64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: pytorch-notebook-x86_64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: datascience-notebook-aarch64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: datascience-notebook-x86_64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: pyspark-notebook-aarch64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: pyspark-notebook-x86_64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: all-spark-notebook-aarch64-manifest - path: ${{ inputs.manifests-dir }} - - name: Download artifact 📥 - uses: actions/download-artifact@v4 - if: inputs.fast-build == 'false' - with: - name: all-spark-notebook-x86_64-manifest - path: ${{ inputs.manifests-dir }} diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5ed4a1e0..8f17357f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -13,10 +13,6 @@ updates: directory: .github/actions/create-dev-env/ schedule: interval: weekly - - package-ecosystem: github-actions - directory: .github/actions/download-manifests/ - schedule: - interval: weekly - package-ecosystem: github-actions directory: .github/actions/load-image/ schedule: diff --git a/.github/workflows/docker-wiki-update.yml b/.github/workflows/docker-wiki-update.yml index 88d794c4..d7867392 100644 --- a/.github/workflows/docker-wiki-update.yml +++ b/.github/workflows/docker-wiki-update.yml @@ -18,16 +18,24 @@ jobs: - name: Create dev environment 📦 uses: ./.github/actions/create-dev-env - - name: Download all manifests and history lines 📥 - uses: ./.github/actions/download-manifests + - name: Download all history lines 📥 + uses: actions/download-artifact@v4 with: - hist-lines-dir: /tmp/jupyter/hist_lines/ - manifests-dir: /tmp/jupyter/manifests/ - fast-build: ${{ contains(github.event.pull_request.title, '[FAST_BUILD]') }} - - name: Display structure of downloaded files 🔍️ - run: | - ls -R /tmp/jupyter/hist_lines/ - ls -R /tmp/jupyter/manifests/ + pattern: "*-history_line" + path: /tmp/jupyter/hist_lines/ + + - name: List the history lines directory 🔍️ + run: ls -R /tmp/jupyter/hist_lines/ + shell: bash + + - name: Download all manifests 📥 + uses: actions/download-artifact@v4 + with: + pattern: "*-manifest" + path: /tmp/jupyter/manifests/ + + - name: List the manifests directory 🔍️ + run: ls -R /tmp/jupyter/manifests/ shell: bash - name: Checkout Wiki Repo 📃 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9ab19659..08207492 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -22,7 +22,6 @@ on: # We use local composite actions to combine multiple workflow steps within one action # https://docs.github.com/en/actions/creating-actions/about-custom-actions#composite-actions - ".github/actions/create-dev-env/action.yml" - - ".github/actions/download-manifests/action.yml" - ".github/actions/load-image/action.yml" - "images/**" @@ -43,7 +42,6 @@ on: - ".github/workflows/docker-wiki-update.yml" - ".github/actions/create-dev-env/action.yml" - - ".github/actions/download-manifests/action.yml" - ".github/actions/load-image/action.yml" - "images/**"