Skip to content

Commit

Permalink
update the actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-seals committed Oct 11, 2024
1 parent 2069517 commit 43e6be8
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 70 deletions.
90 changes: 45 additions & 45 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,51 +6,51 @@ name: Build, test, and push Docker Images
# This only works for a `pull_request` event and does not affect `push` to the `main` branch

on:
schedule:
# Weekly, at 03:00 on Monday UTC
- cron: "0 3 * * 1"
pull_request:
paths:
- ".github/workflows/docker.yml"
# We use local reusable workflows to make architecture clean and simple
# https://docs.github.com/en/actions/using-workflows/reusing-workflows
- ".github/workflows/docker-build-test-upload.yml"
- ".github/workflows/docker-merge-tags.yml"
- ".github/workflows/docker-tag-push.yml"
- ".github/workflows/docker-wiki-update.yml"

# 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/load-image/action.yml"

- "images/**"
- "!images/*/README.md"
- "tagging/**"
- "!tagging/README.md"
- "tests/**"
- "!tests/README.md"
- "requirements-dev.txt"
push:
branches:
- main
paths:
- ".github/workflows/docker.yml"
- ".github/workflows/docker-build-test-upload.yml"
- ".github/workflows/docker-merge-tags.yml"
- ".github/workflows/docker-tag-push.yml"
- ".github/workflows/docker-wiki-update.yml"

- ".github/actions/create-dev-env/action.yml"
- ".github/actions/load-image/action.yml"

- "images/**"
- "!images/*/README.md"
- "tagging/**"
- "!tagging/README.md"
- "tests/**"
- "!tests/README.md"
- "requirements-dev.txt"
# schedule:
# # Weekly, at 03:00 on Monday UTC
# - cron: "0 3 * * 1"
# pull_request:
# paths:
# - ".github/workflows/docker.yml"
# # We use local reusable workflows to make architecture clean and simple
# # https://docs.github.com/en/actions/using-workflows/reusing-workflows
# - ".github/workflows/docker-build-test-upload.yml"
# - ".github/workflows/docker-merge-tags.yml"
# - ".github/workflows/docker-tag-push.yml"
# - ".github/workflows/docker-wiki-update.yml"

# # 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/load-image/action.yml"

# - "images/**"
# - "!images/*/README.md"
# - "tagging/**"
# - "!tagging/README.md"
# - "tests/**"
# - "!tests/README.md"
# - "requirements-dev.txt"
# push:
# branches:
# - main
# paths:
# - ".github/workflows/docker.yml"
# - ".github/workflows/docker-build-test-upload.yml"
# - ".github/workflows/docker-merge-tags.yml"
# - ".github/workflows/docker-tag-push.yml"
# - ".github/workflows/docker-wiki-update.yml"

# - ".github/actions/create-dev-env/action.yml"
# - ".github/actions/load-image/action.yml"

# - "images/**"
# - "!images/*/README.md"
# - "tagging/**"
# - "!tagging/README.md"
# - "tests/**"
# - "!tests/README.md"
# - "requirements-dev.txt"
workflow_dispatch:

# https://docs.github.com/en/actions/using-jobs/using-concurrency
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/helx-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:

foundation:
uses: ./.github/workflows/docker-build-test-upload.yml
uses: ./.github/workflows/helx-build-test-upload.yml
with:
parentImage: ""
image: docker-stacks-foundation
Expand All @@ -31,7 +31,7 @@ jobs:
CONTAINERHUB_TOKEN: ${{ secrets.CONTAINERHUB_TOKEN }}

base:
uses: ./.github/workflows/docker-build-test-upload.yml
uses: ./.github/workflows/helx-build-test-upload.yml
with:
parentImage: docker-stacks-foundation
image: base-notebook
Expand All @@ -44,7 +44,7 @@ jobs:
needs: [foundation]

minimal:
uses: ./.github/workflows/docker-build-test-upload.yml
uses: ./.github/workflows/helx-build-test-upload.yml
with:
parentImage: base-notebook
image: minimal-notebook
Expand All @@ -57,7 +57,7 @@ jobs:
needs: [base]

scipy:
uses: ./.github/workflows/docker-build-test-upload.yml
uses: ./.github/workflows/helx-build-test-upload.yml
with:
parentImage: minimal-notebook
image: scipy-notebook
Expand All @@ -70,7 +70,7 @@ jobs:
needs: [minimal]

r:
uses: ./.github/workflows/docker-build-test-upload.yml
uses: ./.github/workflows/helx-build-test-upload.yml
with:
parentImage: minimal-notebook
image: r-notebook
Expand All @@ -83,7 +83,7 @@ jobs:
needs: [minimal]

tensorflow:
uses: ./.github/workflows/docker-build-test-upload.yml
uses: ./.github/workflows/helx-build-test-upload.yml
with:
parentImage: scipy-notebook
image: tensorflow-notebook
Expand All @@ -96,7 +96,7 @@ jobs:
needs: [scipy]

datascience:
uses: ./.github/workflows/docker-build-test-upload.yml
uses: ./.github/workflows/helx-build-test-upload.yml
with:
parentImage: scipy-notebook
image: datascience-notebook
Expand All @@ -109,7 +109,7 @@ jobs:
needs: [scipy]

julia:
uses: ./.github/workflows/docker-build-test-upload.yml
uses: ./.github/workflows/helx-build-test-upload.yml
with:
parentImage: minimal-notebook
image: julia-notebook
Expand All @@ -122,7 +122,7 @@ jobs:
needs: [minimal]

pyspark:
uses: ./.github/workflows/docker-build-test-upload.yml
uses: ./.github/workflows/helx-build-test-upload.yml
with:
parentImage: scipy-notebook
image: pyspark-notebook
Expand All @@ -135,7 +135,7 @@ jobs:
needs: [scipy]

all-spark:
uses: ./.github/workflows/docker-build-test-upload.yml
uses: ./.github/workflows/helx-build-test-upload.yml
with:
parentImage: pyspark-notebook
image: all-spark-notebook
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/hub-overview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ env:
OWNER: ${{ github.repository_owner }}

on:
push:
branches:
- main
paths:
- ".github/workflows/hub-overview.yml"
workflow_call:
# branches:
# - main
# paths:
# - ".github/workflows/hub-overview.yml"

# - "all-spark-notebook/README.md"
- "base-notebook/README.md"
- "datascience-notebook/README.md"
# - "docker-stacks-foundation/README.md"
- "julia-notebook/README.md"
- "minimal-notebook/README.md"
# - "pyspark-notebook/README.md"
# - "r-notebook/README.md"
- "scipy-notebook/README.md"
# - "tensorflow-notebook/README.md"
# # - "all-spark-notebook/README.md"
# - "base-notebook/README.md"
# - "datascience-notebook/README.md"
# # - "docker-stacks-foundation/README.md"
# - "julia-notebook/README.md"
# - "minimal-notebook/README.md"
# # - "pyspark-notebook/README.md"
# # - "r-notebook/README.md"
# - "scipy-notebook/README.md"
# # - "tensorflow-notebook/README.md"

jobs:
update-dockerhub-overview:
Expand Down

0 comments on commit 43e6be8

Please sign in to comment.