CI/CD with Gitlab Runner and Docker-Compose

Channel:
Subscribers:
25,200
Published on ● Video Link: https://www.youtube.com/watch?v=RV0845KmsNI



Category:
Tutorial
Duration: 16:32
136,949 views
1,371


Blog : https://medium.com/@sean_bradley/auto-devops-with-gitlab-ci-and-docker-compose-f931233f080f

Digital Ocean - https://m.do.co/c/23d277be9014 ($50 free credit for 30 days)
Alternatively, I also have a Hetzner Cloud coupon where you will receive €20 in FREE credits : https://hetzner.cloud/?ref=9P2JvW3y3OBA

GitLab - https://gitlab.com/seanwasere/Seans-Angular6-Python-Flask-Boilerplate

This video is a short tutorial about setting up continuous integration and deployment using GitLab-runner and docker-compose.

Install GitLab Runner. See Instructions here
https://docs.gitlab.com/runner/install/linux-manually.html
or
https://medium.com/@sean_bradley/installing-gitlab-runner-on-ubuntu-and-centos-80f3a2de0290


After you install and register GitLab runner,
$ sudo apt install docker.io

$ sudo nano /etc/sudoers
add the line below
gitlab-runner ALL=(ALL) NOPASSWD: ALL

$ sudo usermod -aG docker gitlab-runner

$ sudo gitlab-runner restart

Now make a change to your code, commit and push.

See Video for what happens next.

#cicd
#gitlab
#dockerCompose







Tags:
gitlab
docker-compose
gitlab runner
ci/cd
continuous integration
continuous deployment
gitlab aws
gitlab azure
gitlab digitalocean
gitlab ci
devops