标签:记录 etc gitlab pre list git direct res bsp
基于docker安装gitlab
gitlab: image: gitlab/gitlab-ce restart: always hostname: ‘81.70.22.100‘ environment: GITLAB_OMNIBUS_CONFIG: | external_url ‘http://81.70.22.100:8443‘ nginx[‘redirect_http_to_https‘] = false letsencrypt[‘enable‘] = false ports: - 8443:8443 volumes: - ./data:/var/opt/gitlab - ./logs:/var/log/gitlab - ./config:/etc/gitlab
gitlab-runner
基于容器执行注册
docker exec -it gitlab-runner gitlab-ci-multi-runner register --non-interactive --tls-ca-file /home/data/gitlab-runner/certs/ca.crt --url https://81.70.22.100:8443/ --registration-token dPvKQXAFiajhHEzVLzsF --name hello-world-runner --tag-list master --executor shell --locked true --run-untagged false
原生安装执行注册
gitlab-runner register --non-interactive --tls-ca-file /home/data/gitlab-runner/certs/ca.crt --url https://81.70.22.100:8443/ --registration-token dPvKQXAFiajhHEzVLzsF --name hello-world-runner --tag-list master --executor shell --locked true --run-untagged false
标签:记录 etc gitlab pre list git direct res bsp
原文地址:https://www.cnblogs.com/wangwangfei/p/13359907.html