Skip to content

Commit 5cdfe2e

Browse files
committed
add codebuild integration to github runners
Signed-off-by: Arjun Raja Yogidas <[email protected]>
1 parent d25a2ea commit 5cdfe2e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
2424

2525
jobs:
2626
test:
27-
runs-on: ubuntu-20.04
27+
runs-on: codebuild-soci-github-ci-pipeline-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
2828
timeout-minutes: 15
2929
steps:
3030
- uses: actions/checkout@v4
@@ -34,7 +34,7 @@ jobs:
3434
- run: make
3535
- run: make test
3636
integration:
37-
runs-on: ubuntu-20.04
37+
runs-on: codebuild-soci-github-ci-pipeline-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-xlarge
3838
timeout-minutes: 40
3939
strategy:
4040
fail-fast: false
@@ -47,4 +47,5 @@ jobs:
4747
- uses: actions/setup-go@v5
4848
with:
4949
go-version: ${{ env.GO_VERSION }}
50+
# - run: goenv global 1.22.1
5051
- run: make integration

integration/pull_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ func TestLazyPullWithSparseIndex(t *testing.T) {
236236
}
237237

238238
func checkFuseMounts(t *testing.T, sh *shell.Shell, remoteSnapshotsExpectedCount int) {
239-
mounts := string(sh.O("mount"))
239+
mounts := string(sh.O("cat", "/proc/mounts"))
240240
remoteSnapshotsActualCount := strings.Count(mounts, "fuse.rawBridge")
241241
if remoteSnapshotsExpectedCount != remoteSnapshotsActualCount {
242242
t.Fatalf("incorrect number of remote snapshots; expected=%d, actual=%d",

0 commit comments

Comments
 (0)