[neon/ubuntu-core/ci-prototype] debian: try deploy

Carlos De Maine null at kde.org
Mon May 6 08:03:36 BST 2024


Git commit 309b33a50cf29b76b8f4f254ca04bc816cebd78d by Carlos De Maine.
Committed on 06/05/2024 at 07:03.
Pushed by carlosdem into branch 'ci-prototype'.

try deploy

M  +2    -1    debian/.gitlab-ci-neon.yml
A  +23   -0    debian/snap-base-proto.yml
M  +1    -1    debian/snap-image-dangerous-proto.yml

https://invent.kde.org/neon/ubuntu-core/-/commit/309b33a50cf29b76b8f4f254ca04bc816cebd78d

diff --git a/debian/.gitlab-ci-neon.yml b/debian/.gitlab-ci-neon.yml
index 3a2b102..40011d0 100644
--- a/debian/.gitlab-ci-neon.yml
+++ b/debian/.gitlab-ci-neon.yml
@@ -3,4 +3,5 @@
 
 include:
   - project: sysadmin/ci-utilities
-  - local: debian/snap-image-dangerous-proto.yml
\ No newline at end of file
+  - local: debian/snap-image-dangerous-proto.yml
+  - local: debian/snap-base-proto.yml
\ No newline at end of file
diff --git a/debian/snap-base-proto.yml b/debian/snap-base-proto.yml
new file mode 100644
index 0000000..9c36475
--- /dev/null
+++ b/debian/snap-base-proto.yml
@@ -0,0 +1,23 @@
+.snap_base:
+  stage: deploy
+  tags:
+    - Snap
+  variables:
+    KDE_SNAP_MODULE_NAME: ${CI_PROJECT_NAME}
+    SNAPCRAFT_BUILD_ENVIRONMENT: "host"
+    SNAPCRAFT_MANAGED_MODE: "y"
+  interruptible: true
+  before_script:
+    - git clone https://invent.kde.org/sysadmin/ci-utilities.git --depth=1
+    - git clone https://invent.kde.org/sysadmin/repo-metadata.git ci-utilities/repo-metadata/ --depth=1
+  script:
+    - git config --global --add safe.directory $CI_PROJECT_DIR
+  artifacts:
+    name: Snap artifacts
+    expose_as: 'KDE neon snaps'
+    when: always
+    paths:
+      - ".kde-ci-packages/"
+      - "task.log"
+      - "task-debug.log"
+    expire_in: 7 days
diff --git a/debian/snap-image-dangerous-proto.yml b/debian/snap-image-dangerous-proto.yml
index 1246f4e..5bd94f0 100644
--- a/debian/snap-image-dangerous-proto.yml
+++ b/debian/snap-image-dangerous-proto.yml
@@ -1,7 +1,7 @@
 include:
   - project: sysadmin/ci-utilities
     file:
-      - /gitlab-templates/blocks/snap-base.yml
+      #- /gitlab-templates/blocks/snap-base.yml
       - /gitlab-templates/blocks/workflow.yml
 
 snap_image_dangerous:


More information about the Neon-commits mailing list