[gjs: 1/2] CI: remove debug code from Docker images creation
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 1/2] CI: remove debug code from Docker images creation
- Date: Mon, 9 Jul 2018 16:18:30 +0000 (UTC)
commit adedb2dc591692fbf1af8b74833f7b0066d66bf5
Author: Claudio André <claudioandre br gmail com>
Date: Sun Jul 8 21:54:32 2018 -0300
CI: remove debug code from Docker images creation
Docker images creation should run only on schedules (never on normal
pushes.)
.gitlab-ci.yml | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c5cc0407..daf4af67 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -698,11 +698,8 @@ ppc64le:
- docker images
- docker login ${CI_REGISTRY} -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD}
- # Do not push (if requested)
- - |
- if [[ "${CI_PIPELINE_SOURCE}" == "schedule" || -n "${CI_COMMIT_MESSAGE##*[dont push]*}" ]]; then
- docker push $CI_REGISTRY_IMAGE
- fi
+ # Publish
+ - docker push $CI_REGISTRY_IMAGE
# Done
- *CI_footer
@@ -714,4 +711,3 @@ fedora.static-analysis:
DOCKER_DRIVER: overlay
DOCKERFILE: "test/extra/Dockerfile.fedora.static-analysis"
NAME: "fedora.static-analysis"
- CRON_TASK: "BUILD_CI_IMAGES"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]