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

new jenkins build server #208

Closed
bazinski opened this Issue Nov 9, 2017 · 4 comments

Comments

Projects
None yet
2 participants
@bazinski
Contributor

bazinski commented Nov 9, 2017

I am trying to get a new build server up at chpc.

I map port 9934 to port 22 on the "donated" host,
I was going to ask about where I find the public key for the jenkins user.

I however see that I am able to create a new key pair for each cloud deployed.
Am I right ?
So i dont need to use some global jenkins account to log into the slave host.

Will try later.

@brucellino

This comment has been minimized.

Show comment
Hide comment
@brucellino

brucellino Nov 10, 2017

Member

Hey @bazinski Just checking if I understand this - you want a new build server, or you want a new "cloud" ? IE, place to instantiate builds ?

A new build server = a new jenkins instance.

A new cloud = new docker/openstack endpoint on the same build server, ie ci.sagrid.ac.za.

I'm assuming you want a new cloud, right ?

If I remember correctly from previous discussions, we were setting up a docker endpoint - see the screenshot
screenshot from 2017-11-10 10-03-08

The one in the screenshot is obviously localhost - you need to let me know the IP/port of the docker endpoint, and then we configure that cloud the same way as the local cloud.

Member

brucellino commented Nov 10, 2017

Hey @bazinski Just checking if I understand this - you want a new build server, or you want a new "cloud" ? IE, place to instantiate builds ?

A new build server = a new jenkins instance.

A new cloud = new docker/openstack endpoint on the same build server, ie ci.sagrid.ac.za.

I'm assuming you want a new cloud, right ?

If I remember correctly from previous discussions, we were setting up a docker endpoint - see the screenshot
screenshot from 2017-11-10 10-03-08

The one in the screenshot is obviously localhost - you need to let me know the IP/port of the docker endpoint, and then we configure that cloud the same way as the local cloud.

@brucellino brucellino added the jenkins label Nov 10, 2017

@bazinski

This comment has been minimized.

Show comment
Hide comment
@bazinski

bazinski Nov 10, 2017

Contributor

Ja cloud, my bad,
Its a docker end point via ssh.

I was wondering about the auth, but I saw when doing the add cloud thing that one can define the user auth there, so the private key for user jenkins is stored in the "additional cloud" somewhere and the public hence generated is then put on my node.
Does the user have to be jenkins or am I free to choose that as well ?

Contributor

bazinski commented Nov 10, 2017

Ja cloud, my bad,
Its a docker end point via ssh.

I was wondering about the auth, but I saw when doing the add cloud thing that one can define the user auth there, so the private key for user jenkins is stored in the "additional cloud" somewhere and the public hence generated is then put on my node.
Does the user have to be jenkins or am I free to choose that as well ?

@brucellino

This comment has been minimized.

Show comment
Hide comment
@brucellino

brucellino Nov 10, 2017

Member

Its a docker end point via ssh.
Ah... no. It's a docker endpoint via HTTP, I think. That's the part where Jenkins talks to Docker to make new containers.

I think you're confusing that bit with the part where jenkins talks to the new container to start the build. THAT happens over ssh or jnlp

Member

brucellino commented Nov 10, 2017

Its a docker end point via ssh.
Ah... no. It's a docker endpoint via HTTP, I think. That's the part where Jenkins talks to Docker to make new containers.

I think you're confusing that bit with the part where jenkins talks to the new container to start the build. THAT happens over ssh or jnlp

@brucellino

This comment has been minimized.

Show comment
Hide comment
@brucellino
Member

brucellino commented Dec 2, 2017

@brucellino brucellino closed this Dec 2, 2017

@wafflebot wafflebot bot removed the in progress label Dec 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment