Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
drupal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
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
Ansible
Roles
drupal
Compare revisions
fc92ffa9af339c46cd2473112248f8b7da3a43b2 to ea4be358769f2d6e7cf601520354adcf3c34268f
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
ansible/roles/drupal
Select target project
No results found
ea4be358769f2d6e7cf601520354adcf3c34268f
Select Git revision
Branches
2331-combine1
2331-combine1-from-master
2331-combine2
2331-combine2-from-master
2331-expressions-using-if
2838-cronjobs-per-host
2838-crontabs-collector
2861-path-password-protection-without-general-pw
2898-service-status
main
10 results
Swap
Target
ansible/roles/drupal
Select target project
ansible/roles/drupal
max/drupal
ericzillmann/drupal
3 results
fc92ffa9af339c46cd2473112248f8b7da3a43b2
Select Git revision
Branches
2331-combine1
2331-combine1-from-master
2331-combine2
2331-combine2-from-master
2331-expressions-using-if
2838-cronjobs-per-host
2838-crontabs-collector
2861-path-password-protection-without-general-pw
2898-service-status
main
10 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
gitlab-ci-cd/drupal#2
Move only dynamically generated drush files to the new site
· 5b4840d5
jurgenhaas
authored
4 years ago
5b4840d5
gitlab-ci-cd/drupal#2
Add support for first installation in artefact mode
· ea4be358
jurgenhaas
authored
4 years ago
ea4be358
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/finalize/artefact.yml
+25
-3
25 additions, 3 deletions
tasks/finalize/artefact.yml
with
25 additions
and
3 deletions
tasks/finalize/artefact.yml
View file @
ea4be358
...
...
@@ -3,12 +3,33 @@
-
block
:
-
name
:
Set facts
-
name
:
Set facts
for updates
set_fact
:
artefact_directories
:
-
src
:
'
{{
webRoot
}}/drush'
dest
:
'
{{
tempDeployRoot
}}/drush'
-
src
:
'
{{
webRoot
}}/drush
/drush.yml
'
dest
:
'
{{
tempDeployRoot
}}/drush
/drush.yml
'
reset
:
true
-
src
:
'
{{
webRoot
}}/drush/sites'
dest
:
'
{{
tempDeployRoot
}}/drush/sites'
reset
:
true
-
src
:
'
{{
webRoot
}}/files'
dest
:
'
{{
tempDeployRoot
}}/files'
reset
:
true
-
src
:
'
{{
webRoot
}}/settings'
dest
:
'
{{
tempDeployRoot
}}/settings'
reset
:
true
-
src
:
'
{{
webRoot
}}/web/sites/default'
dest
:
'
{{
tempDeployRoot
}}/web/sites/default'
reset
:
true
-
src
:
'
{{
webRoot
}}'
dest
:
'
{{
tempDeployRoot
}}-old'
-
src
:
'
{{
tempDeployRoot
}}'
dest
:
'
{{
webRoot
}}'
when
:
not drupal_first_installation
-
name
:
Set facts first installation
set_fact
:
artefact_directories
:
-
src
:
'
{{
webRoot
}}/files'
dest
:
'
{{
tempDeployRoot
}}/files'
reset
:
true
...
...
@@ -22,6 +43,7 @@
dest
:
'
{{
tempDeployRoot
}}-old'
-
src
:
'
{{
tempDeployRoot
}}'
dest
:
'
{{
webRoot
}}'
when
:
drupal_first_installation
-
name
:
Reset destination directories
file
:
...
...
This diff is collapsed.
Click to expand it.