drupalSite-operator merge requestshttps://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests2024-03-22T10:05:11+01:00https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/214Automation of putting Drupal clones behind SSO2024-03-22T10:05:11+01:00Vasvi SharmaAutomation of putting Drupal clones behind SSOVasvi SharmaVasvi Sharmahttps://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/213Enforcing LoA5 through cern_registered role2024-03-21T10:07:20+01:00Francisco Borges Aurindo BarrosEnforcing LoA5 through cern_registered role/closes https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/issues/94/closes https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/issues/94https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/212Added flag for WebDav support with SSO Proxy2024-01-29T14:22:53+01:00Francisco Borges Aurindo BarrosAdded flag for WebDav support with SSO ProxyCloses https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/issues/93
We add to the ignore regex "webdav".
Note that anything on the website that includes "webdav" will also be ignored, so a potential exploit is to have a page wit...Closes https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/issues/93
We add to the ignore regex "webdav".
Note that anything on the website that includes "webdav" will also be ignored, so a potential exploit is to have a page with "webdav".
This exploit would require to be intentionally triggered by a content creator and is unlikely the will know, just a point to be taken into consideration.https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/211Clone job: increase memory limit (OOMKilled)2024-03-21T10:12:07+01:00Carina AntunesClone job: increase memory limit (OOMKilled)Clone jobs might fail due to OOMKilled occasionally.
This MR adds that configuration, thus avoiding such errors.Clone jobs might fail due to OOMKilled occasionally.
This MR adds that configuration, thus avoiding such errors.Carina AntunesCarina Antuneshttps://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/210Revert "Merge branch 'revert-b20d7ac8' into 'master'"2023-10-17T18:49:23+02:00Carina AntunesRevert "Merge branch 'revert-b20d7ac8' into 'master'"This reopens revert merge request !209
php-fpm logs:
```
+ LIVENESS_PROBE_FAILURE_FILE=/var/run/liveness_probe_failure
+ '[' -f /var/run/liveness_probe_failure ]
+ exec php-fpm
+ drush state-get system.cron_key '--format=string'
[17-Oc...This reopens revert merge request !209
php-fpm logs:
```
+ LIVENESS_PROBE_FAILURE_FILE=/var/run/liveness_probe_failure
+ '[' -f /var/run/liveness_probe_failure ]
+ exec php-fpm
+ drush state-get system.cron_key '--format=string'
[17-Oct-2023 16:45:08] ERROR: [/usr/local/etc/php-fpm.d/zz-docker.conf:12] unknown entry 'error_log_format'
[17-Oct-2023 16:45:08] ERROR: Unable to include /usr/local/etc/php-fpm.d/zz-docker.conf from /usr/local/etc/php-fpm.conf at line 12
[17-Oct-2023 16:45:08] ERROR: failed to load configuration file '/usr/local/etc/php-fpm.conf'
[17-Oct-2023 16:45:08] ERROR: FPM initialization failed
```Francisco Borges Aurindo BarrosFrancisco Borges Aurindo Barroshttps://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/209Revert "Merge branch 'improve-php-logs' into 'master'"2023-10-17T18:48:24+02:00Carina AntunesRevert "Merge branch 'improve-php-logs' into 'master'"This reverts merge request !203This reverts merge request !203https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/208Fix test pipeline: Upgrade to Golang 1.212023-10-17T20:12:41+02:00Carina AntunesFix test pipeline: Upgrade to Golang 1.21Carina AntunesCarina Antuneshttps://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/207[#92] Add SSO proxy2024-01-11T15:34:55+01:00Carina Antunes[#92] Add SSO proxyhttps://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/206Drupal 10: update forms descriptions and values2023-10-18T10:05:53+02:00Carina AntunesDrupal 10: update forms descriptions and valuesCarina AntunesCarina Antuneshttps://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/205Clone job: increase memory limit (OOMKilled)2023-10-18T10:06:18+02:00Francisco Borges Aurindo BarrosClone job: increase memory limit (OOMKilled)Clone jobs might fail due to OOMKilled occasionally, one reason is due to lack of setting memory request and limit to clone files container.
This MR adds that configuration, thus avoiding such errors.Clone jobs might fail due to OOMKilled occasionally, one reason is due to lack of setting memory request and limit to clone files container.
This MR adds that configuration, thus avoiding such errors.https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/204WIP: Have automatic backups before processing deletion2024-03-26T12:02:42+01:00Francisco Borges Aurindo BarrosWIP: Have automatic backups before processing deletionThis MR will create and wait for a final backup of an instance before processing the deletion.
Part of issue: https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/issues/90This MR will create and wait for a final backup of an instance before processing the deletion.
Part of issue: https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/issues/90https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/203Improve PHP-FPM logs2023-10-17T18:47:47+02:00Francisco Borges Aurindo BarrosImprove PHP-FPM logsHave `php-fpm` logs with timestamps.Have `php-fpm` logs with timestamps.https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/202Make operator resilient to registry failure2024-03-27T09:33:36+01:00Francisco Borges Aurindo BarrosMake operator resilient to registry failureWith the upcoming [Gitlab OTG](bhttps://cern.service-now.com/service-portal?id=outage&n=OTG0078282) coming, considerations towards how we handle image pulling were discussed between me and @jhensche .
This MR comes as a proposal of imp...With the upcoming [Gitlab OTG](bhttps://cern.service-now.com/service-portal?id=outage&n=OTG0078282) coming, considerations towards how we handle image pulling were discussed between me and @jhensche .
This MR comes as a proposal of improvement to avoid application downtime due to container registry unavailability, by using a default pulling that will take advantage of the node cached image, and only resort to pull the image when not available in the node.
Part of https://gitlab.cern.ch/drupal/paas/cern-drupal-distribution/-/issues/19
Part of https://gitlab.cern.ch/drupal/overview/-/issues/10https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/201Have new ExtraRepo field have priority over the deprecated one2023-07-12T10:08:36+02:00Francisco Borges Aurindo BarrosHave new ExtraRepo field have priority over the deprecated oneMake new S2I field overwrite the old one, as it is deprecated and should take precedence over it.
Part of https://gitlab.cern.ch/drupal/paas/cern-drupal-distribution/-/issues/19Make new S2I field overwrite the old one, as it is deprecated and should take precedence over it.
Part of https://gitlab.cern.ch/drupal/paas/cern-drupal-distribution/-/issues/19https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/200Remove ip_whitelist function from the DrupalSite Operator2023-05-09T15:59:38+02:00Francisco Borges Aurindo BarrosRemove ip_whitelist function from the DrupalSite Operatorhttps://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/199Removing access logs on PHP-FPM2023-04-25T10:05:40+02:00Francisco Borges Aurindo BarrosRemoving access logs on PHP-FPMCoupled with:
- https://gitlab.cern.ch/drupal/paas/cern-drupal-distribution/-/merge_requests/175
- https://gitlab.cern.ch/drupal/paas/cern-drupal-distribution/-/merge_requests/176
Goal: Stop logging unnecessary access logs on php-fpm, t...Coupled with:
- https://gitlab.cern.ch/drupal/paas/cern-drupal-distribution/-/merge_requests/175
- https://gitlab.cern.ch/drupal/paas/cern-drupal-distribution/-/merge_requests/176
Goal: Stop logging unnecessary access logs on php-fpm, these do not present any value but create logs which are stored on ES, occupying needed space.
Example access log from php-fpm:
```
+0000 "GET /_site/_php-fpm-status" 200
+0000 "GET /_site/_php-fpm-status" 200
+0000 "GET /_site/_php-fpm-status" 200
+0000 "GET /_site/_php-fpm-status" 200
+0000 "GET /index.php" 204
```https://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/198Standardize project blocking label2023-01-25T10:39:10+01:00Jack Henscheljack.henschel@cern.chStandardize project blocking labelJack Henscheljack.henschel@cern.chJack Henscheljack.henschel@cern.chhttps://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/197Add tzdata module to load time locations2022-11-02T11:57:57+01:00Vineet Reddy RajulaAdd tzdata module to load time locationshttps://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/196Change clone labels to annotations2022-11-01T18:01:30+01:00Vineet Reddy RajulaChange clone labels to annotationsThis was causing inconsistencies because of restrictions on labels. Hence making them annotations insteadThis was causing inconsistencies because of restrictions on labels. Hence making them annotations insteadhttps://gitlab.cern.ch/drupal/paas/drupalsite-operator/-/merge_requests/195update version.name in clusterserviceversion2022-11-25T09:14:57+01:00Carina Antunesupdate version.name in clusterserviceversionCarina AntunesCarina Antunes