vagrant up scm --provision
Instalando Gitlab-CE
[root@scm ~]# curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
[root@scm ~]# yum install -y gitlab-ce
# vim /etc/gitlab/gitlab.rb
external_url 'http://192.168.88.10'
alertmanager['enable'] = false
gitlab_monitor['enable'] = false
node_exporter['enable'] = false
postgres_exporter['enable'] = false
prometheus['enable'] = false
redis_exporter['enable'] = false
# gitlab-ctl reconfigure
Com Gitlab-CE instalado e configurado podemos acessa-lo plo endereço http://192.168.88.10.
Iniciando a maquina pipeline via vagrant.
$ vagrant up pipeline --provision
Instalando Jenkins
# curl http://pkg.jenkins-ci.org/redhat/jenkins.repo -o /etc/yum.repos.d/jenkins.repo
# rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
# yum install jenkins git java-1.8.0-openjdk -y
# systemctl enable jenkins
# systemctl start jenkins
# yum install -y yum-utils device-mapper-persistent-data lvm2
# yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
# yum install -y docker-ce docker-ce-cli containerd.io
# systemctl enable docker
# systemctl start docker
# docker run -dti --name sonarqube --restart always -p 9000:9000 sonarqube
# docker run -dti --name nexus --restart always -p 8081:8081 sonatype/nexus3