[neon/ubuntu-core/ago/generate-model-in-ci] debian: Debugging on pr-less branch

Antoine Gonzalez null at kde.org
Tue Jul 30 12:25:28 BST 2024


Git commit 7fa7ee9a0d9657f85f414f0b896bbdbff0360891 by Antoine Gonzalez.
Committed on 30/07/2024 at 11:25.
Pushed by daspood into branch 'ago/generate-model-in-ci'.

Debugging on pr-less branch

M  +3    -2    debian/snap-image-model.yml

https://invent.kde.org/neon/ubuntu-core/-/commit/7fa7ee9a0d9657f85f414f0b896bbdbff0360891

diff --git a/debian/snap-image-model.yml b/debian/snap-image-model.yml
index cc17064..006b523 100644
--- a/debian/snap-image-model.yml
+++ b/debian/snap-image-model.yml
@@ -35,7 +35,8 @@ snap_image_model:
     # copy the new model to the artifacts dir
     - cp -vf ./*.model  $CI_PROJECT_DIR/.kde-ci-packages/
     # push the new model to gitlab
-    - echo pushing new models to branch $CI_COMMIT_REF_NAME
+    - echo currently on branch $CI_COMMIT_BRANCH, pipeline source is $CI_PIPELINE_SOURCE
+    - echo pushing new models to ref $CI_COMMIT_REF_NAME
     - git config user.email "kde-neon-core-model-bot at kde.org"
     - git config user.name "kde-neon-core model-bot"
     - git add -f ./*.model
@@ -49,6 +50,6 @@ snap_image_model:
     - rm kde-neon-core-image-key
   rules:
     - if: $CI_COMMIT_BRANCH
-    #- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
+    #- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'  # Does not let us use secret variables
     - changes:
       - kde-neon-core-amd64.json  # Only re-generate the models when the base model json is changed


More information about the Neon-commits mailing list