我的 gitlab 管道已经运行了近六个月,现在意外失败。
之前的每一行都成功运行,然后会发生这种情况:
Setting up curl (7.52.1-5+deb9u16) ...
$ curl -s https://deb.nodesource.com/setup_12.x | bash
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1
Run Code Online (Sandbox Code Playgroud)
我一生都无法弄清楚到底发生了什么变化。我认为这可能与此问题有关,但我没有遇到任何网络问题、超时等问题。
我的 .gitlab-ci.yml 的轻度混淆版本。显然,我正在使用 .gitlab-ci.yml 来配置我的管道,并且我还使用共享的 GitLab 运行程序。
image: python:3.6-stretch
variables:
ACCESS_KEY_ID: **********
SECRET_ACCESS_KEY: **********
before_script:
- apt-get update
- apt-get install -y curl
- curl -s https://deb.nodesource.com/setup_12.x | bash
- apt-get install -y nodejs
- apt-get install -y npm
- npm install -g serverless
- pip install --upgrade …Run Code Online (Sandbox Code Playgroud)