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
Commits
9625fe9e
Commit
9625fe9e
authored
8 months ago
by
danielspeicher
Browse files
Options
Downloads
Patches
Plain Diff
Document stages and jobs.
parent
afc38988
No related branches found
No related tags found
1 merge request
!22
Develop
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/gitlab/drupal/index.md
+26
-0
26 additions, 0 deletions
docs/gitlab/drupal/index.md
with
26 additions
and
0 deletions
docs/gitlab/drupal/index.md
+
26
−
0
View file @
9625fe9e
...
...
@@ -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
...
...
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