Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drupal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitLab CI/CD
Drupal
Commits
2290e070
Commit
2290e070
authored
3 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Re-architect only/except restrictions
parent
b2316000
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lakedrops-execute.yml
+0
-3
0 additions, 3 deletions
lakedrops-execute.yml
lakedrops.yml
+11
-1
11 additions, 1 deletion
lakedrops.yml
test-and-deploy.yml
+1
-84
1 addition, 84 deletions
test-and-deploy.yml
with
12 additions
and
88 deletions
lakedrops-execute.yml
+
0
−
3
View file @
2290e070
...
...
@@ -38,6 +38,3 @@ Deploy:
Reset Locales
:
extends
:
'
.resetlocales'
Release
:
extends
:
'
.createrelease'
This diff is collapsed.
Click to expand it.
lakedrops.yml
+
11
−
1
View file @
2290e070
...
...
@@ -21,6 +21,9 @@ Validate Environment:
Check 4 Updates
:
extends
:
'
.check4update'
Release
:
extends
:
'
.createrelease'
LakeDrops
:
stage
:
execute
variables
:
...
...
@@ -29,10 +32,17 @@ LakeDrops:
RESETLOCALE
:
${RESETLOCALE}
DEPLOYSCRIPT
:
${DEPLOYSCRIPT}
VERSIONPATTERN
:
${VERSIONPATTERN}
only
:
!reference
[
.staging
,
only
]
trigger
:
include
:
-
project
:
'
gitlab-ci-cd/drupal'
ref
:
master
file
:
'
/lakedrops-execute.yml'
strategy
:
depend
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
This diff is collapsed.
Click to expand it.
test-and-deploy.yml
+
1
−
84
View file @
2290e070
...
...
@@ -173,6 +173,7 @@ stages:
VERSIONPATTERN=$(date +"cd-%Y-%m-%d-%H-%M")
echo "VERSIONPATTERN=${VERSIONPATTERN}" >> validation.env
only
:
!reference
[
.staging
,
only
]
except
:
variables
:
-
$CAE
...
...
@@ -199,14 +200,6 @@ stages:
name
:
build-prod
when
:
always
<<
:
*artifact_paths_prod
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
.build
:
stage
:
build
...
...
@@ -235,14 +228,8 @@ stages:
name
:
build
when
:
always
<<
:
*artifact_paths
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
-
$DISABLE_CI_TESTS
.theme
:
...
...
@@ -269,15 +256,9 @@ stages:
-
$THEME_CSS_PATH
dependencies
:
-
'
Build
Prod
Site'
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$THEME_BUILD != "yes"
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
.dumpdb
:
stage
:
build
...
...
@@ -295,16 +276,10 @@ stages:
when
:
always
paths
:
-
${CI_PROJECT_NAME}.sql
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$DBREQUIRED == "no"
-
$INITIALINSTALL == "yes"
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
-
$DISABLE_CI_TESTS
.importdb
:
...
...
@@ -322,16 +297,10 @@ stages:
-
drush updatedb
-
drush config-import
-
drush cr
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$DBREQUIRED == "no"
-
$INITIALINSTALL == "yes"
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
-
$DISABLE_CI_TESTS
dependencies
:
-
'
Build
Site'
...
...
@@ -349,16 +318,10 @@ stages:
-
drush updatedb
-
drush config-import
-
drush cr
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$DBREQUIRED != "no"
-
$INITIALINSTALL == "yes"
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
-
$DISABLE_CI_TESTS
dependencies
:
-
'
Build
Site'
...
...
@@ -382,15 +345,9 @@ stages:
-
phpcs.xml
dependencies
:
-
'
Build
Site'
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$INITIALINSTALL == "yes"
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
-
$DISABLE_CI_TESTS
-
$DISABLE_CI_TEST_CODESTYLE
...
...
@@ -418,15 +375,9 @@ stages:
junit
:
junit.xml
dependencies
:
-
'
Build
Site'
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$INITIALINSTALL == "yes"
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
-
$DISABLE_CI_TESTS
-
$DISABLE_CI_TEST_PHPUNIT
...
...
@@ -451,15 +402,9 @@ stages:
-
behat.xml
dependencies
:
-
'
Build
Site'
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$INITIALINSTALL == "yes"
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
-
$DISABLE_CI_TESTS
-
$DISABLE_CI_TEST_BEHAT
...
...
@@ -481,15 +426,9 @@ stages:
dependencies
:
-
'
Build
Site'
-
'
Build
Theme'
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$INITIALINSTALL == "yes"
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
-
$DISABLE_CI_TESTS
-
$DISABLE_CI_TEST_BACKSTOP
...
...
@@ -507,14 +446,6 @@ stages:
cache
:
{}
dependencies
:
-
'
Build
Theme'
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
.deployartefact
:
stage
:
deploy
...
...
@@ -531,14 +462,6 @@ stages:
dependencies
:
-
'
Build
Prod
Site'
-
'
Build
Theme'
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
.resetlocales
:
stage
:
finalize
...
...
@@ -549,15 +472,9 @@ stages:
script
:
-
ascr drupal-reset-locales ${CI_PROJECT_PATH} ${CI_COMMIT_REF_NAME}
cache
:
{}
only
:
!reference
[
.staging
,
only
]
except
:
refs
:
-
tags
variables
:
-
$RESETLOCALE == "no"
-
$CI_COMMIT_MESSAGE =~ /^Merge tag /i
-
$CAE
-
$CHECKUPDATES
.createrelease
:
stage
:
release
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment