summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2020-05-07 16:04:58 +0200
committerBenjamin Berg <bberg@redhat.com>2020-05-07 16:04:58 +0200
commit0052889e11ab0833694039405a554396901431ac (patch)
tree1cb1408a1733b4f2e8ad40ac62fdeb919c44f80a /.gitlab-ci.yml
parent01f3aa00d8ea13d71bcc12a9f1636aec9bfe6855 (diff)
downloadgnome-control-center-0052889e11ab0833694039405a554396901431ac.tar.gz
ci: Specify full registry path for forks
Otherwise forks will try to find the image in their own registry which cannot work.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml9
1 files changed, 2 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e5d9a6871..83c4445b5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,6 +7,7 @@ variables:
FDO_UPSTREAM_REPO: gnome/gnome-control-center
# Expiry sets fdo.expires on the image
FDO_EXPIRES_AFTER: 8w
+ FEDORA_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/fedora/$FDO_DISTRIBUTION_VERSION:$FDO_DISTRIBUTION_TAG"
# NOTES:
# - gobject-introspection-devel is needed for gsettings-desktop-schemas
FEDORA_DEPENDENCIES: >
@@ -58,6 +59,7 @@ variables:
mesa-dri-drivers
libsecret-devel
+image: "$FEDORA_IMAGE"
stages:
- build
@@ -102,7 +104,6 @@ stages:
# any of them.
##
build:
- extends: .fdo.distribution-image@fedora
<<: *save_untracked_files
stage: build
@@ -129,7 +130,6 @@ build:
# Runs the unit tests.
##
test:
- extends: .fdo.distribution-image@fedora
<<: *save_build_logs
stage: test
@@ -153,7 +153,6 @@ test:
# Runs the coverage test.
coverage:
- extends: .fdo.distribution-image@fedora
<<: *save_build_logs
stage: test
variables:
@@ -188,7 +187,6 @@ coverage:
# Publishes the Coverage Report generated above
##
pages:
- extends: .fdo.distribution-image@fedora
stage: deploy
dependencies:
- coverage
@@ -274,7 +272,6 @@ flatpak:
# Starts the Flatpak review process.
##
review:
- extends: .fdo.distribution-image@fedora
stage: review
dependencies:
- flatpak
@@ -305,7 +302,6 @@ review:
# Stops the Flatpak review process.
##
stop_review:
- extends: .fdo.distribution-image@fedora
stage: review
script:
- echo "Stopping flatpak deployment"
@@ -319,7 +315,6 @@ stop_review:
# Runs the sanitizers [address, thread, undefined, and memory].
.sanitizer: &sanitizer
- extends: .fdo.distribution-image@fedora
<<: *save_build_logs
stage: manual
when: manual