-
-
Notifications
You must be signed in to change notification settings - Fork 520
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
Jenkins: bring Jenkinsfile back #704
Conversation
@dagar any idea what this means?
|
Long story, but newer Jenkins doesn't like the way we were hanlding entrypoint.sh. https://github.com/Dronecode/DronecodeSDK/blob/develop/docker/Dockerfile-Ubuntu-16.04#L54 See (aka copy) what was done in PX4/containers for detail. https://github.com/PX4/containers/blob/master/docker/px4-dev/scripts/entrypoint.sh @lamping7 FYI |
Oh, right, so I need to change all of the docker stuff, ok. |
e88b12b
to
405fdd8
Compare
This reverts commit d60c07f.
This is an attempt to get the docker images compatible with Jenkins. We now add a user with ID 1001, so matching the default Jenkins user which is used if no $LOCAL_USER_ID is supplied. Also, we use su-exec instead of su hoping because it seems to print less errors.
This should not be needed anymore because the default is to use the Jenkins default user.
Instead just switch to it.
827206b
to
98b1ac3
Compare
2076e36
to
3368882
Compare
@dagar this seems to work now but I'd appreciate a review regarding ccache. I don't think it's working. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, except that I cannot say for ccache 😅
According to @dagar we are lucky if ccache works because the ec2 instance has not been recycled yet. Otherwise that's what we have for now. |
Let's get Jenkins up and running again, FYI @dagar 😄