You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,17 +9,17 @@ Running the `pipeline` command will:
9
9
10
10
2. Sets up a Jenkins "workflow" pipeline job and the necessary credentials to demonstrate a basic continuous delivery pipeline. Jenkins will:
11
11
12
-
+ Spin up a new Jenkins slave using the Mesos plugin. This slave runs inside a Docker container on one of our DC/OS agents.
12
+
+ Spin up a new Jenkins agent using the Mesos plugin. This agent runs inside a Docker container on one of our DC/OS agents.
13
13
+ Clone the git repository
14
14
+ Build a Docker container based off the [Jekyll Docker image](https://hub.docker.com/r/jekyll/jekyll/) that includes the content stored in [/site](/site) and push it to DockerHub.
15
15
+ Run the newly created container and a [Linkchecker container](https://github.com/mesosphere/docker-containers/blob/master/utils/linkchecker/Dockerfile) that runs a basic integration test against the container, checking that the webserver comes up correctly and that all links being served are valid (i.e. no 404s).
16
16
+ Manually trigger a Marathon deployment of the newly created container to the DC/OS base Marathon instance. If the application already exists, Marathon will simply upgrade it.
17
-
+ Make the application available on a public slave at port 80 using Marathon-lb.
17
+
+ Make the application available on a public agent at port 80 using Marathon-lb.
18
18
19
-
When run with the `dynamic-slaves` command, it will:
19
+
When run with the `dynamic-agents` command, it will:
20
20
21
21
3. Creates 50 build jobs that take a random amount of time between 1 and 2 minutes. These jobs will randomly fail.
22
-
+ The Mesos plugin will spin up build slaves on demand for these jobs, using as much capacity as your cluster has available.
22
+
+ The Mesos plugin will spin up build agents on demand for these jobs, using as much capacity as your cluster has available.
23
23
+ When these jobs are finished, the Jenkins tasks will terminate and the resources will be relinquished back to other users of your cluster.
24
24
25
25
When run with the `uninstall` command, it will:
@@ -69,7 +69,7 @@ When run with the `uninstall` command, it will:
69
69
70
70
NOTE: You must use the domain name for your cluster; the IP address will fail.
71
71
72
-
2. You can now run either the pipeline demo or the dynamic slaves demo. To run the pipeline demo, you will also need to specify the ELB address (`Public Slave`):
72
+
2. You can now run either the pipeline demo or the dynamic agents demo. To run the pipeline demo, you will also need to specify the ELB address (`Public Agent`):
8. Navigate back to the Jenkins and/or DC/OS UI to show build slaves spinning up manually.
94
+
8. Navigate back to the Jenkins and/or DC/OS UI to show build agents spinning up manually.
95
95
96
96
### Uninstalling
97
97
@@ -144,7 +144,7 @@ By default, this script assumes you will be pushing to the [mesosphere/cd-demo-a
144
144
145
145
### Demonstrating Multi-tenancy
146
146
147
-
To demonstrate how you can install multiple Jenkins instances side by side on DC/OS, simply give your Jenkins instances unique names using the `--name` argument and run the demo as follows. Note that if you only have one public slave, you will not be able to deploy applications from multiple pipelines (each application requires port 80).
147
+
To demonstrate how you can install multiple Jenkins instances side by side on DC/OS, simply give your Jenkins instances unique names using the `--name` argument and run the demo as follows. Note that if you only have one public agent, you will not be able to deploy applications from multiple pipelines (each application requires port 80).
0 commit comments