Initial commit
BIN
exercises/10-distributed-builds/solution/images/agent-config.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 1006 KiB |
|
After Width: | Height: | Size: 976 KiB |
|
After Width: | Height: | Size: 941 KiB |
BIN
exercises/10-distributed-builds/solution/images/queued-job.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
29
exercises/10-distributed-builds/solution/solution.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Solution
|
||||
|
||||
Configure the `master` node.
|
||||
|
||||

|
||||
|
||||
Add a new agent node.
|
||||
|
||||

|
||||
|
||||
You will see that the `master` node isn't even listed anymore in the executor overview.
|
||||
|
||||

|
||||
|
||||
Reconfigure the agent node to only build jobs with a specific label.
|
||||
|
||||

|
||||
|
||||
Reconfigure the job to only use agents that can handle a specific label.
|
||||
|
||||

|
||||
|
||||
A build of the job is now only handled by an agent with the assigned label.
|
||||
|
||||

|
||||
|
||||
Other jobs sit in a queue waiting for an agent that can handle the execution criteria.
|
||||
|
||||

|
||||