-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
Jenkinsfile: update to latest docker tag #558
Conversation
This includes sudo.
We're no longer root.
- set timeout to 1 hour - throw away old build logs, keep 10 - remove unnecessary pipeline agent, blocking the node - formatting changes for readability
@dbowerman do you know why travis-ci ends up without permission: |
jenkins: add options
@julianoes only that somehow $TRAVIS_BUILD_DIR at that point is not valid. ie the container mounted some dud directory. |
980dd1f
to
bb666f4
Compare
dcdc948
to
6d35ee9
Compare
05f52bc
to
60fa362
Compare
@julianoes: About the examples, I believe that it should be possible to build them without
|
@JonasVautherin yes that would work but it means the setup is a bit different from the real use case but I guess that's ok. |
Is the issue the 'user' option being passed to docker. ie. -u I reckon remove the -u option, which is causing the container to be run with some random user from outside the container. |
This reverts commit 39ed609.
I don't understand the error that now happens on Fedora:
|
@dbowerman the problem is that the solution with the default In my opinion the solution before with just root just worked even though it would sometimes require a |
@julianoes Ah yes. thinking about it, that makes sense. I didn't pick that because I'm the only user (usually uid 1000) on my systems. Give me a day or so to see if theres a solution, otherwise revert I guess. |
@julianoes this article describes the exact problem and offers a solution. |
@dbowerman oh yes nice, that should work. |
@dbowerman hm, so I tried this and got:
Edit: nevermind, I still had the |
Note: I'm trying to come by without |
Forgot to update the docker images, re-running travis. |
Yay, it finally passed. @JonasVautherin please review and merge, so CI is fixed. |
Thanks! |
This includes sudo.
This is a follow up to #557.