diff --git a/docs/gitlab/drupal/index.md b/docs/gitlab/drupal/index.md index 8272b7ece6d6e77054d17dd0fa5fafd6308baa96..e04a303d997bf00b555111bfa73c4ae203453a4b 100644 --- a/docs/gitlab/drupal/index.md +++ b/docs/gitlab/drupal/index.md @@ -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