Skip to content

Commit

Permalink
github: repository_dispatch trigger on deps-update
Browse files Browse the repository at this point in the history
Allow remote repositories to trigger container deployment on this repo
with the `deps-update` payload. The intention is for this to be used
from the seL4-CAmkES-L4v-Dockerfiles repo when the base docker images
are updated.

Signed-off-by: Gerwin Klein <[email protected]>
  • Loading branch information
lsf37 committed Jul 11, 2024
1 parent 3b22bec commit edd52c4
Show file tree
Hide file tree
Showing 13 changed files with 33 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-camkes-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
- 'seL4-platforms/**'
- 'camkes-test/**'
workflow_dispatch:
# allow explict trigger from other repos when dependencies have changed
repository_dispatch:
types: [deps-update]

jobs:
docker:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-camkes-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
- 'scripts/**'
- 'camkes-unit/**'
workflow_dispatch:
# allow explict trigger from other repos when dependencies have changed
repository_dispatch:
types: [deps-update]

jobs:
docker:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-camkes-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
- 'seL4-platforms/**'
- 'camkes-vm/**'
workflow_dispatch:
# allow explict trigger from other repos when dependencies have changed
repository_dispatch:
types: [deps-update]

jobs:
docker:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-cparser-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
- 'cparser-run/**'
- 'preprocess/**'
repository_dispatch:
types: [cparser-deploy]
types: [cparser-deploy, deps-update]
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-cparser-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Deploy CParser Run
on:
# the real build trigger is in deploy-cparser-builder
repository_dispatch:
types: [cparser-build]
types: [cparser-build, deps-update]
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-preprocess.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Deploy Preprocess Test
on:
# the real build trigger is in deploy-cparser-builder
repository_dispatch:
types: [cparser-build]
types: [cparser-build, deps-update]
workflow_dispatch:

jobs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-rumprun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
- 'seL4-platforms/**'
- 'rump-hello/**'
workflow_dispatch:
# allow explict trigger from other repos when dependencies have changed
repository_dispatch:
types: [deps-update]

jobs:
docker:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-run-proofs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
- 'scripts/**'
- 'run-proofs/**'
workflow_dispatch:
# allow explict trigger from other repos when dependencies have changed
repository_dispatch:
types: [deps-update]

jobs:
docker:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-sel4bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
- 'seL4-platforms/**'
- 'sel4bench/**'
workflow_dispatch:
# allow explict trigger from other repos when dependencies have changed
repository_dispatch:
types: [deps-update]

jobs:
docker:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-sel4test-hw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
- 'seL4-platforms/**'
- 'sel4test-hw/**'
workflow_dispatch:
# allow explict trigger from other repos when dependencies have changed
repository_dispatch:
types: [deps-update]

jobs:
docker:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-sel4test-sim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
- 'seL4-platforms/**'
- 'sel4test-sim/**'
workflow_dispatch:
# allow explict trigger from other repos when dependencies have changed
repository_dispatch:
types: [deps-update]

jobs:
docker:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
- 'seL4-platforms/**'
- 'tutorials/**'
workflow_dispatch:
# allow explict trigger from other repos when dependencies have changed
repository_dispatch:
types: [deps-update]

jobs:
docker:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-webserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
- 'seL4-platforms/**'
- 'webserver/**'
workflow_dispatch:
# allow explict trigger from other repos when dependencies have changed
repository_dispatch:
types: [deps-update]

jobs:
docker:
Expand Down

0 comments on commit edd52c4

Please sign in to comment.