CICD

本文最后更新于:2023-05-18 09:33:19

gitlab的CICD

创建一个gitlab项目

gitlab-runner

  • 使用gitlab提高的的免费runner需要visa卡验证
  • 使用自己安装的runner: 官方 install gitlab runner
    1. 购买云服务器
    2. 按照官方的安装方式对于不同的系统进行安装
    3. sudo gitlab-runner register

问题

  • dpkg: error: requested operation requires superuser privilege

    1
    sudo -i
  • dpkg:: command not found

  • dpkg-deb: error: ‘gitlab-runner_arm.deb’ is not a Debian format archive
    dpkg: error processing archive gitlab-runner_arm.deb (–install):
    dpkg-deb –control subprocess returned error exit status 2
    Errors were encountered while processing:
    gitlab-runner_arm.deb

参考文章

问题

  • dpkg: error: requested operation requires superuser privilegethub.io/2016/07/29/use-gitlab-ci-for-continuous-integration/)
  • GitLab CI/CD 实践

本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!