Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
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
DevOps Tools
Documentation
Merge requests
!22
Develop
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Develop
develop
into
main
Overview
0
Commits
5
Pipelines
0
Changes
1
Merged
danielspeicher
requested to merge
develop
into
main
8 months ago
Overview
0
Commits
5
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
9625fe9e
Prev
Next
Show latest version
1 file
+
26
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
9625fe9e
Document stages and jobs.
· 9625fe9e
danielspeicher
authored
8 months ago
docs/gitlab/drupal/index.md
+
26
−
0
Options
@@ -130,6 +130,32 @@ The entire installation is saved as a build artefact called `build-prod` where a
#### Build Prod Site NG
First we have to do some preparation. This is done in the
`before_script`
section.
-
[
.prepareaccess
](
#prepareaccess
)
-
[
.preparecomposerplugins
](
#preparecomposerplugins
)
We start a docker image for php with the specifies versions:
-
`PHP_MAJOR_VERSION`
-
`PHP_MINOR_VERSION`
In the script part we install two of our LakeDrops modules:
-
[
lakedrops/drupal-environment
](
../../composer/plugin/drupal-environment
)
-
[
lakedrops/docker4drupal
](
../../composer/plugin/d4d
)
After that we execute:
-
`composer lakedrops:config`
-
`composer lakedrops:docker4drupal`
The entire installation is saved as a build artefact called
`build-prod-ng`
where all
`git`
files are excluded.
Rules, when the job should run:
-
`$DISABLE_DEPLOYMENT_LOCAL`
!= "1"
### Build
Here, we define jobs, which build the Drupal website and does some additional checks. This stage is
Loading