Skip to contentSkip to conversation

gitlab: Add missing job -> container dependencies

PATCH In review Philippe Mathieu-Daudé 5 participants 12 messages Mar 3, 2021

lore
Share & tools
lore
#0 lore raw

cover gitlab: Add missing job -> container dependencies

Following up Daniel's "fix build failures from incorrectly skipped container build jobs" effort (merged).

Philippe Mathieu-Daudé (3):
docker: Alpine build job depends on Alpine container
docker: EDK2 build job depends on EDK2 container
docker: OpenSBI build job depends on OpenSBI container

 .gitlab-ci.d/edk2.yml    | 1 +
 .gitlab-ci.d/opensbi.yml | 1 +
 .gitlab-ci.yml           | 2 ++
 3 files changed, 4 insertions(+)
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/3 docker: Alpine build job depends on Alpine container

Add missing dependency build-system-alpine -> amd64-alpine-container.

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
.gitlab-ci.yml +2 -0
index 8b6d495288d..84eb4b0e5f0 100644
@@ -76,6 +76,8 @@ include:
 
 build-system-alpine:
   <<: *native_build_job_definition
+  needs:
+    - job: amd64-alpine-container
   variables:
     IMAGE: alpine
     TARGETS: aarch64-softmmu alpha-softmmu cris-softmmu hppa-softmmu
Signature · 1 line
2.26.2
Reviewed-by on v1 1/3
#2 lore raw

Re: [PATCH 1/3] docker: Alpine build job depends on Alpine container

Quoted 12 lines · Philippe Mathieu-Daudé

Add missing dependency build-system-alpine -> amd64-alpine-container.

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
.gitlab-ci.yml +0 -0
index 8b6d495288d..84eb4b0e5f0 100644

.gitlab-ci.yml include: · line 83

Quoted 8 lines
.gitlab-ci.yml +2 -0
@@ -76,6 +76,8 @@ include:
 
 build-system-alpine:
   <<: *native_build_job_definition
+  needs:
+    - job: amd64-alpine-container
   variables:
     IMAGE: alpine
     TARGETS: aarch64-softmmu alpha-softmmu cris-softmmu hppa-softmmu

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 :|
#4 lore raw

PATCH 2/3 docker: EDK2 build job depends on EDK2 container

In reply to Philippe Mathieu-Daudé

Add missing dependency build-edk2 -> docker-edk2.

---
 .gitlab-ci.d/edk2.yml | 1 +
 1 file changed, 1 insertion(+)
.gitlab-ci.d/edk2.yml +1 -0
index e1e04524166..ba7280605c4 100644
@@ -25,6 +25,7 @@ docker-edk2:
 
 build-edk2:
  stage: build
+ needs: ['docker-edk2']
  rules: # Only run this job when ...
  - changes: # ... roms/edk2/ is modified (submodule updated)
    - roms/edk2/*
Signature · 1 line
2.26.2
Reviewed-by on v1 2/3
#5 lore raw

Re: [PATCH 2/3] docker: EDK2 build job depends on EDK2 container

Quoted 12 lines · Philippe Mathieu-Daudé

Add missing dependency build-edk2 -> docker-edk2.

---
 .gitlab-ci.d/edk2.yml | 1 +
 1 file changed, 1 insertion(+)
.gitlab-ci.d/edk2.yml +0 -0
index e1e04524166..ba7280605c4 100644

.gitlab-ci.d/edk2.yml docker-edk2: · line 31

Quoted 7 lines
.gitlab-ci.d/edk2.yml +1 -0
@@ -25,6 +25,7 @@ docker-edk2:
 
 build-edk2:
  stage: build
+ needs: ['docker-edk2']
  rules: # Only run this job when ...
  - changes: # ... roms/edk2/ is modified (submodule updated)
    - roms/edk2/*

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 :|
Acked-by on v1 2/3
#6 lore raw

Re: [PATCH 2/3] docker: EDK2 build job depends on EDK2 container

In reply to Philippe Mathieu-Daudé
Quoted 13 lines · Philippe Mathieu-Daudé

Add missing dependency build-edk2 -> docker-edk2.

---
 .gitlab-ci.d/edk2.yml | 1 +
 1 file changed, 1 insertion(+)
.gitlab-ci.d/edk2.yml +0 -0
index e1e04524166..ba7280605c4 100644

.gitlab-ci.d/edk2.yml docker-edk2: · line 31

Quoted 7 lines
.gitlab-ci.d/edk2.yml +1 -0
@@ -25,6 +25,7 @@ docker-edk2:
 
 build-edk2:
  stage: build
+ needs: ['docker-edk2']
  rules: # Only run this job when ...
  - changes: # ... roms/edk2/ is modified (submodule updated)
    - roms/edk2/*
#8 lore raw

PATCH 3/3 docker: OpenSBI build job depends on OpenSBI container

In reply to Philippe Mathieu-Daudé

Add missing dependency build-opensbi -> docker-opensbi.

---
 .gitlab-ci.d/opensbi.yml | 1 +
 1 file changed, 1 insertion(+)
.gitlab-ci.d/opensbi.yml +1 -0
index 5b13047e2ab..f66cd1d9089 100644
@@ -25,6 +25,7 @@ docker-opensbi:
 
 build-opensbi:
  stage: build
+ needs: ['docker-opensbi']
  rules: # Only run this job when ...
  - changes: # ... roms/opensbi/ is modified (submodule updated)
    - roms/opensbi/*
Signature · 1 line
2.26.2
Reviewed-by on v1 3/3
#9 lore raw

Re: [PATCH 3/3] docker: OpenSBI build job depends on OpenSBI container

Quoted 12 lines · Philippe Mathieu-Daudé

Add missing dependency build-opensbi -> docker-opensbi.

---
 .gitlab-ci.d/opensbi.yml | 1 +
 1 file changed, 1 insertion(+)
.gitlab-ci.d/opensbi.yml +0 -0
index 5b13047e2ab..f66cd1d9089 100644

.gitlab-ci.d/opensbi.yml docker-opensbi: · line 31

Quoted 7 lines
.gitlab-ci.d/opensbi.yml +1 -0
@@ -25,6 +25,7 @@ docker-opensbi:
 
 build-opensbi:
  stage: build
+ needs: ['docker-opensbi']
  rules: # Only run this job when ...
  - changes: # ... roms/opensbi/ is modified (submodule updated)
    - roms/opensbi/*

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 :|
#11 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 8 lines · Philippe Mathieu-Daudé

Following up Daniel's "fix build failures from incorrectly skipped container build jobs" effort (merged).

Philippe Mathieu-Daudé (3):
docker: Alpine build job depends on Alpine container
docker: EDK2 build job depends on EDK2 container
docker: OpenSBI build job depends on OpenSBI container

Quoted 5 lines
  .gitlab-ci.d/edk2.yml    | 1 +
  .gitlab-ci.d/opensbi.yml | 1 +
  .gitlab-ci.yml           | 2 ++
  3 files changed, 4 insertions(+)

Thanks, queued now to my testing-next branch:

https://gitlab.com/thuth/qemu/-/commits/testing-next/

Thomas