Normal view

Before yesterdayDrupal - Open Source Content Platform | #Celebr8D8

Is deploying with an artifact repository still state of the art?

We once had a consultation with a Drupal Agency when we moved from D7 to D9. They explained to us that "blt artifact deploy" can be used to fill a git repository that is then copied to the server for hosting using CI/CD.

With BLT not being maintained anymore, what's the successor for this kind of workflow? Is there a replacement to handle this? Should it be done on a per project basis and artifact deploy isn't a valid approach anymore?

Would like to get some insight on how others do this and appreciate any feedback or hints to tooling or workflow to learn.

submitted by /u/splatterb0y
[link] [comments]

Deploying Drupal with Docker and Gitlab CI

Hello fellow Drupal Users,

I currently working on a DevOps flow for our Drupal deployments. There is a template available I based my work on:
https://github.com/dunglas/frankenphp-drupal/blob/main/Dockerfile

My idea was to use frankenphp to create a Container that can be spun up on the appropriate server. I have finished the gitlab-ci.yml and it builds.

I am doing heavy multisite (50+ sites). I want to mount the sites directory from the current environment into the container. This works pretty well, except for when files are changed. (For example settings.php is changed.)
Is there something I can do so frankenphp catches file change without restarting?

The whole codebase is freshly installed using composer and copied into the container. I was unable to use ssh-links inside my composer.json (I was unable to make SSHing from the build container to my Gitlab work) and instead opted to use https-links that are supplied a CI-Token using buildkit.

Is this a viable way to ship containerized drupal? Are there templates or tools out there I can learn from or any best practices or experiences you want to share?

submitted by /u/splatterb0y
[link] [comments]
❌
❌