diff mbox series

gitlab-ci: Clone from GitLab itself

Message ID 20201022123302.2884788-1-philmd@redhat.com
State Superseded
Headers show
Series gitlab-ci: Clone from GitLab itself | expand

Commit Message

Philippe Mathieu-Daudé Oct. 22, 2020, 12:33 p.m. UTC
Let GitLab runners use GitLab repository directly.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Huth Oct. 22, 2020, 1 p.m. UTC | #1
On 22/10/2020 14.33, Philippe Mathieu-Daudé wrote:
> Let GitLab runners use GitLab repository directly.

> 

> Suggested-by: Paolo Bonzini <pbonzini@redhat.com>

> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> ---

>  .gitlab-ci.yml | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml

> index 66ad7aa5c22..ba77af51f2f 100644

> --- a/.gitlab-ci.yml

> +++ b/.gitlab-ci.yml

> @@ -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!

Reviewed-by: Thomas Huth <thuth@redhat.com>
Alex Bennée Oct. 22, 2020, 7:34 p.m. UTC | #2
Philippe Mathieu-Daudé <philmd@redhat.com> writes:

> Let GitLab runners use GitLab repository directly.


Queued to testing/next, thanks.

> Suggested-by: Paolo Bonzini <pbonzini@redhat.com>

> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> ---

>  .gitlab-ci.yml | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml

> index 66ad7aa5c22..ba77af51f2f 100644

> --- a/.gitlab-ci.yml

> +++ b/.gitlab-ci.yml

> @@ -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



-- 
Alex Bennée
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 66ad7aa5c22..ba77af51f2f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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