Skip to content

Commit adcb18b

Browse files
authored
ignore ryuk reaper for promtail (#1742)
1 parent b08cab0 commit adcb18b

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

framework/.changeset/v0.6.7.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Ignore TESTCONTAINERS_RYUK_DISABLED for promtail container

framework/examples/myproject/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/blocto/solana-go-sdk v1.30.0
1414
github.com/ethereum/go-ethereum v1.15.0
1515
github.com/go-resty/resty/v2 v2.16.3
16-
github.com/smartcontractkit/chainlink-testing-framework/framework v0.6.5
16+
github.com/smartcontractkit/chainlink-testing-framework/framework v0.6.6
1717
github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.2
1818
github.com/smartcontractkit/chainlink-testing-framework/seth v1.50.10
1919
github.com/smartcontractkit/chainlink-testing-framework/wasp v1.50.2

framework/promtail.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ scrape_configs:
109109
}
110110

111111
func NewPromtail() error {
112+
// since this container is dynamic we write it in Go, but it is a part of observability stack
113+
// hence, we never remove it with TESTCONTAINERS_RYUK_DISABLED but only with "ctf obs d"
114+
_ = os.Setenv("TESTCONTAINERS_RYUK_DISABLED", "true")
112115
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Minute)
113116
defer cancel()
114117

0 commit comments

Comments
 (0)