OSDN Git Service

gitlab-ci: Clone from GitLab itself
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 22 Oct 2020 12:33:02 +0000 (14:33 +0200)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 27 Oct 2020 09:53:51 +0000 (09:53 +0000)
Let GitLab runners use GitLab repository directly.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201022123302.2884788-1-philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
.gitlab-ci.yml

index 5d6773e..3b15ae5 100644 (file)
@@ -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