Skip to content

Commit 6b9cfb9

Browse files
github: disable testcontainers Ryuk (#2930)
Disable reaper container for github builds. This should hopefully eliminate testcontainer-related test flakes. See https://golang.testcontainers.org/features/garbage_collector/#ryuk Signed-off-by: Alexander Yastrebov <[email protected]>
1 parent 500688f commit 6b9cfb9

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/master.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: master
2-
3-
permissions: {}
4-
52
on:
63
push:
74
branches:
85
- master
6+
permissions: {}
7+
env:
8+
TESTCONTAINERS_RYUK_DISABLED: true
99
jobs:
1010
tests:
1111
runs-on: ubuntu-latest
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
1717
with:
1818
# https://www.npmjs.com/package/semver#caret-ranges-123-025-004
19-
go-version: '^1.21'
19+
go-version: "^1.21"
2020
check-latest: true
2121
- run: go version
2222
- run: make deps

.github/workflows/pr.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: pr
22
on: [ pull_request ]
33
permissions:
44
contents: read
5+
env:
6+
TESTCONTAINERS_RYUK_DISABLED: true
57
jobs:
68
semgrep:
79
if: ${{ github.actor != 'dependabot[bot]' }}
@@ -23,7 +25,7 @@ jobs:
2325
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
2426
with:
2527
# https://www.npmjs.com/package/semver#caret-ranges-123-025-004
26-
go-version: '^1.21'
28+
go-version: "^1.21"
2729
check-latest: true
2830
- run: go version
2931
- run: make deps
@@ -35,7 +37,7 @@ jobs:
3537
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
3638
with:
3739
# https://www.npmjs.com/package/semver#caret-ranges-123-025-004
38-
go-version: '^1.21'
40+
go-version: "^1.21"
3941
check-latest: true
4042
- run: go version
4143
- run: make deps

0 commit comments

Comments
 (0)