Skip to contentSkip to conversation

tests/docker: rename wasm cross container

RFC PATCH In review Alex Bennée 3 participants 3 messages Jan 27

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 tests/docker: rename wasm cross container

Now we are 64 bit only there is no need to keep the generic name. This also fixes a check failure in the weekly container build which was checking containers based on the expansion of DOCKER_IMAGES which is based of the dockerfile names.

Fixes 4203ea0247f (gitlab-ci: Add build tests for wasm64)
---
 .gitlab-ci.d/container-cross.yml                                | 2 +-
 .../{emsdk-wasm-cross.docker => emsdk-wasm64-cross.docker}      | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename tests/docker/dockerfiles/{emsdk-wasm-cross.docker => emsdk-wasm64-cross.docker} (100%)
.gitlab-ci.d/container-cross.yml +1 -1
index d7ae57fb1f5..923044e9a12 100644
@@ -78,4 +78,4 @@ wasm64-emsdk-cross-container:
   extends: .container_job_template
   variables:
     NAME: emsdk-wasm64-cross
-    DOCKERFILE: emsdk-wasm-cross
+    DOCKERFILE: emsdk-wasm64-cross
tests/docker/dockerfiles/emsdk-wasm64-cross.docker renamed from tests/docker/dockerfiles/emsdk-wasm-cross.docker +0 -0
similarity index 100%
rename from tests/docker/dockerfiles/emsdk-wasm-cross.docker
rename to tests/docker/dockerfiles/emsdk-wasm64-cross.docker
Signature · 1 line
2.47.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Alex Bennée

Now we are 64 bit only there is no need to keep the generic name. This also fixes a check failure in the weekly container build which was checking containers based on the expansion of DOCKER_IMAGES which is based of the dockerfile names.

Quoted 8 lines
Fixes 4203ea0247f (gitlab-ci: Add build tests for wasm64)
---
  .gitlab-ci.d/container-cross.yml                                | 2 +-
  .../{emsdk-wasm-cross.docker => emsdk-wasm64-cross.docker}      | 0
  2 files changed, 1 insertion(+), 1 deletion(-)

rename tests/docker/dockerfiles/{emsdk-wasm-cross.docker => emsdk-wasm64-cross.docker} (100%)

#2 lore raw
In reply to Alex Bennée
Quoted 18 lines · Alex Bennée

Now we are 64 bit only there is no need to keep the generic name. This also fixes a check failure in the weekly container build which was checking containers based on the expansion of DOCKER_IMAGES which is based of the dockerfile names.

Fixes 4203ea0247f (gitlab-ci: Add build tests for wasm64)
---
 .gitlab-ci.d/container-cross.yml                                | 2 +-
 .../{emsdk-wasm-cross.docker => emsdk-wasm64-cross.docker}      | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename tests/docker/dockerfiles/{emsdk-wasm-cross.docker => emsdk-wasm64-cross.docker} (100%)
.gitlab-ci.d/container-cross.yml +0 -0
index d7ae57fb1f5..923044e9a12 100644

.gitlab-ci.d/container-cross.yml wasm64-emsdk-cross-container: · line 81

Quoted 5 lines
.gitlab-ci.d/container-cross.yml +1 -1
@@ -78,4 +78,4 @@ wasm64-emsdk-cross-container:
   extends: .container_job_template
   variables:
     NAME: emsdk-wasm64-cross
-    DOCKERFILE: emsdk-wasm-cross
+    DOCKERFILE: emsdk-wasm64-cross

Drop this variable entirely, since it duplicates $NAME, which already sets the default value for DOCKERFILE.

Given that this naming divergance broke the CI job, we should also modify container-template.yml to revert all the changes that were introducd as part of 4203ea0247f

With regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|