Skip to contentSkip to conversation

gitlab-ci: Clone from GitLab itself

PATCH In review Philippe Mathieu-Daudé 3 participants 3 messages Oct 22, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gitlab-ci: Clone from GitLab itself

Let GitLab runners use GitLab repository directly.

---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)
.gitlab-ci.yml +1 -0
index 66ad7aa5c22..ba77af51f2f 100644
@@ -24,6 +24,7 @@ include:
   image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
   before_script:
     - JOBS=$(expr $(nproc) + 1)
+    - sed -i s,git.qemu.org/git,gitlab.com/qemu-project, .gitmodules
   script:
     - mkdir build
     - cd build
Signature · 1 line
2.26.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · Philippe Mathieu-Daudé

Let GitLab runners use GitLab repository directly.

---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)
.gitlab-ci.yml +0 -0
index 66ad7aa5c22..ba77af51f2f 100644

.gitlab-ci.yml include: · line 30

Quoted 7 lines
.gitlab-ci.yml +1 -0
@@ -24,6 +24,7 @@ include:
   image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
   before_script:
     - JOBS=$(expr $(nproc) + 1)
+    - sed -i s,git.qemu.org/git,gitlab.com/qemu-project, .gitmodules
   script:
     - mkdir build
     - cd build

Good idea!

#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 1 line · Philippe Mathieu-Daudé

Let GitLab runners use GitLab repository directly.

Queued to testing/next, thanks.

Quoted 18 lines
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)
.gitlab-ci.yml +1 -0
index 66ad7aa5c22..ba77af51f2f 100644
@@ -24,6 +24,7 @@ include:
   image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:latest
   before_script:
     - JOBS=$(expr $(nproc) + 1)
+    - sed -i s,git.qemu.org/git,gitlab.com/qemu-project, .gitmodules
   script:
     - mkdir build
     - cd build
Signature · 1 line
Alex Bennée