Skip to content

Commit

Permalink
Add needs clausule
Browse files Browse the repository at this point in the history
  • Loading branch information
psaavedra committed Sep 2, 2021
1 parent ab4ca46 commit 8c5cf7a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci/jobs/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
cp --remove-destination $(realpath ${d}/tmp/deploy/images/${MACHINE}/${IMAGE}-image-${MACHINE}.tar.gz) ${d}/tmp/deploy/images/${MACHINE}/${IMAGE}-image-${MACHINE}.tar.gz
dependencies:
- fetch
needs: ["fetch"]
artifacts:
paths:
- build/tmp/deploy/images/${MACHINE}/${IMAGE}-image-${MACHINE}.tar.gz
Expand Down
4 changes: 4 additions & 0 deletions .gitlab-ci/jobs/export-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export-ci-balena-weston-raspberrypi3:
ARCH: arm32v7
dependencies:
- build-balena-weston-raspberrypi3
needs: ["build-balena-weston-raspberrypi3"]

export-ci-balena-weston-raspberrypi3-64:
extends:
Expand All @@ -33,6 +34,7 @@ export-ci-balena-weston-raspberrypi3-64:
MACHINE: raspberrypi3-64
dependencies:
- build-balena-weston-raspberrypi3-64
needs: ["build-balena-weston-raspberrypi3-64"]

export-ci-balena-weston-raspberrypi4:
image: arm32v7/docker:stable
Expand All @@ -43,6 +45,7 @@ export-ci-balena-weston-raspberrypi4:
ARCH: arm32v7
dependencies:
- build-balena-weston-raspberrypi4
needs: ["build-balena-weston-raspberrypi4"]

export-ci-balena-weston-raspberrypi4-64:
extends:
Expand All @@ -51,4 +54,5 @@ export-ci-balena-weston-raspberrypi4-64:
MACHINE: raspberrypi4-64
dependencies:
- build-balena-weston-raspberrypi4-64
needs: ["build-balena-weston-raspberrypi4-64"]

4 changes: 4 additions & 0 deletions .gitlab-ci/jobs/export-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export-prod-balena-weston-raspberrypi3:
ARCH: arm32v7
dependencies:
- build-balena-weston-raspberrypi3
needs: ["build-balena-weston-raspberrypi3"]

export-prod-balena-weston-raspberrypi3-64:
extends:
Expand All @@ -35,6 +36,7 @@ export-prod-balena-weston-raspberrypi3-64:
MACHINE: raspberrypi3-64
dependencies:
- build-balena-weston-raspberrypi3-64
needs: ["build-balena-weston-raspberrypi3-64"]

export-prod-balena-weston-raspberrypi4:
image: arm32v7/docker:stable
Expand All @@ -45,6 +47,7 @@ export-prod-balena-weston-raspberrypi4:
ARCH: arm32v7
dependencies:
- build-balena-weston-raspberrypi4
needs: ["build-balena-weston-raspberrypi4"]

export-prod-balena-weston-raspberrypi4-64:
extends:
Expand All @@ -53,4 +56,5 @@ export-prod-balena-weston-raspberrypi4-64:
MACHINE: raspberrypi4-64
dependencies:
- build-balena-weston-raspberrypi4-64
needs: ["build-balena-weston-raspberrypi4-64"]

0 comments on commit 8c5cf7a

Please sign in to comment.