Repository navigation
slave node uses systemd - #2
Merged
Merged
Conversation
Member
|
My concern here, @aleksandra-tarkowska, is that this strategy makes it difficult to deploy to hub. If we can have only the changes here for devslave, then we can have a separate devjenkins (devmaster?) repo, and each of those can produce an image on hub which you can re-use in docker-compose. |
atarkowska
force-pushed
the
slave_systemd
branch
from
April 7, 2016 18:04
40f99ab to
c947706
Compare
Member
Author
|
np, I have just rebased with slave only. |
atarkowska
force-pushed
the
slave_systemd
branch
from
April 7, 2016 18:53
f880bc8 to
33a7fcb
Compare
| @@ -0,0 +1,27 @@ | |||
| NS = openmicroscopy | |||
| VERSION ?= latest | |||
2 tasks
atarkowska
force-pushed
the
slave_systemd
branch
4 times, most recently
from
April 9, 2016 23:31
d28afd1 to
eede6cf
Compare
atarkowska
force-pushed
the
slave_systemd
branch
from
April 10, 2016 00:00
eede6cf to
3f05625
Compare
| - make start ENV="-e JENKINS_PORT_8080_TCP_ADDR=$JENKINS_ADDR -e JENKINS_PORT_8080_TCP_PORT=$JENKINS_PORT" VOLUMES="-v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /run" | ||
| - docker inspect -f {{.State.Running}} devslave | ||
| - SLAVE_ADDR=`docker inspect --format '{{ .NetworkSettings.IPAddress }}' devslave` | ||
| - d=10; while ! docker logs jenkins 2>&1 | grep "from /${SLAVE_ADDR}" ; do sleep 10; d=$[$d -1]; if [ $d -lt 0 ]; then exit 1; fi; done |
Member
|
Nice. Merging. To be "integration tested" in the devspace along with @aleksandra-tarkowska's upcoming redis PR. This should significantly speed up the build. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR improves slave node using systemd
To test it:
deploy jenkins (use https://github.com/aleksandra-tarkowska/omero-ssh-systemd-jenkins-slave)
attache to jenkins container to find out
env | grep JENKINS_PORT_8080_TCPbuild using
make buildstart container:
jenkins logs will show:
attache to devslave:
check jenkins http://jenkins:8080/computer/ if new node is up
cc: @joshmoore