Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Apr 12, 2024
1 parent 3990b69 commit 96f85d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions systemtests/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ func FetchExecutable(t *testing.T, version string) string {
}
destFile := filepath.Join(cacheFolder, "simd_"+version)
t.Log("+++ version not in cache, downloading from docker image")
runShellCmd(t, "docker", "pull", "ghcr.io/cosmos/simapp:"+version)
runShellCmd(t, "docker", "create", "--name=ci_temp", "ghcr.io/cosmos/simapp:"+version)
runShellCmd(t, "docker", "cp", "ci_temp:/usr/bin/simd", destFile)
t.Logf("docker pull: %s\n", runShellCmd(t, "docker", "pull", "ghcr.io/cosmos/simapp:"+version))
t.Logf("docker create: %s\n", runShellCmd(t, "docker", "create", "--name=ci_temp", "ghcr.io/cosmos/simapp:"+version))
t.Logf("docker cp: %s\n", runShellCmd(t, "docker", "cp", "ci_temp:/usr/bin/simd", destFile))
t.Logf("ls: %s\n", runShellCmd(t, "ls", "-la", cacheDir))
return destFile
}

0 comments on commit 96f85d3

Please sign in to comment.