gitlab CI Job is stuck
之前一直能正常跑的CI,这几天突然就不行了,报错Job is stuck. Check runners。找运维确认后,是gitlab-runner 升级了,升级之后.gitlab-ci.yml必须要配置tags才行,需要指定是哪个runner。更改之后就正常啦image: alpine:latestpages:stage: deploytags:- yourRunnerscript:- echo
·
之前一直能正常跑的CI,这几天突然就不行了,报错Job is stuck. Check runners
。
找运维确认后,是gitlab-runner
升级了,升级之后.gitlab-ci.yml
必须要配置tags才行,需要指定是哪个runner。更改之后就正常啦
image: alpine:latest
pages:
stage: deploy
tags:
- yourRunner
script:
- echo 'Nothing to do...'
artifacts:
paths:
- public
only:
- master
更多推荐
所有评论(0)