Gitlab CI Drupal 8 example

https://guillaumeduveau.com/fr/drupal/8/integration-continue-gitlab-ci-ansible

General concepts of running gitlab ci.

1. Install gitlab runner on a server
You will be asked to give a url and a token
You can take it from your account -> settings -> ci-cd -> Runners
Gitlab will use this token to make a api call to run the runner.

2. Generate a private key  in the server and use that as a variable SSH_PRIVATE_KEY in your account -> settings -> ci-cd -> Variables

Comments

Popular posts from this blog

Programatically create layout builder section in Drupal

Code quality analysis of Drupal. Can I use Sonar?

Set up Drupal7 to Drupal8 migration in simple steps (using Drush)