- shell: !include-raw:
# Ensure python-tools are installed in case job template does not
# call the lf-infra-pre-build macro.
- shell: !include-raw:
# Ensure python-tools are installed in case job template does not
# call the lf-infra-pre-build macro.
- shell: |2-
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum -y install docker-ce docker-ce-cli containerd.io
- shell: |2-
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum -y install docker-ce docker-ce-cli containerd.io
sudo systemctl start docker
# Ugly hack to make docker usable for non-root
# (adding to the group would require re-login)
sudo chmod 777 /var/run/docker.sock
sudo systemctl start docker
# Ugly hack to make docker usable for non-root
# (adding to the group would require re-login)
sudo chmod 777 /var/run/docker.sock
# Not sure if it would be better to use "change-merged" here and just clone the master
# branch. With the current approach the SCM can be identical in verify and merge jobs.
- ref-updated-event
# Not sure if it would be better to use "change-merged" here and just clone the master
# branch. With the current approach the SCM can be identical in verify and merge jobs.
- ref-updated-event