Skip to content

Commit 931d5b9

Browse files
committed
testing
Signed-off-by: Arjun Raja Yogidas <[email protected]>
1 parent a2dd2f3 commit 931d5b9

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

Diff for: .github/workflows/build.yml

+23-23
Original file line numberDiff line numberDiff line change
@@ -35,43 +35,42 @@ jobs:
3535
# Then, replace 'soci-snapshotter-instance' with the name of the project you created.
3636
name: Setup Build Matrix
3737
runs-on: ubuntu-latest
38-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'awslabs/soci-snapshotter'
3938
strategy:
4039
matrix:
4140
# We're using a matrix with a single entry so that we can define some config as YAML rather than
4241
# having to write escaped json in a string.
4342
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]
4645
runs-on-names: [ubuntu]
4746
runner-labels:
4847
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"
5150
outputs:
5251
available-runners: ${{ matrix.use-codebuild && toJSON(matrix.runs-on-names-cb) || toJSON(matrix.runs-on-names) }}
5352
runner-labels: ${{ toJSON(matrix.runner-labels) }}
5453
steps:
5554
- name: Dump Config
5655
run: echo '${{ toJSON(matrix) }}'
5756

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
7574

7675
integration:
7776
needs: setup
@@ -88,7 +87,8 @@ jobs:
8887
- uses: actions/setup-go@v5
8988
with:
9089
go-version: ${{ env.GO_VERSION }}
90+
- run: uname -r
9191
- name: Install zlib static on AL2 ARM instances
9292
if: matrix.os == 'al2-arm'
9393
run: dnf install zlib-static.aarch64 -y
94-
- run: make integration
94+
- run: GO_TEST_FLAGS="-run TestFuseOperationFailureMetrics" make integration

0 commit comments

Comments
 (0)