mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
testing: use Docker Hub registry mirror for additional tests (#25733)
This image was missed in https://github.com/hashicorp/nomad/pull/25703 and is resulting in rate limited in tests.
This commit is contained in:
@@ -1005,8 +1005,14 @@ func TestDockerDriver_ForcePull_RepoDigest(t *testing.T) {
|
||||
|
||||
task, cfg, _ := dockerTask(t)
|
||||
|
||||
sha := "@sha256:58ac43b2cc92c687a32c8be6278e50a063579655fe3090125dcb2af0ff9e1a64"
|
||||
imageName := "library/busybox" + sha
|
||||
if tu.IsCI() {
|
||||
imageName = "docker.mirror.hashicorp.services/busybox" + sha
|
||||
}
|
||||
|
||||
cfg.LoadImage = ""
|
||||
cfg.Image = "library/busybox@sha256:58ac43b2cc92c687a32c8be6278e50a063579655fe3090125dcb2af0ff9e1a64"
|
||||
cfg.Image = imageName
|
||||
cfg.ForcePull = true
|
||||
cfg.Command = busyboxLongRunningCmd[0]
|
||||
cfg.Args = busyboxLongRunningCmd[1:]
|
||||
|
||||
Reference in New Issue
Block a user