@@ -35,43 +35,42 @@ jobs:
35
35
# Then, replace 'soci-snapshotter-instance' with the name of the project you created.
36
36
name : Setup Build Matrix
37
37
runs-on : ubuntu-latest
38
- if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'awslabs/soci-snapshotter'
39
38
strategy :
40
39
matrix :
41
40
# We're using a matrix with a single entry so that we can define some config as YAML rather than
42
41
# having to write escaped json in a string.
43
42
include :
44
- - use-codebuild : ${{ github.repository_owner == 'awslabs ' }}
45
- runs-on-names-cb : [ubuntu-x86, al2-arm]
43
+ - use-codebuild : ${{ github.repository_owner == 'coderbirju ' }}
44
+ runs-on-names-cb : [ al2-arm]
46
45
runs-on-names : [ubuntu]
47
46
runner-labels :
48
47
ubuntu : ubuntu-22.04
49
- ubuntu-x86 : " codebuild-soci-snapshotter-instance-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge"
50
- al2-arm : " codebuild-soci-snapshotter-instance-${{ github.run_id }}-${{ github.run_attempt }}-arm-3.0-large"
48
+ # ubuntu-x86: "codebuild-soci-snapshotter-instance-dev-new -${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge"
49
+ al2-arm : " codebuild-soci-snapshotter-instance-dev-new- ${{ github.run_id }}-${{ github.run_attempt }}-arm-3.0-large"
51
50
outputs :
52
51
available-runners : ${{ matrix.use-codebuild && toJSON(matrix.runs-on-names-cb) || toJSON(matrix.runs-on-names) }}
53
52
runner-labels : ${{ toJSON(matrix.runner-labels) }}
54
53
steps :
55
54
- name : Dump Config
56
55
run : echo '${{ toJSON(matrix) }}'
57
56
58
- test :
59
- needs : setup
60
- runs-on : ${{ fromJSON(needs.setup.outputs.runner-labels)[matrix.os] }}
61
- strategy :
62
- matrix :
63
- os : ${{ fromJSON(needs.setup.outputs.available-runners) }}
64
- timeout-minutes : 15
65
- steps :
66
- - uses : actions/checkout@v4
67
- - uses : actions/setup-go@v5
68
- with :
69
- go-version : ${{ env.GO_VERSION }}
70
- - name : Install zlib static on AL2 ARM instances
71
- if : matrix.os == 'al2-arm'
72
- run : dnf install zlib-static.aarch64 -y
73
- - run : make
74
- - run : make test
57
+ # test:
58
+ # needs: setup
59
+ # runs-on: ${{ fromJSON(needs.setup.outputs.runner-labels)[matrix.os] }}
60
+ # strategy:
61
+ # matrix:
62
+ # os: ${{ fromJSON(needs.setup.outputs.available-runners) }}
63
+ # timeout-minutes: 15
64
+ # steps:
65
+ # - uses: actions/checkout@v4
66
+ # - uses: actions/setup-go@v5
67
+ # with:
68
+ # go-version: ${{ env.GO_VERSION }}
69
+ # - name: Install zlib static on AL2 ARM instances
70
+ # if: matrix.os == 'al2-arm'
71
+ # run: dnf install zlib-static.aarch64 -y
72
+ # - run: make
73
+ # - run: make test
75
74
76
75
integration :
77
76
needs : setup
88
87
- uses : actions/setup-go@v5
89
88
with :
90
89
go-version : ${{ env.GO_VERSION }}
90
+ - run : uname -r
91
91
- name : Install zlib static on AL2 ARM instances
92
92
if : matrix.os == 'al2-arm'
93
93
run : dnf install zlib-static.aarch64 -y
94
- - run : make integration
94
+ - run : GO_TEST_FLAGS="-run TestFuseOperationFailureMetrics" make integration
0 commit comments