Skip to content

Commit 3c35078

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 e776721 commit 3c35078

52 files changed

Lines changed: 1531 additions & 3078 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: 29 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
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-15T14:59:08Z by kres b6d29bf-dirty.
4+
45

5-
concurrency:
6-
group: ${{ github.head_ref || github.run_id }}
7-
cancel-in-progress: true
86
"on":
7+
pull_request:
8+
branches:
9+
- main
910
schedule:
10-
- cron: 30 4 * * *
11-
name: integration-provision-0-cron
11+
- cron: 30 3 * * *
12+
name: artifacts-cron
1213
jobs:
1314
default:
1415
runs-on:
@@ -51,61 +52,48 @@ jobs:
5152
driver: remote
5253
endpoint: tcp://buildkit-amd64.ci.svc.cluster.local:1234
5354
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'
55+
- name: external-artifacts
6256
run: |
63-
xargs -a _out/executable-artifacts -I {} chmod +x {}
64-
- name: ci-temp-release-tag
65-
if: github.event_name != 'schedule'
57+
make external-artifacts
58+
- name: generate
6659
run: |
67-
make ci-temp-release-tag
60+
make generate
61+
- name: uki-certs
62+
env:
63+
PLATFORM: linux/amd64
64+
run: |
65+
make uki-certs
6866
- name: build
69-
if: github.event_name == 'schedule'
7067
env:
7168
IMAGE_REGISTRY: registry.dev.siderolabs.io
7269
PLATFORM: linux/amd64,linux/arm64
7370
PUSH: "true"
7471
run: |
7572
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
8273
- name: talosctl-cni-bundle
83-
if: github.event_name == 'schedule'
8474
run: |
8575
make talosctl-cni-bundle
86-
- name: images-essential
87-
if: github.event_name == 'schedule'
76+
- name: iso
8877
env:
8978
IMAGE_REGISTRY: registry.dev.siderolabs.io
9079
IMAGER_ARGS: --extra-kernel-arg=console=ttyS0
9180
PLATFORM: linux/amd64,linux/arm64
9281
run: |
93-
make images-essential
94-
- name: provision-tests-prepare
95-
run: |
96-
make provision-tests-prepare
97-
- name: provision-tests-track-0
82+
make iso secureboot-iso
83+
- name: images-essential
9884
env:
99-
GRPC_ENFORCE_ALPN_ENABLED: "false"
10085
IMAGE_REGISTRY: registry.dev.siderolabs.io
86+
IMAGER_ARGS: --extra-kernel-arg=console=ttyS0
87+
PLATFORM: linux/amd64,linux/arm64
10188
run: |
102-
sudo -E make provision-tests-track-0
89+
make images-essential
90+
- name: Generate executable list
91+
run: |
92+
find _out -type f -executable > _out/executable-artifacts
10393
- name: save artifacts
104-
if: always()
10594
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # version: v7.0.0
10695
with:
107-
name: talos-logs-integration-provision-0
108-
path: |-
109-
/tmp/logs-*.tar.gz
110-
/tmp/support-*.zip
111-
retention-days: "5"
96+
name: talos-artifacts
97+
path: |
98+
_out
99+
retention-days: "1"

0 commit comments

Comments
 (0)