Improve apache usage

Created on 5 July 2023, almost 2 years ago

Problem/Motivation

In order to get #3357986: Use the apache thats on our image instead of the php webserver. β†’ working, a few things were made that could be improved, or at least, discussed.
The reasoning behind those is explained on the issue and it mirrors the way that things are done in drupalci.

Having said that, once the only CI system is gitlabCI, maybe we can discuss the following points:
1. The usage of sudo -u www-data -E to run phpunit and nightwatch tests. Used as suggested here: https://www.drupal.org/docs/automated-testing/phpunit-in-drupal/running-... β†’
2. The usage of chown -R www-data:www-data in the project folder so apache wouldn't throw any warnings.
3. The possibility of bypassing the apache configuration given by the image for a custom one, more specific to the GitlabCI setup and that uses the GitlabCI variables. See comment here: https://git.drupalcode.org/project/gitlab_templates/-/merge_requests/33#...

✨ Feature request
Status

Active

Component

gitlab-ci

Created by

πŸ‡ͺπŸ‡ΈSpain fjgarlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024