1- Environment:
- Gitlab-CE
- GitLab 13.2.1 (b55baf593e6)
- GitLab Shell 13.3.0
- GitLab Workhorse v8.37.0
- GitLab API v4
- Ruby 2.6.6p146
- Rails 6.0.3.1
- PostgreSQL 11.7
- Debian GNU / Linux 10 server (buster)
2- .gitlab-ci.yml file:
before_script:
- echo "--------- STARTING WORK ------------"
job_homologacao:
only:
- homologation
script:
- cd /home/ati/
- mkdir test
- echo "got here"
job_producao:
only:
- master
script:
- cd /home/ati/test/
- echo "got here"
3- Error presented when the runner is executed: Running with gitlab-runner 13.2.1 (efa30e33) on runner with Akx_BvYF shell Preparing the "shell" performer Using Shell executor ... Preparing environment Running on hermes ... ERROR: Job failed (system failure): prepare environment: exit status 1. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information
4- correction attempts: I read and executed all the procedures contained in the codumentation: