Skip to content

Commit 01ab78a

Browse files
committed
feat(ci): rework to schedule daily runs after a cron
This prevents us from building and pushing artifacts and replacing then for each run. Signed-off-by: Noel Georgi <git@frezbo.dev>
1 parent 015081c commit 01ab78a

48 files changed

Lines changed: 1994 additions & 6603 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 25 additions & 38 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 2026-04-09T14:38:32Z by kres b6d29bf.
3+
# Generated on 2026-04-15T16:01:10Z by kres b6d29bf-dirty.
44

55
concurrency:
66
group: ${{ github.head_ref || github.run_id }}
77
cancel-in-progress: true
88
"on":
99
schedule:
10-
- cron: 30 4 * * *
11-
name: integration-provision-0-cron
10+
- cron: 30 3 * * *
11+
name: artifacts-cron
1212
jobs:
1313
default:
1414
runs-on:
@@ -51,61 +51,48 @@ jobs:
5151
driver: remote
5252
endpoint: tcp://buildkit-amd64.ci.svc.cluster.local:1234
5353
timeout-minutes: 10
54-
- name: Download artifacts
55-
if: github.event_name != 'schedule'
56-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # version: v8.0.1
57-
with:
58-
name: talos-artifacts
59-
path: _out
60-
- name: Fix artifact permissions
61-
if: github.event_name != 'schedule'
54+
- name: external-artifacts
55+
run: |
56+
make external-artifacts
57+
- name: generate
6258
run: |
63-
xargs -a _out/executable-artifacts -I {} chmod +x {}
64-
- name: ci-temp-release-tag
65-
if: github.event_name != 'schedule'
59+
make generate
60+
- name: uki-certs
61+
env:
62+
PLATFORM: linux/amd64
6663
run: |
67-
make ci-temp-release-tag
64+
make uki-certs
6865
- name: build
69-
if: github.event_name == 'schedule'
7066
env:
7167
IMAGE_REGISTRY: registry.dev.siderolabs.io
7268
PLATFORM: linux/amd64,linux/arm64
7369
PUSH: "true"
7470
run: |
7571
make talosctl-linux-amd64 kernel sd-boot sd-stub initramfs installer-base imager talos _out/integration-test-linux-amd64
76-
- name: uki-certs
77-
if: github.event_name == 'schedule'
78-
env:
79-
PLATFORM: linux/amd64
80-
run: |
81-
make uki-certs
8272
- name: talosctl-cni-bundle
83-
if: github.event_name == 'schedule'
8473
run: |
8574
make talosctl-cni-bundle
86-
- name: images-essential
87-
if: github.event_name == 'schedule'
75+
- name: iso
8876
env:
8977
IMAGE_REGISTRY: registry.dev.siderolabs.io
9078
IMAGER_ARGS: --extra-kernel-arg=console=ttyS0
9179
PLATFORM: linux/amd64,linux/arm64
9280
run: |
93-
make images-essential
94-
- name: provision-tests-prepare
95-
run: |
96-
make provision-tests-prepare
97-
- name: provision-tests-track-0
81+
make iso secureboot-iso
82+
- name: images-essential
9883
env:
99-
GRPC_ENFORCE_ALPN_ENABLED: "false"
10084
IMAGE_REGISTRY: registry.dev.siderolabs.io
85+
IMAGER_ARGS: --extra-kernel-arg=console=ttyS0
86+
PLATFORM: linux/amd64,linux/arm64
10187
run: |
102-
sudo -E make provision-tests-track-0
88+
make images-essential
89+
- name: Generate executable list
90+
run: |
91+
find _out -type f -executable > _out/executable-artifacts
10392
- name: save artifacts
104-
if: always()
10593
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # version: v7.0.0
10694
with:
107-
name: talos-logs-integration-provision-0
108-
path: |-
109-
/tmp/logs-*.tar.gz
110-
/tmp/support-*.zip
111-
retention-days: "5"
95+
name: talos-artifacts
96+
path: |
97+
_out
98+
retention-days: "1"

0 commit comments

Comments
 (0)