-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skaffold doesn't work from gitlab-runner user #5719
Comments
Hmm that file seems to work fine as is. But this comment string is odd:
It suggests to me that the actual file content might be different — that it was possibly sanitized when you pasted the contents here.
Could you try |
I wrote that its work if I start
But if I do that by gitlab-runner user, I had an error:
|
I download last commit version and I pulled the latest version of skaffold and now the error message is explicit so I figured out what was the problem. Thank you for your timely help. I`m closing the issue |
I’m sorry @FreddieMcHeart — I didn’t realize that it worked as for. Could you share what the error was? I’m puzzled as to how permissions may have been a factor here. |
Expected behavior
Actual behavior
Information
Steps to reproduce the behavior
parsing skaffold config: failed to apply profiles to config "cryptobot" defined in file "/home/gitlab-runner/builds/ZqTVFjA1/0/high-school-prod/cryptobot/skaffold.yaml". There's an issue with one of the profiles defined in config "cryptobot" in file "/home/gitlab-runner/builds/ZqTVFjA1/0/high-school-prod/cryptobot/skaffold.yaml"; refer to the documentation on how to author valid profiles: https://skaffold.dev/docs/environment/profiles/.
root@Skaffold:~# groups gitlab-runner gitlab-runner : gitlab-runner sudo docker
users permissions
If I go to the gitlab-runner home dir and then to project dir
~/builds/ZqTVFjA1/0/high-school-prod/cryptobot
and start any skaffold command likeskaffold run -p stage
orskaffold build -p stage
I have the error that i wrote above.dir contents
The text was updated successfully, but these errors were encountered: