@@ -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
0 commit comments