File tree Expand file tree Collapse file tree 1 file changed +43
-5
lines changed Expand file tree Collapse file tree 1 file changed +43
-5
lines changed Original file line number Diff line number Diff line change 2020 - ' scripts/**'
2121
2222env :
23- GO_VERSION : ' 1.21.11 '
23+ GO_VERSION : ' 1.21.10 '
2424
2525jobs :
26- test :
27- runs-on : ubuntu-20.04
26+ test-on-codebuild :
27+ if : github.repository == 'awslabs/soci-snapshotter'
28+ runs-on : codebuild-soci-snapshotter-build-test-${{ github.run_id }}-${{ github.run_attempt }}-${{ matrix.os }}
29+ strategy :
30+ matrix :
31+ os : [arm-3.0-large, ubuntu-7.0-xlarge]
32+ timeout-minutes : 15
33+ steps :
34+ - uses : actions/checkout@v4
35+ - uses : actions/setup-go@v5
36+ with :
37+ go-version : ${{ env.GO_VERSION }}
38+ - run : make
39+ - run : make test
40+
41+ test-on-fork :
42+ if : github.repository != 'awslabs/soci-snapshotter'
43+ runs-on : codebuild-soci-snapshotter-build-test-${{ github.run_id }}-${{ github.run_attempt }}-${{ matrix.os }}
44+ strategy :
45+ matrix :
46+ os : [arm-3.0-large, ubuntu-7.0-xlarge]
2847 timeout-minutes : 15
2948 steps :
3049 - uses : actions/checkout@v4
3352 go-version : ${{ env.GO_VERSION }}
3453 - run : make
3554 - run : make test
36- integration :
37- runs-on : ubuntu-20.04
55+
56+ integration-on-codebuild :
57+ if : github.repository == 'awslabs/soci-snapshotter'
58+ runs-on : codebuild-soci-snapshotter-build-test-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
3859 timeout-minutes : 40
3960 strategy :
4061 fail-fast : false
4869 with :
4970 go-version : ${{ env.GO_VERSION }}
5071 - run : make integration
72+
73+ integration-on-fork :
74+ if : github.repository != 'awslabs/soci-snapshotter'
75+ runs-on : codebuild-soci-snapshotter-build-test-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
76+ timeout-minutes : 40
77+ strategy :
78+ fail-fast : false
79+ matrix :
80+ containerd : ["1.6.30", "1.7.14"]
81+ env :
82+ DOCKER_BUILD_ARGS : " CONTAINERD_VERSION=${{ matrix.containerd }}"
83+ steps :
84+ - uses : actions/checkout@v4
85+ - uses : actions/setup-go@v5
86+ with :
87+ go-version : ${{ env.GO_VERSION }}
88+ - run : make integration
You can’t perform that action at this time.
0 commit comments