mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 15:02:57 +00:00
Get rid of separate download-manifests action
This commit is contained in:

committed by
Ayaz Salikhov

parent
cc3aa43c46
commit
fccea73332
278
.github/actions/download-manifests/action.yml
vendored
278
.github/actions/download-manifests/action.yml
vendored
@@ -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 }}
|
|
4
.github/dependabot.yml
vendored
4
.github/dependabot.yml
vendored
@@ -13,10 +13,6 @@ updates:
|
|||||||
directory: .github/actions/create-dev-env/
|
directory: .github/actions/create-dev-env/
|
||||||
schedule:
|
schedule:
|
||||||
interval: weekly
|
interval: weekly
|
||||||
- package-ecosystem: github-actions
|
|
||||||
directory: .github/actions/download-manifests/
|
|
||||||
schedule:
|
|
||||||
interval: weekly
|
|
||||||
- package-ecosystem: github-actions
|
- package-ecosystem: github-actions
|
||||||
directory: .github/actions/load-image/
|
directory: .github/actions/load-image/
|
||||||
schedule:
|
schedule:
|
||||||
|
26
.github/workflows/docker-wiki-update.yml
vendored
26
.github/workflows/docker-wiki-update.yml
vendored
@@ -18,16 +18,24 @@ jobs:
|
|||||||
- name: Create dev environment 📦
|
- name: Create dev environment 📦
|
||||||
uses: ./.github/actions/create-dev-env
|
uses: ./.github/actions/create-dev-env
|
||||||
|
|
||||||
- name: Download all manifests and history lines 📥
|
- name: Download all history lines 📥
|
||||||
uses: ./.github/actions/download-manifests
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
hist-lines-dir: /tmp/jupyter/hist_lines/
|
pattern: "*-history_line"
|
||||||
manifests-dir: /tmp/jupyter/manifests/
|
path: /tmp/jupyter/hist_lines/
|
||||||
fast-build: ${{ contains(github.event.pull_request.title, '[FAST_BUILD]') }}
|
|
||||||
- name: Display structure of downloaded files 🔍️
|
- name: List the history lines directory 🔍️
|
||||||
run: |
|
run: ls -R /tmp/jupyter/hist_lines/
|
||||||
ls -R /tmp/jupyter/hist_lines/
|
shell: bash
|
||||||
ls -R /tmp/jupyter/manifests/
|
|
||||||
|
- 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
|
shell: bash
|
||||||
|
|
||||||
- name: Checkout Wiki Repo 📃
|
- name: Checkout Wiki Repo 📃
|
||||||
|
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@@ -22,7 +22,6 @@ on:
|
|||||||
# We use local composite actions to combine multiple workflow steps within one action
|
# 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
|
# https://docs.github.com/en/actions/creating-actions/about-custom-actions#composite-actions
|
||||||
- ".github/actions/create-dev-env/action.yml"
|
- ".github/actions/create-dev-env/action.yml"
|
||||||
- ".github/actions/download-manifests/action.yml"
|
|
||||||
- ".github/actions/load-image/action.yml"
|
- ".github/actions/load-image/action.yml"
|
||||||
|
|
||||||
- "images/**"
|
- "images/**"
|
||||||
@@ -43,7 +42,6 @@ on:
|
|||||||
- ".github/workflows/docker-wiki-update.yml"
|
- ".github/workflows/docker-wiki-update.yml"
|
||||||
|
|
||||||
- ".github/actions/create-dev-env/action.yml"
|
- ".github/actions/create-dev-env/action.yml"
|
||||||
- ".github/actions/download-manifests/action.yml"
|
|
||||||
- ".github/actions/load-image/action.yml"
|
- ".github/actions/load-image/action.yml"
|
||||||
|
|
||||||
- "images/**"
|
- "images/**"
|
||||||
|
Reference in New Issue
Block a user