File tree Expand file tree Collapse file tree 4 files changed +98
-0
lines changed
Expand file tree Collapse file tree 4 files changed +98
-0
lines changed Original file line number Diff line number Diff line change 77 required : true
88 type : string
99 default : ' '
10+ upload :
11+ type : bool
12+ default : false
1013
1114 workflow_dispatch :
1215
8285 with :
8386 name : containerd-shim-urunc-v2_${{ matrix.arch }}-${{ github.run_id }}
8487 path : dist/containerd-shim-urunc-v2_static_${{ matrix.arch }}
88+
89+
90+ - name : Upload urunc_${{ matrix.arch }} to S3
91+ if : ${{ inputs.upload }}
92+ uses : cloudkernels/minio-upload@v3
93+ with :
94+ url : https://s3.nbfc.io
95+ access-key : ${{ secrets.AWS_ACCESS_KEY }}
96+ secret-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
97+ local-path : dist/urunc_static_${{ matrix.arch }}
98+ remote-path : nbfc-assets/github/urunc/dist/${{ steps.get-rev.outputs.branch }}/${{ matrix.arch }}/
99+ policy : 1
100+
101+ - name : Upload containerd-shim-urunc-v2_${{ matrix.arch }} to S3
102+ if : ${{ inputs.upload }}
103+ uses : cloudkernels/minio-upload@v3
104+ url : https://s3.nbfc.io
105+ access-key : ${{ secrets.AWS_ACCESS_KEY }}
106+ secret-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
107+ local-path : dist/containerd-shim-urunc-v2_static_${{ matrix.arch }}
108+ remote-path : nbfc-assets/github/urunc/dist/${{ steps.get-rev.outputs.branch }}/${{ matrix.arch }}/
109+ policy : 1
Original file line number Diff line number Diff line change 4242 steps :
4343 - name : Checkout repository
4444 uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
45+ with :
46+ ref : ${{ inputs.ref || github.event.pull_request.head.sha || github.sha }}
4547
4648 - name : Install base dependencies
4749 run : |
Original file line number Diff line number Diff line change 1+ name : urunc CI (nightly)
2+
3+ on :
4+ pull_request :
5+ branches : ["main"]
6+ push :
7+ branches : ["main"]
8+ workflow_dispatch :
9+ schedule :
10+ - cron : ' 0 0 * * *'
11+
12+ concurrency :
13+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
14+ cancel-in-progress : true
15+
16+ permissions :
17+ contents : read
18+ pull-requests : read
19+ packages : write
20+ id-token : write
21+ attestations : write
22+
23+ jobs :
24+ validate-files-and-commits :
25+ name : Lint Files & commits
26+ uses : ./.github/workflows/validate-files-and-commits.yml
27+ with :
28+ ref : ${{ github.sha }}
29+ secrets : inherit
30+
31+ lint :
32+ name : Lint code
33+ uses : ./.github/workflows/lint.yml
34+ with :
35+ ref : ${{ github.sha }}
36+ secrets : inherit
37+
38+ build :
39+ name : Build
40+ uses : ./.github/workflows/build.yml
41+ with :
42+ ref : ${{ github.sha }}
43+ upload : true
44+ secrets : inherit
45+
46+ vm_test :
47+ needs : [build]
48+ name : E2E test
49+ uses : ./.github/workflows/vm_test.yml
50+ with :
51+ runner-archs : ' ["amd64", "arm64"]'
52+ runc_version : ' 1.3.0'
53+ containerd_version : ' 2.1.3'
54+ cni_version : ' 1.7.1'
55+ nerdctl_version : ' 2.1.3'
56+ crictl_version : ' v1.30.0'
57+ firecracker_version : ' v1.7.0'
58+ solo5_version : ' v0.9.0'
59+ secrets : inherit
60+
61+ kind_test :
62+ needs : [build]
63+ name : Kubernetes test
64+ uses : ./.github/workflows/kind_test.yml
65+ with :
66+ firecracker_version : ' v1.7.0'
67+ solo5_version : ' v0.9.0'
68+ runc_version : ' 1.3.0'
69+ secrets : inherit
Original file line number Diff line number Diff line change 6262 egress-policy : audit
6363
6464 - uses : actions/checkout@v4
65+ with :
66+ ref : ${{ inputs.ref || github.event.pull_request.head.sha || github.sha }}
6567
6668 - uses : actions/setup-go@v5
6769 with :
You can’t perform that action at this time.
0 commit comments