[citemplates: 2/3] Use new .pre and .post predefined stages
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [citemplates: 2/3] Use new .pre and .post predefined stages
- Date: Mon, 2 Dec 2019 15:11:52 +0000 (UTC)
commit 70996b9c3985709ab8700f7948be9ac620e1943e
Author: Jordan Petridis <jpetridis gnome org>
Date: Mon Dec 2 16:50:40 2019 +0200
Use new .pre and .post predefined stages
These new stages are predefined and guaranted to exist for
every pipeline, allowing downstream pipepilines to freely
define their stages. Previously we were using default
stages, which could potentially be overwritten.
https://docs.gitlab.com/ee/ci/yaml/#pre-and-post
flatpak/flatpak-ci-initiative-sdk-extensions.yml | 8 ++++----
flatpak/flatpak_ci_initiative.yml | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/flatpak/flatpak-ci-initiative-sdk-extensions.yml
b/flatpak/flatpak-ci-initiative-sdk-extensions.yml
index aa1e874..301f003 100644
--- a/flatpak/flatpak-ci-initiative-sdk-extensions.yml
+++ b/flatpak/flatpak-ci-initiative-sdk-extensions.yml
@@ -2,7 +2,7 @@
# extension. Use `flatpak_ci_initiative.yml` for everything else.
.flatpak:
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
- stage: 'test'
+ stage: '.pre'
script:
- flatpak-builder --stop-at=${FLATPAK_MODULE} flatpak_app ${MANIFEST_PATH}
# Make sure to keep this in sync with the Flatpak manifest, all arguments
@@ -88,7 +88,7 @@
- '.flatpak-builder/git'
.review:
- stage: 'deploy'
+ stage: '.post'
script:
- echo "This job has been deprecated and is no longer needed!"
except:
@@ -98,7 +98,7 @@
- 'branches'
.stop_review:
- stage: 'deploy'
+ stage: '.post'
script:
- echo "This job has been deprecated and is no longer needed!"
except:
@@ -109,7 +109,7 @@
.publish_nightly:
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/flat-manager-client'
- stage: 'deploy'
+ stage: '.post'
script:
- BUILD_ID=$(flat-manager-client create ${FLAT_MANAGER_URL} ${FLATPAK_REPO})
- flat-manager-client push --commit --publish --wait ${BUILD_ID} repo/ || result=$?
diff --git a/flatpak/flatpak_ci_initiative.yml b/flatpak/flatpak_ci_initiative.yml
index 1206e19..12205bf 100644
--- a/flatpak/flatpak_ci_initiative.yml
+++ b/flatpak/flatpak_ci_initiative.yml
@@ -1,6 +1,6 @@
.flatpak:
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
- stage: 'test'
+ stage: '.pre'
script:
- flatpak-builder --stop-at=${FLATPAK_MODULE} flatpak_app ${MANIFEST_PATH}
# Make sure to keep this in sync with the Flatpak manifest, all arguments
@@ -85,7 +85,7 @@
- '.flatpak-builder/git'
.review:
- stage: 'deploy'
+ stage: '.post'
script:
- echo "This job has been deprecated and is no longer needed!"
except:
@@ -95,7 +95,7 @@
- 'branches'
.stop_review:
- stage: 'deploy'
+ stage: '.post'
script:
- echo "This job has been deprecated and is no longer needed!"
except:
@@ -106,7 +106,7 @@
.publish_nightly:
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/flat-manager-client'
- stage: 'deploy'
+ stage: '.post'
script:
- BUILD_ID=$(flat-manager-client create ${FLAT_MANAGER_URL} ${FLATPAK_REPO})
- flat-manager-client push --commit --publish --wait ${BUILD_ID} repo/ || result=$?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]