问题集、知识点

1.已经配置好git runner,但是git push后在pipelines没有记录。

1.yml文件名的问题 yml-test.yml -> .gitlab-ci.yml

2.yml文件中stage在三个默认阶段中选择:build、test、deploy

 

2. sudo: no tty present and no askpass program specified

1 vi /etc/sudoers

2 添加免密码

  USER  ALL=(ALL)  NOPASSWD: ALL

posted @ 2019-06-26 09:40  remly  阅读(106)  评论(0编辑  收藏  举报