[neon/snap-packaging/qt6-snap-runtime] debian: ready to build

Carlos De Maine null at kde.org
Thu Apr 18 07:35:04 BST 2024


Git commit cfa6cc0009ce399780473b7cd31111cd90e5a99c by Carlos De Maine.
Committed on 18/04/2024 at 06:35.
Pushed by carlosdem into branch 'master'.

ready to build

M  +5    -85   debian/.gitlab-ci-neon.yml

https://invent.kde.org/neon/snap-packaging/qt6-snap-runtime/-/commit/cfa6cc0009ce399780473b7cd31111cd90e5a99c

diff --git a/debian/.gitlab-ci-neon.yml b/debian/.gitlab-ci-neon.yml
index c144a92..ae7d700 100644
--- a/debian/.gitlab-ci-neon.yml
+++ b/debian/.gitlab-ci-neon.yml
@@ -1,88 +1,8 @@
+# SPDX-FileCopyrightText: none
+# SPDX-License-Identifier: CC0-1.0
+
 include:
   - project: sysadmin/ci-utilities
     file:
-      - /gitlab-templates/blocks/workflow.yml
-
-snapcraft:
-  rules:
-  stage: build
-  tags:
-    - Snap
-  variables:
-    KDE_SNAP_BUILD_TYPE:
-      value: "destructive"
-    options:
-      destructive
-      lxc
-      image-dangerous
-      image-signed
-    description: "The Snap build. Set to 'destructive' by default."
-    KDE_SNAP_MODULE_NAME: ${CI_PROJECT_NAME}
-    KDE_SNAP_BUILD_PIPELINE_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
-    - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode
-    - echo $SNAPCRAFT_STORE_CREDENTIALS
-
-snapcraft_destructive:
-  extends: snapcraft
-  inherit:
-    default: true
-  rules:
-    - if: $KDE_SNAP_BUILD_TYPE == "destructive"
-      interruptible: false  # Override interruptible defined at the job level.
-    - when: on_success
-  script:
-    - echo $SNAPCRAFT_STORE_CREDENTIALS
-    - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode
-    - snapcraft whoami
-    - snapcraft --destructive
-  interruptible: true
-
-snapcraft_lxc:
-  extends: snapcraft
-  inherit:
-    default: true
-  rules:
-    - if: $KDE_SNAP_BUILD_TYPE == "lxc"
-      interruptible: false  # Override interruptible defined at the job level.
-    - when: on_success
-  script:
-    - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode ...
-    - snapcraft whoami
-    - snapcraft --lxc
-  interruptible: true
-
-ubuntu_image_dangerous:
-  extends: snapcraft
-  inherit:
-    default: true
-  rules:
-    - if: '$KDE_SNAP_BUILD_TYPE == "image-dangerous"'
-      interruptible: false  # Override interruptible defined at the job level.
-    - when: on_success
-  script:
-    - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode ...
-    - snapcraft whoami
-    - make dangerous
-  interruptible: true
-  
-ubuntu_image_signed:
-  extends: snapcraft
-  inherit:
-    default: true
-  rules:
-    - if: $KDE_SNAP_BUILD_TYPE == "image-signed"
-      interruptible: false  # Override interruptible defined at the job level.
-    - when: on_success
-  script:
-    - echo building $KDE_SNAP_MODULE_NAME in $KDE_SNAP_BUILD_TYPE mode ...
-    - snapcraft whoami
-    - make signed
-  interruptible: true
\ No newline at end of file
+      - /gitlab-templates/snap-snapcraft-destructive.yml
+      - /gitlab-templates/snap-snapcraft-lxd.yml


More information about the Neon-commits mailing list