Skip to content

Commit

Permalink
Add AlwaysPullImage option to docker core node (#11715)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcl authored Jan 9, 2024
1 parent 0f82c97 commit 43a8eb6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions integration-tests/docker/test_env/cl_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type ClNode struct {
PostgresDb *test_env.PostgresDb `json:"postgresDb"`
UserEmail string `json:"userEmail"`
UserPassword string `json:"userPassword"`
AlwaysPullImage bool
t *testing.T
l zerolog.Logger
ls *logstream.LogStream
Expand Down Expand Up @@ -435,9 +436,10 @@ func (n *ClNode) getContainerRequest(secrets string) (
apiCredsPath := "/home/api-credentials.txt"

return &tc.ContainerRequest{
Name: n.ContainerName,
Image: fmt.Sprintf("%s:%s", n.ContainerImage, n.ContainerVersion),
ExposedPorts: []string{"6688/tcp"},
Name: n.ContainerName,
AlwaysPullImage: n.AlwaysPullImage,
Image: fmt.Sprintf("%s:%s", n.ContainerImage, n.ContainerVersion),
ExposedPorts: []string{"6688/tcp"},
Entrypoint: []string{"chainlink",
"-c", configPath,
"-s", secretsPath,
Expand Down

0 comments on commit 43a8eb6

Please sign in to comment.