[citemplates] Revert "Use new .pre and .post predefined stages"



commit 5bffac6dfbd797291a90e705925a7a3973e4cc57
Author: Jordan Petridis <jordan centricular com>
Date:   Tue Mar 10 10:55:54 2020 +0200

    Revert "Use new .pre and .post predefined stages"
    
    This reverts commit 70996b9c3985709ab8700f7948be9ac620e1943e.
    
    If your pipeline only has jobs in the .pre and .post
    stages its considered empty and breaks our CI setup.
    This wasn't the original behavior, but rather it
    changed with the gitlab 12.8 release.
    
    https://gitlab.com/gitlab-org/gitlab/issues/198518
    
    https://gitlab.com/gitlab-org/gitlab/issues/198518

 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 78fc4ec..26423c0 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: '.pre'
+  stage: 'test'
   tags:
     - flatpak
   script:
@@ -44,7 +44,7 @@
       - '.flatpak-builder/git'
 
 .review:
-  stage: '.post'
+  stage: 'deploy'
   script:
     - echo "This job has been deprecated and is no longer needed!"
   except:
@@ -54,7 +54,7 @@
       - 'branches'
 
 .stop_review:
-  stage: '.post'
+  stage: 'deploy'
   script:
     - echo "This job has been deprecated and is no longer needed!"
   except:
@@ -65,7 +65,7 @@
 
 .publish_nightly:
   image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/flat-manager-client'
-  stage: '.post'
+  stage: 'deploy'
   script:
     - tar xf repo.tar
     - BUILD_ID=$(flat-manager-client create ${FLAT_MANAGER_URL} ${FLATPAK_REPO})
diff --git a/flatpak/flatpak_ci_initiative.yml b/flatpak/flatpak_ci_initiative.yml
index 2c48d77..b84bc07 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: '.pre'
+  stage: 'test'
   tags:
     - flatpak
   script:
@@ -88,7 +88,7 @@
       - '.flatpak-builder/git'
 
 .review:
-  stage: '.post'
+  stage: 'deploy'
   script:
     - echo "This job has been deprecated and is no longer needed!"
   except:
@@ -98,7 +98,7 @@
       - 'branches'
 
 .stop_review:
-  stage: '.post'
+  stage: 'deploy'
   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: '.post'
+  stage: 'deploy'
   script:
     - tar xf repo.tar
     - BUILD_ID=$(flat-manager-client create ${FLAT_MANAGER_URL} ${FLATPAK_REPO})


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]