Update images dependencies
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Carina Antunes added To do label
added To do label
- Carina Antunes changed the description
Compare with previous version changed the description
- Carina Antunes assigned to @cpetala
assigned to @cpetala
- Christina Petala removed To do label
removed To do label
- Christina Petala added In progress label
added In progress label
- Contributor
This change was implemented in dev10.2-0 branch (https://gitlab.cern.ch/drupal/paas/cern-drupal-distribution/-/tree/dev10.2-0) by following the steps described below:
Step1:
Updating the softwareVersions file by setting the following latest verions for nginx, nginxNJS, composer:
nginx: '1.26.0' nginxNJS: '0.8.4' composer: '2.7.6'
Job succeded
Step2:
Running manually the build-composer builder job to produce the composerBuilderTag.
In order for this to be executed succesfully the following changes were made to the Dockerfile-composerbuilder file:
- The packages php8-pecl-imagick and php8-mbstring were changed so as to be available from the alpine v3.19 repo:
php81-pecl-imagick php81-mbstring
- Also the KEY_SHA512 was changed accordingly due to a "key verification failed" error.
After these changes the composerbuilder job was executed succesfully (https://gitlab.cern.ch/drupal/paas/cern-drupal-distribution/-/jobs/39535307) and the following tag was produced:
So the final "softwareVersions" file was the following:
[cpetala@lxplus806 images]$ cat softwareVersions
php: '8.1-rc-fpm-alpine' # These values together define the version of nginx # Ref: https://github.com/nginxinc/docker-nginx/blob/master/stable/alpine/Dockerfile nginx: '1.26.0' nginxNJS: '0.8.4' # This value is used to build the composer-builder ONLY. # It will NOT affect the sitebuilder directly. composer: '2.7.6' # This is instead the version of the composer builder that the sitebuilder will use. composerBuilderTag: 'dev10.2-0-56d96fe2'
Finally the following lines needed to be added in the "Dockerfile-sitebuilder" for the succesfull execution of the sitebuilder:
The final image produced was tested in my site https://mysite.web.cern.ch
version: name: dev10.2-0 releaseSpec: 1aef895a
[cpetala@lxplus806 mysite]$ kubectl exec -it mysite-5bc6c48458-wptbz -c php-fpm -- sh /app $ composer --version **Composer version 2.7.6** 2024-05-04 23:03:15 PHP version 8.1.27RC1 (/usr/local/bin/php)
[cpetala@lxplus806 mysite]$ kubectl exec -it mysite-5bc6c48458-wptbz -c nginx -- sh /app $ nginx -v nginx version: **nginx/1.26.0** /app $ njs -v **0.8.4**
- Carina Antunes mentioned in merge request !254 (merged)
mentioned in merge request !254 (merged)
- Christina Petala mentioned in commit 1ce10d22
mentioned in commit 1ce10d22
- Vasvi Sharma mentioned in commit 101d1c96
mentioned in commit 101d1c96
- Christina Petala added On hold label
added On hold label
- Christina Petala removed In progress label
removed In progress label
- Christina Petala removed On hold label
removed On hold label
- Christina Petala added To release label
added To release label
- Contributor
Merge request !254 (merged) approved, closing this issue out as completed.
fyi @crdeoliv
- Christina Petala closed
closed
- Christina Petala removed To release label
removed To release label
- Christina Petala added To release label
added To release label
- Christina Petala removed To release label
removed To release label
- Christina Petala mentioned in issue #39 (closed)
mentioned in issue #39 (closed)
- Christina Petala marked this issue as related to #39 (closed)
marked this issue as related to #39 (closed)