Skip to content

Commit 24bb9ee

Browse files
committed
Declare parrot image version
1 parent a6a6707 commit 24bb9ee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/docker/test_env/parrot.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ import (
2020
"github.com/smartcontractkit/chainlink-testing-framework/parrot"
2121
)
2222

23-
const defaultParrotImage = "kalverra/parrot"
23+
const (
24+
defaultParrotImage = "kalverra/parrot"
25+
defaultParrotVersion = "v0.5.0"
26+
)
2427

2528
// Parrot is a test environment component that wraps a Parrot server.
2629
type Parrot struct {
@@ -124,6 +127,7 @@ func (p *Parrot) getContainerRequest() (tc.ContainerRequest, error) {
124127
if pImage == "" || pImage == "parrot" {
125128
pImage = defaultParrotImage
126129
}
130+
pImage = fmt.Sprintf("%s:%s", pImage, defaultParrotVersion)
127131

128132
return tc.ContainerRequest{
129133
Name: p.ContainerName,

0 commit comments

Comments
 (0)