Skip to content

Commit de7553d

Browse files
committed
fix(ci): cron jobs
Crons needing extensions need the `generate` step as a dependency for the `talos-metadata` file. TrustedBoot needs the `secureboot-installer`. Equinix needs arm64 since we boot an arm64 box as part of integration. Signed-off-by: Noel Georgi <git@frezbo.dev>
1 parent eb510d9 commit de7553d

9 files changed

+69
-16
lines changed

.github/workflows/ci.yaml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-05-24T15:02:03Z by kres b5844f8.
3+
# Generated on 2024-05-25T14:28:32Z by kres b5844f8.
44

55
name: default
66
concurrency:
@@ -407,7 +407,7 @@ jobs:
407407
if: github.event_name == 'schedule'
408408
env:
409409
IMAGE_REGISTRY: registry.dev.siderolabs.io
410-
PLATFORM: linux/amd64,linux/arm64
410+
PLATFORM: linux/amd64
411411
run: |
412412
make images-essential
413413
- name: e2e-aws-prepare
@@ -511,6 +511,10 @@ jobs:
511511
if: github.event_name != 'schedule'
512512
run: |
513513
xargs -a _out/executable-artifacts -I {} chmod +x {}
514+
- name: generate
515+
if: github.event_name == 'schedule'
516+
run: |
517+
make generate
514518
- name: uki-certs
515519
if: github.event_name == 'schedule'
516520
env:
@@ -657,6 +661,10 @@ jobs:
657661
if: github.event_name != 'schedule'
658662
run: |
659663
xargs -a _out/executable-artifacts -I {} chmod +x {}
664+
- name: generate
665+
if: github.event_name == 'schedule'
666+
run: |
667+
make generate
660668
- name: uki-certs
661669
if: github.event_name == 'schedule'
662670
env:
@@ -1133,7 +1141,7 @@ jobs:
11331141
if: github.event_name == 'schedule'
11341142
env:
11351143
IMAGE_REGISTRY: registry.dev.siderolabs.io
1136-
PLATFORM: linux/amd64
1144+
PLATFORM: linux/amd64,linux/arm64
11371145
PUSH: "true"
11381146
run: |
11391147
make talosctl-linux-amd64 kernel sd-boot sd-stub initramfs installer imager talos _out/integration-test-linux-amd64
@@ -1235,6 +1243,10 @@ jobs:
12351243
if: github.event_name != 'schedule'
12361244
run: |
12371245
xargs -a _out/executable-artifacts -I {} chmod +x {}
1246+
- name: generate
1247+
if: github.event_name == 'schedule'
1248+
run: |
1249+
make generate
12381250
- name: build
12391251
if: github.event_name == 'schedule'
12401252
env:
@@ -2718,6 +2730,13 @@ jobs:
27182730
if: github.event_name == 'schedule'
27192731
run: |
27202732
make talosctl-cni-bundle
2733+
- name: images-essential
2734+
if: github.event_name == 'schedule'
2735+
env:
2736+
IMAGE_REGISTRY: registry.dev.siderolabs.io
2737+
PLATFORM: linux/amd64
2738+
run: |
2739+
make images-essential
27212740
- name: secureboot-iso
27222741
if: github.event_name == 'schedule'
27232742
env:

.github/workflows/integration-aws-cron.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-05-24T09:48:06Z by kres b5844f8.
3+
# Generated on 2024-05-25T14:28:32Z by kres b5844f8.
44

55
name: integration-aws-cron
66
concurrency:
@@ -90,7 +90,7 @@ jobs:
9090
if: github.event_name == 'schedule'
9191
env:
9292
IMAGE_REGISTRY: registry.dev.siderolabs.io
93-
PLATFORM: linux/amd64,linux/arm64
93+
PLATFORM: linux/amd64
9494
run: |
9595
make images-essential
9696
- name: e2e-aws-prepare

.github/workflows/integration-aws-nvidia-nonfree-cron.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-05-24T09:48:06Z by kres b5844f8.
3+
# Generated on 2024-05-25T11:30:52Z by kres b5844f8.
44

55
name: integration-aws-nvidia-nonfree-cron
66
concurrency:
@@ -68,6 +68,10 @@ jobs:
6868
if: github.event_name != 'schedule'
6969
run: |
7070
xargs -a _out/executable-artifacts -I {} chmod +x {}
71+
- name: generate
72+
if: github.event_name == 'schedule'
73+
run: |
74+
make generate
7175
- name: uki-certs
7276
if: github.event_name == 'schedule'
7377
env:

.github/workflows/integration-aws-nvidia-oss-cron.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-05-24T09:48:06Z by kres b5844f8.
3+
# Generated on 2024-05-25T11:30:52Z by kres b5844f8.
44

55
name: integration-aws-nvidia-oss-cron
66
concurrency:
@@ -68,6 +68,10 @@ jobs:
6868
if: github.event_name != 'schedule'
6969
run: |
7070
xargs -a _out/executable-artifacts -I {} chmod +x {}
71+
- name: generate
72+
if: github.event_name == 'schedule'
73+
run: |
74+
make generate
7175
- name: uki-certs
7276
if: github.event_name == 'schedule'
7377
env:

.github/workflows/integration-equinix-metal-cron.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-05-24T09:48:06Z by kres b5844f8.
3+
# Generated on 2024-05-25T11:30:52Z by kres b5844f8.
44

55
name: integration-equinix-metal-cron
66
concurrency:
@@ -72,7 +72,7 @@ jobs:
7272
if: github.event_name == 'schedule'
7373
env:
7474
IMAGE_REGISTRY: registry.dev.siderolabs.io
75-
PLATFORM: linux/amd64
75+
PLATFORM: linux/amd64,linux/arm64
7676
PUSH: "true"
7777
run: |
7878
make talosctl-linux-amd64 kernel sd-boot sd-stub initramfs installer imager talos _out/integration-test-linux-amd64

.github/workflows/integration-extensions-cron.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-05-24T09:48:06Z by kres b5844f8.
3+
# Generated on 2024-05-25T11:30:52Z by kres b5844f8.
44

55
name: integration-extensions-cron
66
concurrency:
@@ -62,6 +62,10 @@ jobs:
6262
if: github.event_name != 'schedule'
6363
run: |
6464
xargs -a _out/executable-artifacts -I {} chmod +x {}
65+
- name: generate
66+
if: github.event_name == 'schedule'
67+
run: |
68+
make generate
6569
- name: build
6670
if: github.event_name == 'schedule'
6771
env:

.github/workflows/integration-images-cron.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-05-24T09:48:06Z by kres b5844f8.
3+
# Generated on 2024-05-26T11:34:32Z by kres b5844f8.
44

55
name: integration-images-cron
66
concurrency:
77
group: ${{ github.head_ref || github.run_id }}
88
cancel-in-progress: true
99
"on":
1010
schedule:
11-
- cron: 30 3 * * *
11+
- cron: 30 2 * * *
1212
jobs:
1313
default:
1414
runs-on:

.github/workflows/integration-trusted-boot-cron.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-05-24T09:48:06Z by kres b5844f8.
3+
# Generated on 2024-05-25T11:30:52Z by kres b5844f8.
44

55
name: integration-trusted-boot-cron
66
concurrency:
@@ -80,6 +80,13 @@ jobs:
8080
if: github.event_name == 'schedule'
8181
run: |
8282
make talosctl-cni-bundle
83+
- name: images-essential
84+
if: github.event_name == 'schedule'
85+
env:
86+
IMAGE_REGISTRY: registry.dev.siderolabs.io
87+
PLATFORM: linux/amd64
88+
run: |
89+
make images-essential
8390
- name: secureboot-iso
8491
if: github.event_name == 'schedule'
8592
env:

.kres.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,12 @@ spec:
338338
- name: talosctl-cni-bundle
339339
conditions:
340340
- only-on-schedule
341+
- name: images-essential
342+
conditions:
343+
- only-on-schedule
344+
environment:
345+
PLATFORM: linux/amd64
346+
IMAGE_REGISTRY: registry.dev.siderolabs.io
341347
- name: secureboot-iso
342348
conditions:
343349
- only-on-schedule
@@ -745,6 +751,9 @@ spec:
745751
artifactStep:
746752
type: download
747753
artifactPath: _out
754+
- name: generate
755+
conditions:
756+
- only-on-schedule
748757
- name: build
749758
conditions:
750759
- only-on-schedule
@@ -985,7 +994,7 @@ spec:
985994
- self-hosted
986995
- generic # this is pretty fast, so we can use generic
987996
crons:
988-
- '30 3 * * *'
997+
- '30 2 * * *'
989998
triggerLabels:
990999
- integration/images
9911000
steps:
@@ -1223,7 +1232,7 @@ spec:
12231232
conditions:
12241233
- only-on-schedule
12251234
environment:
1226-
PLATFORM: linux/amd64,linux/arm64
1235+
PLATFORM: linux/amd64
12271236
IMAGE_REGISTRY: registry.dev.siderolabs.io
12281237
- name: e2e-aws-prepare
12291238
environment:
@@ -1271,6 +1280,9 @@ spec:
12711280
artifactStep:
12721281
type: download
12731282
artifactPath: _out
1283+
- name: generate
1284+
conditions:
1285+
- only-on-schedule
12741286
- name: uki-certs
12751287
conditions:
12761288
- only-on-schedule
@@ -1361,6 +1373,9 @@ spec:
13611373
artifactStep:
13621374
type: download
13631375
artifactPath: _out
1376+
- name: generate
1377+
conditions:
1378+
- only-on-schedule
13641379
- name: uki-certs
13651380
conditions:
13661381
- only-on-schedule
@@ -1531,7 +1546,7 @@ spec:
15311546
- only-on-schedule
15321547
command: talosctl-linux-amd64 kernel sd-boot sd-stub initramfs installer imager talos _out/integration-test-linux-amd64
15331548
environment:
1534-
PLATFORM: linux/amd64
1549+
PLATFORM: linux/amd64,linux/arm64
15351550
IMAGE_REGISTRY: registry.dev.siderolabs.io
15361551
PUSH: true
15371552
- name: talosctl-cni-bundle

0 commit comments

Comments
 (0)