Tag: gitlab ci

在Docker上使用caching的Gitlab CI runnerconfiguration

我似乎无法得到caching或工件之间的工作之间的gitlab CI。 我怀疑这是与我的configuration有关,但我不知道是什么。 我正在使用以下docker-composeconfiguration在docker中运行gitlab和gitlab-ci-multirunner。 为了简洁,我省略了数据库configuration和一些环境variables: version: '2' services: gitlab: image: sameersbn/gitlab:8.5.1 links: – redis:redisio – postgresql:postgresql ports: – "10080:80" – "10022:22" environment: … volumes: – gitlab_data:/home/git/data gitlab-ci-runner: restart: always image: gitlab/gitlab-runner volumes: – gitlab_runner_config_data:/etc/gitlab-runner – /var/run/docker.sock:/var/run/docker.sock – /etc/nginx/ssl/gitlab.crt:/etc/gitlab-runner/certs/ca.crt – /etc/ssh:/ssh links: – gitlab:gitlab redis: … postgresql: … volumes: postgresql_data: redis_data: gitlab_data: gitlab_runner_config_data: 运行器configuration( config.toml )是: […]

错误:注册跑步者。 禁止(检查注册标记)

我正在尝试为GitLab CIconfiguration一个新的运行器,并且不断收到错误信息 错误:注册runner … forbidden(检查注册令牌)runner = 4PzD2eFb PANIC:注册失败 也许你有networking问题 这是我运行的命令 gitlab-ci-multi-runner register Please enter the gitlab-ci coordinator URL (eg https://gitlab.com/ci): https://gitlab.com/ci Please enter the gitlab-ci token for this runner: XXXXXXXXXXXX Please enter the gitlab-ci description for this runner: [gitlab-test]: runner Please enter the gitlab-ci tags for this runner (comma separated): docker 这也发生在我运行命令时 sudo gitlab-runner register […]