Skip to content

Commit

Permalink
Make a single launcher workflow to launch all arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed May 11, 2024
1 parent ff2b50e commit b6be3d9
Show file tree
Hide file tree
Showing 8 changed files with 96 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ on:
description: "Build for ARM as well"
default: false
required: false
workflow_call:
inputs:
build_arm:
type: boolean
description: "Build for ARM as well"
default: false
required: false

env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/backend
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/build-arm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Trigger a build of all docker images including ARM images

on:
workflow_dispatch:
inputs:
build_arm:
type: boolean
description: "Build for ARM as well"
default: true
required: false

jobs:
trigger-backend:
uses: ./.github/workflows/backend.yml
with:
build_arm: ${{ github.event.inputs.build_arm }}

trigger-config-preprocessor:
uses: ./.github/workflows/config-preprocessor-build.yml
with:
build_arm: ${{ github.event.inputs.build_arm }}

trigger-dummy-preprocessing:
uses: ./.github/workflows/dummyPreprocessing.yml
with:
build_arm: ${{ github.event.inputs.build_arm }}

trigger-ingest:
uses: ./.github/workflows/ingest.yml
with:
build_arm: ${{ github.event.inputs.build_arm }}

trigger-keycloakify:
uses: ./.github/workflows/keycloakify-build.yml
with:
build_arm: ${{ github.event.inputs.build_arm }}

trigger-preprocessing-nextclade:
uses: ./.github/workflows/preprocessing-nextclade.yml
with:
build_arm: ${{ github.event.inputs.build_arm }}

trigger-website:
uses: ./.github/workflows/website.yml
with:
build_arm: ${{ github.event.inputs.build_arm }}
7 changes: 7 additions & 0 deletions .github/workflows/config-preprocessor-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ on:
description: "Build for ARM as well"
default: false
required: false
workflow_call:
inputs:
build_arm:
type: boolean
description: "Build for ARM as well"
default: false
required: false

env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/config-processor
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/dummyPreprocessing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ on:
description: "Build for ARM as well"
default: false
required: false
workflow_call:
inputs:
build_arm:
type: boolean
description: "Build for ARM as well"
default: false
required: false


env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/preprocessing-dummy
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ingest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ on:
description: "Build for ARM as well"
default: false
required: false
workflow_call:
inputs:
build_arm:
type: boolean
description: "Build for ARM as well"
default: false
required: false

env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/ingest
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/keycloakify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ on:
description: "Build for ARM as well"
default: false
required: false

workflow_call:
inputs:
build_arm:
type: boolean
description: "Build for ARM as well"
default: false
required: false
env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/keycloakify
BUILD_ARM: "true"
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/preprocessing-nextclade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ on:
description: "Build for ARM as well"
default: false
required: false
workflow_call:
inputs:
build_arm:
type: boolean
description: "Build for ARM as well"
default: false
required: false

env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/preprocessing-nextclade
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ on:
description: "Build for ARM as well"
default: false
required: false

workflow_call:
inputs:
build_arm:
type: boolean
description: "Build for ARM as well"
default: false
required: false
env:
DOCKER_IMAGE_NAME: ghcr.io/loculus-project/website
BUILD_ARM: "true"
Expand Down

0 comments on commit b6be3d9

Please sign in to comment.