Skip to content
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

Merged
merged 11 commits into from
Mar 27, 2019
Merged

Jenkins: bring Jenkinsfile back #704

merged 11 commits into from
Mar 27, 2019

Conversation

julianoes
Copy link
Collaborator

Let's get Jenkins up and running again, FYI @dagar 😄

@julianoes julianoes requested a review from dagar March 21, 2019 14:25
@julianoes
Copy link
Collaborator Author

@dagar any idea what this means?

Failed to run top '2919b615ed9770b2ec8a958788de323a6712074e6589fe6c5f9dcdd8c043ee08'. Error: Error response from daemon: rpc error: code = Unknown desc = containerd: container not found

@dagar
Copy link
Member

dagar commented Mar 21, 2019

@julianoes
Copy link
Collaborator Author

Oh, right, so I need to change all of the docker stuff, ok.

Jenkinsfile Outdated Show resolved Hide resolved
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.
@julianoes
Copy link
Collaborator Author

@dagar this seems to work now but I'd appreciate a review regarding ccache. I don't think it's working.

Copy link
Collaborator

@JonasVautherin JonasVautherin left a 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 😅

@julianoes
Copy link
Collaborator Author

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.

@julianoes julianoes merged commit e035834 into develop Mar 27, 2019
@julianoes julianoes deleted the add-jenkins-again branch March 27, 2019 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants