[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 13/13] gitlab-ci: do not use qemu-project Docker registry
From: |
Anton Johansson |
Subject: |
[PATCH v7 13/13] gitlab-ci: do not use qemu-project Docker registry |
Date: |
Fri, 17 Dec 2021 10:01:29 +0100 |
From: Alessandro Di Federico <ale@rev.ng>
This commit is necessary in order to use container built by the current
run of the CI. If we don't do this, we use official containers which are
not affected by the additional dependencies we're introducing.
This should be considered as a temporary solution in order to test this
patchset.
Signed-off-by: Alessandro Di Federico <ale@rev.ng>
---
.gitlab-ci.d/container-cross.yml | 2 +-
.gitlab-ci.d/container-template.yml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml
index a3b5b90552..07531965da 100644
--- a/.gitlab-ci.d/container-cross.yml
+++ b/.gitlab-ci.d/container-cross.yml
@@ -63,7 +63,7 @@ hexagon-cross-container:
- docker:dind
before_script:
- export TAG="$CI_REGISTRY_IMAGE/qemu/$NAME:latest"
- - export COMMON_TAG="$CI_REGISTRY/qemu-project/qemu/qemu/$NAME:latest"
+ - export COMMON_TAG="$CI_REGISTRY_IMAGE/qemu/$NAME:latest"
- docker info
- docker login $CI_REGISTRY -u "$CI_REGISTRY_USER" -p
"$CI_REGISTRY_PASSWORD"
script:
diff --git a/.gitlab-ci.d/container-template.yml
b/.gitlab-ci.d/container-template.yml
index 1baecd9460..c85ae377b8 100644
--- a/.gitlab-ci.d/container-template.yml
+++ b/.gitlab-ci.d/container-template.yml
@@ -5,7 +5,7 @@
- docker:dind
before_script:
- export TAG="$CI_REGISTRY_IMAGE/qemu/$NAME:latest"
- - export COMMON_TAG="$CI_REGISTRY/qemu-project/qemu/$NAME:latest"
+ - export COMMON_TAG="$CI_REGISTRY_IMAGE/qemu/$NAME:latest"
- apk add python3
- docker info
- docker login $CI_REGISTRY -u "$CI_REGISTRY_USER" -p
"$CI_REGISTRY_PASSWORD"
@@ -14,7 +14,7 @@
- echo "COMMON_TAG:$COMMON_TAG"
- ./tests/docker/docker.py --engine docker build
-t "qemu/$NAME" -f "tests/docker/dockerfiles/$NAME.docker"
- -r $CI_REGISTRY/qemu-project/qemu
+ -r $CI_REGISTRY_IMAGE
- docker tag "qemu/$NAME" "$TAG"
- docker push "$TAG"
after_script:
--
2.33.1
- [PATCH v7 05/13] target/hexagon: introduce new helper functions, (continued)
- [PATCH v7 05/13] target/hexagon: introduce new helper functions, Anton Johansson, 2021/12/17
- [PATCH v7 07/13] target/hexagon: prepare input for the idef-parser, Anton Johansson, 2021/12/17
- [PATCH v7 01/13] target/hexagon: update MAINTAINERS for idef-parser, Anton Johansson, 2021/12/17
- [PATCH v7 12/13] target/hexagon: import additional tests, Anton Johansson, 2021/12/17
- [PATCH v7 13/13] gitlab-ci: do not use qemu-project Docker registry,
Anton Johansson <=
- [PATCH v7 10/13] target/hexagon: import parser for idef-parser, Anton Johansson, 2021/12/17