From 20c6a152e2a69b737488ccff58c7ec170cada545 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Thu, 9 Nov 2023 08:13:45 +0100
Subject: [PATCH] All stages are now defines in the mixin template The Drupal
 pipeline validation moved into the .pre stage The Drupal check for updates
 moved to test stage

---
 private-modules.yml |  6 ------
 test-and-deploy.yml | 19 ++++---------------
 2 files changed, 4 insertions(+), 21 deletions(-)

diff --git a/private-modules.yml b/private-modules.yml
index 7bf03e1..e5f83a9 100644
--- a/private-modules.yml
+++ b/private-modules.yml
@@ -9,12 +9,6 @@ include:
   - remote: https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/includes/include.drupalci.variables.yml
   - remote: https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/includes/include.drupalci.workflows.yml
 
-stages:
-  - build
-  - validate
-  - test
-  - release
-
 default:
   tags:
     - default
diff --git a/test-and-deploy.yml b/test-and-deploy.yml
index cb95ded..5fad83a 100644
--- a/test-and-deploy.yml
+++ b/test-and-deploy.yml
@@ -13,17 +13,6 @@ include:
     rules:
       - if: '$STAGING == "no"'
 
-stages:
-  - validation
-  - execute
-  - buildprod
-  - build
-  - prepare
-  - test
-  - deploy
-  - finalize
-  - release
-
 Debug:
   stage: execute
   tags:
@@ -138,7 +127,7 @@ Debug:
     - drush cr
 
 .prerequisites:
-  stage: validation
+  stage: .pre
   tags:
     - default
   image: registry.lakedrops.com/docker/gitlab-drupal-ci/php-${PHP_MAJOR_VERSION}.${PHP_MINOR_VERSION}
@@ -650,7 +639,7 @@ Debug:
     - 'Build Theme'
 
 .createrelease:
-  stage: .post
+  stage: release
   tags:
     - default
   variables:
@@ -684,7 +673,7 @@ Debug:
       - $TRIGGERTASK
 
 .deployrelease:
-  stage: .post
+  stage: release
   tags:
     - default
   variables:
@@ -708,7 +697,7 @@ Debug:
     - if: $CI_PIPELINE_SOURCE == "schedule"
 
 .check4update:
-  stage: validation
+  stage: test
   tags:
     - default
   image: registry.lakedrops.com/docker/gitlab-drupal-ci/php-${PHP_MAJOR_VERSION}.${PHP_MINOR_VERSION}
-- 
GitLab