[gnome-runtime-images/alatiera/debug] ci: add debug echos



commit 91ba937b4a8ebd77185e20dab7c13a6f0e3b1186
Author: Jordan Petridis <jpetridis gnome org>
Date:   Sun Apr 26 11:17:41 2020 +0300

    ci: add debug echos

 .gitlab-ci.yml | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82bd23f..50f658c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -75,8 +75,10 @@ flat-manager-client:
           buildah run $CONTAINER flatpak install --user --noninteractive \
                     org.gnome.Sdk//${BRANCH} org.gnome.Platform//${BRANCH}
 
-          buildah commit $CONTAINER ${CI_REGISTRY_IMAGE}/gnome:${BRANCH}
+          export $TAG=${CI_REGISTRY_IMAGE}/gnome:${BRANCH}
+          echo "Building $TAG"
 
+          buildah commit $CONTAINER $TAG
 
         # build the rust_bundle image
         - |
@@ -85,13 +87,19 @@ flat-manager-client:
           buildah run $CONTAINER flatpak install --user --noninteractive \
                     org.freedesktop.Sdk.Extension.rust-stable//${FD_BRANCH}
 
-          buildah commit $CONTAINER ${CI_REGISTRY_IMAGE}/rust_bundle:${BRANCH}
+          export $RUST TAG=${CI_REGISTRY_IMAGE}/rust_bundle:${BRANCH}
+          echo "Building $RUST_TAG"
+
+          buildah commit $CONTAINER $RUST_TAG
 
         # push only on master branch
         - |
           if [ $CI_COMMIT_REF_NAME == master ]; then
-              buildah push ${CI_REGISTRY_IMAGE}/gnome:${BRANCH}
-              buildah push ${CI_REGISTRY_IMAGE}/rust_bundle:${BRANCH}
+              echo "Pushing $TAG"
+              buildah push $TAG
+
+              echo "Pushing $RUST_TAG"
+              buildah push $RUST_TAG
           fi
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]