Skip to content

Commit d6337fc

Browse files
committed
fix: run ami builds sequentially
Change the AMI build workflow to run the matrix entries sequentially instead of all parallel. This should stop them getting cancelled due to exceeding resource limits. Fail fast has also been set to false so that if one of the metrix jobs fails the others continue. Signed-off-by: Richard Case <[email protected]>
1 parent d6ed1de commit d6337fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-ami.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ permissions:
3636
jobs:
3737
buildandpublish:
3838
strategy:
39-
matrix:
40-
target: ['ubuntu-2204', 'ubuntu-2404', 'flatcar', 'rhel-8']
39+
matrix:
40+
target: ['ubuntu-2204', 'ubuntu-2404', 'flatcar', 'rhel-8']
41+
max-parallel: 1
42+
fail-fast: false
4143
name: Build and publish CAPA AMIs
4244
runs-on: ubuntu-latest
4345
steps:

0 commit comments

Comments
 (0)