Skip to content

Commit 5e32c95

Browse files
committed
ci: Introduce nightly tests
Signed-off-by: Anastassios Nanos <ananos@nubificus.co.uk>
1 parent 8981af7 commit 5e32c95

2 files changed

Lines changed: 70 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,16 @@ on:
1010
go_version:
1111
required: true
1212
type: string
13+
upload:
14+
type: boolean
15+
default: false
1316

1417
workflow_dispatch:
18+
inputs:
19+
ref:
20+
required: true
21+
type: string
22+
default: ''
1523

1624
permissions:
1725
contents: read
@@ -29,7 +37,6 @@ jobs:
2937
continue-on-error: true
3038

3139
steps:
32-
3340
- name: Harden the runner (Audit all outbound calls)
3441
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
3542
with:

.github/workflows/nightly.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: urunc CI (nightly)
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
workflow_dispatch:
7+
schedule:
8+
- cron: '0 0 * * *'
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
cancel-in-progress: true
13+
14+
permissions:
15+
contents: read
16+
pull-requests: read
17+
packages: write
18+
id-token: write
19+
attestations: write
20+
21+
jobs:
22+
validate-files-and-commits:
23+
name: Lint Files & commits
24+
uses: ./.github/workflows/validate-files-and-commits.yml
25+
with:
26+
ref: ${{ github.sha }}
27+
28+
lint:
29+
name: Lint code
30+
uses: ./.github/workflows/lint.yml
31+
with:
32+
ref: ${{ github.sha }}
33+
34+
build:
35+
name: Build
36+
uses: ./.github/workflows/build.yml
37+
with:
38+
ref: ${{ github.sha }}
39+
upload: true
40+
41+
vm_test:
42+
needs: [build]
43+
name: E2E test
44+
uses: ./.github/workflows/vm_test.yml
45+
with:
46+
runner-archs: '["amd64", "arm64"]'
47+
runc_version: '1.3.0'
48+
containerd_version: '2.1.3'
49+
cni_version: '1.7.1'
50+
nerdctl_version: '2.1.3'
51+
crictl_version: 'v1.30.0'
52+
firecracker_version: 'v1.7.0'
53+
solo5_version: 'v0.9.0'
54+
55+
kind_test:
56+
needs: [build]
57+
name: Kubernetes test
58+
uses: ./.github/workflows/kind_test.yml
59+
with:
60+
firecracker_version: 'v1.7.0'
61+
solo5_version: 'v0.9.0'
62+
runc_version: '1.3.0'

0 commit comments

Comments
 (0)