-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
web and nginx slaves #1
Conversation
- use swarm plugin 2.0 - use omero-install and fix Dockerfile
@sbesson could you advice why BF job is failing?
|
@aleksandra-tarkowska: this looks like a permission issue while pushing the merge branch. Did you set up the SSH keys and |
I could forget but after coping rebuilding is the same |
Type=forking | ||
Restart=on-failure | ||
RestartSec=10 | ||
ExecStart=/tmp/jenkins-slave.sh |
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.
Does this start jenkins as a background (daemon) process, or in the foreground? If it's in the foreground you can use Type simple
instead and omit the ExecStop
, e.g. see https://github.com/ome/omero-install/blob/develop/linux/omero-systemd.service
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.
[root@102787622c66 ~]# systemctl status jenkins.service
● jenkins.service - Jenkins slave
Loaded: loaded (/etc/systemd/system/jenkins.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2016-03-25 16:04:12 UTC; 1min 14s ago
Docs: https://developer.cloudbees.com/bin/view/DEV/On-Premise+Executors
Main PID: 216 (java)
CGroup: /system.slice/jenkins.service
└─216 java -jar /tmp/swarm-client-2.0-jar-with-dependencies.jar -fsroot /home/omero -labels centos7 -labels java -name web -disableClientsUniq...
Mar 25 16:05:03 102787622c66 jenkins-slave.sh[216]: Retrying in 10 seconds
Mar 25 16:05:16 102787622c66 systemd[1]: Started Jenkins slave.
Mar 25 16:05:18 102787622c66 jenkins-slave.sh[216]: Failed to receive a reply to broadcast.
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.
Yes
- make nginx a jankins node - allow linking nginx config and statics - add redis node
@@ -1,6 +1,8 @@ | |||
#!/bin/bash | |||
# https://raw.githubusercontent.com/carlossg/jenkins-swarm-slave-docker/master/jenkins-slave.sh | |||
|
|||
eval `(sudo cat /proc/1/environ; echo) | tr '\000' '\n' | while read line; do if [[ $line == JENKINS_PORT_8080_TCP_* ]] ; then echo export $line; fi done` |
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.
@manics indeed dirty hack works ;-)
Could anyone suggest why am I getting:
|
- JENKINS_MODE=exclusive | ||
- SERVICE_NAME=SPACENAME-omero | ||
ports: | ||
- "4080:4080" |
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.
This will need to be in the overwrite file (e.g. docker-compose.osx.yml) since otherwise only one devspace can run on a single docker host.
Clsing in favor of ome#20 |
This PR improves existing web infrastructure introduced in ome#19
nginx is available on http://$(docker-machine ip omerodev):8888
NOTE: