Score:0

How to pass enveronment variable in gitlab to setup cicd gitlab-ci.yml

in flag

Running with gitlab-runner 14.5.2 (e91107dd) on ibrahimrunner a8c7nx2r Preparing the "shell" executor 00:00 Using Shell executor... Preparing environment 00:00 Running on ip-172-31-5-177... ERROR: Job failed: prepare environment: exit status 1. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information

I have install gitlab server in one aws ec2 and in the same server i installed gitlab-runner now i created .gitlab-ci.yml file when i commit it automatically trigger the CICD but through above error i., ERROR: Job failed: prepare environment: exit status 1. Check

Could you help me please

Score:0
in flag

I was configured GitLab server and GitLab-runner machine on the same Ubuntu 20.04 machine.

But when I install GitLab-runner machine on another machine I got the solution.

Score:0
jp flag

According to thus GitLab issue the fix is to remove .bash_logout

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.