[neon/snap-packaging/plasma-core-desktop-snap/ci-prototype] debian: workflow.yml
Carlos De Maine
null at kde.org
Mon May 6 08:51:23 BST 2024
Git commit 3c0e72878dcfd6f082a4a998b54306b09f390b70 by Carlos De Maine.
Committed on 06/05/2024 at 07:51.
Pushed by carlosdem into branch 'ci-prototype'.
workflow.yml
M +2 -2 debian/.gitlab-ci-neon.yml
A +16 -0 debian/workflow.yml
https://invent.kde.org/neon/snap-packaging/plasma-core-desktop-snap/-/commit/3c0e72878dcfd6f082a4a998b54306b09f390b70
diff --git a/debian/.gitlab-ci-neon.yml b/debian/.gitlab-ci-neon.yml
index dac4ed9..fd66c74 100644
--- a/debian/.gitlab-ci-neon.yml
+++ b/debian/.gitlab-ci-neon.yml
@@ -3,6 +3,6 @@
include:
- project: sysadmin/ci-utilities
- - file: gitlab-templates/blocks/workflow.yml
- local: debian/snap-image-snapcraft-lxd-proto.yml
- - local: debian/snap-base-proto.yml
\ No newline at end of file
+ - local: debian/snap-base-proto.yml
+ - local: debain/workflow.yml
\ No newline at end of file
diff --git a/debian/workflow.yml b/debian/workflow.yml
new file mode 100644
index 0000000..e334664
--- /dev/null
+++ b/debian/workflow.yml
@@ -0,0 +1,16 @@
+stages:
+ - build
+ - test
+ - deploy
+ - publish
+
+workflow:
+ rules:
+ # Prevent branch pipelines if an MR is open on the branch.
+ - if: $CI_COMMIT_BRANCH && $CI_PIPELINE_SOURCE == "push" && $CI_OPEN_MERGE_REQUESTS
+ when: never
+ # Allow merge request pipelines.
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
+ # Build tags and branches too
+ - if: $CI_COMMIT_TAG
+ - if: $CI_COMMIT_BRANCH
\ No newline at end of file
More information about the Neon-commits
mailing list