[PATCH] gitlab-ci: Clone from GitLab itself

Philippe Mathieu-Daudé posted 1 patch 3 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201022123302.2884788-1-philmd@redhat.com
.gitlab-ci.yml | 1 +
1 file changed, 1 insertion(+)
[PATCH] gitlab-ci: Clone from GitLab itself
Posted by Philippe Mathieu-Daudé 3 years, 6 months ago
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
-- 
2.26.2

Re: [PATCH] gitlab-ci: Clone from GitLab itself
Posted by Thomas Huth 3 years, 6 months ago
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>


Re: [PATCH] gitlab-ci: Clone from GitLab itself
Posted by Alex Bennée 3 years, 6 months ago
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