GSA-TTS / gitlab-runner-cloudgov

Code for running GitLab CI/CD jobs on cloud.gov
Other
3 stars 0 forks source link

Runner scripts don't load standard image environment #45

Closed zjrgov closed 2 months ago

zjrgov commented 2 months ago

Bug/Issue

Runner worker has incomplete environment.

What was the problem?

When trying to run a worker whose image needs to execute some command that isn't in the /bin:/usr/bin path set, the job fails. Sourcing /etc/environment resolves the problem.