-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2095 from shreddedbacon/kbd-operator
Support for Remote Lagoon build and task controllers
- Loading branch information
Showing
40 changed files
with
3,045 additions
and
74 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -198,6 +198,16 @@ services: | |
lagoon.type: custom | ||
lagoon.template: services/kubernetesremove/.lagoon.app.yml | ||
lagoon.image: amazeeiolagoon/kubernetesremove:v1-8-2 | ||
controllerhandler: | ||
image: ${IMAGE_REPO:-lagoon}/controllerhandler | ||
command: yarn run dev | ||
volumes: | ||
- ./services/controllerhandler/src:/app/services/controllerhandler/src | ||
- ./node-packages:/app/node-packages:delegated | ||
labels: | ||
lagoon.type: custom | ||
lagoon.template: services/controllerhandler/.lagoon.app.yml | ||
lagoon.image: amazeeiolagoon/controllerhandler:v1-8-2 | ||
logs2rocketchat: | ||
image: ${IMAGE_REPO:-lagoon}/logs2rocketchat | ||
command: yarn run dev | ||
|
@@ -262,6 +272,9 @@ services: | |
volumes: | ||
- ./services/api/src:/app/services/api/src | ||
- ./node-packages:/app/node-packages:delegated | ||
environment: | ||
- CI=${CI:-true} | ||
- REGISTRY=172.17.0.1:8084 # Docker network bridge and forwarded port for harbor-nginx | ||
depends_on: | ||
- api-db | ||
- keycloak | ||
|
@@ -350,9 +363,34 @@ services: | |
- WEBHOOK_HOST=webhook-handler | ||
- WEBHOOK_PORT=3000 | ||
- WEBHOOK_PROTOCOL=http | ||
- ROUTE_SUFFIX_HTTP=172.17.0.1.xip.io | ||
- ROUTE_SUFFIX_HTTP=172.17.0.1.nip.io | ||
- ROUTE_SUFFIX_HTTP_PORT=18080 | ||
- ROUTE_SUFFIX_HTTPS=172.17.0.1.nip.io | ||
- ROUTE_SUFFIX_HTTPS_PORT=18443 | ||
- WEBHOOK_REPO_PREFIX=ssh://[email protected]:2222/git/ | ||
- GIT_REPO_PREFIX=git@local-git:/git/ | ||
- SSH_PRIVATE_KEY=-----BEGIN RSA PRIVATE KEY-----\nMIIJKAIBAAKCAgEAxGZZrOV7Islo5p51Moabfd1YB8qbHvQZfJDZJmSU4jNxMf8G\nQH8KIM6ndi60xIiDlkh9R50Gs0fgnPaBwpjMjcUay5EvzBJdMmd/EPhg359+4f5Z\nQiGTVaB5UoGJKg9DEK4Xxi+QLpQ1CiJXvd3QOqnQlJZ2WYwz4kdLxF0d+sRrl+0G\nAISt9Gg9kq6wa7k7RRr4/OyD/9DhDr1GXvHXFPRv6QqKq084CqiUaarP7OcbZKi5\nEyMkf0s86ZTttQPqQijWsenLAw6t7J0vM38eojPDMFX4fJ7wVvbHmsdcwb2YxwD0\nk7I85mV5uM99v7owJ/0YSJGcN2YESq8c68rbRp1iSfDhchd9SUyYMFlrj3R+dxte\nTwvN2W5hIEld8Ip+dUWUVaaTeLkFLmqmVhvcMJNmuj+Wnp9USwki6U5HdpgBJPT5\nYJia3/LyE5IlPaRfZ+vBDQqKOeeqkncVtqcZ468ylT0qpqjtV4OSuCzl+P/TeJ+K\npCxDoqp88yQpYRYn9ztvEVvOkT8RERnT0/NVCNKAwHFOXrkK/BJs/h3fj2NddeVC\nJXdwiB4m+T2C/RHtGxVColqUf2nEntXxweuJgqBz+4YxXqRrKu4p5L4NuudcFAyg\nbIRpbaTZDI+vmmXnTXNP6ymMo5fNJ0/IPEBAoDkkc6ZmKdM5Yth6RaCzolsCAwEA\nAQKCAgBRL4n0SaxcFevyISCLMU+HeP8RwXPcGMWMU4ggMcXFt8QcCb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jBb/G6VGgh6NUE9o9o27t1Y5Plm0izyCA1M\nDFruaRfjyJ8qjbEifcqRtcF3rzsBiXIwdmbN6qT4PUipN2elpUAd7J1OIwGIIe3u\nCWNyOTNL+2+oQ/Eg1Y99mg3yrsVyOwhynVE80/X5cy07bXXR5rv1x4NKSVbPhlnt\nL6J5iAoqoDKICzjcgF5x3mj9YFWZrC3aRxRrN5RoEgeVdcXeK56UJqXHjmKN++m3\nc8OPEIBZiD8UJuhSNSOLiBFrGz6toy6rpHavqqknGhVWotXsAs1h8LNkBe8=\n-----END RSA PRIVATE KEY----- | ||
- SSH_HOST=ssh | ||
- SSH_PORT=2020 | ||
- API_HOST=api | ||
- API_PROTOCOL=http | ||
- API_PORT=3000 | ||
- KEYCLOAK_AUTH_SERVER_CLIENT_SECRET=f605b150-7636-4447-abd3-70988786b330 | ||
- DELETED_STATUS_CODE=404 | ||
volumes: | ||
- ./tests:/ansible | ||
labels: | ||
lagoon.type: none | ||
tests-controller-kubernetes: | ||
image: ${IMAGE_REPO:-lagoon}/tests | ||
environment: | ||
- CLUSTER_TYPE=control-k8s | ||
- WEBHOOK_HOST=webhook-handler | ||
- WEBHOOK_PORT=3000 | ||
- WEBHOOK_PROTOCOL=http | ||
- ROUTE_SUFFIX_HTTP=172.17.0.1.nip.io | ||
- ROUTE_SUFFIX_HTTP_PORT=18080 | ||
- ROUTE_SUFFIX_HTTPS=172.17.0.1.xip.io | ||
- ROUTE_SUFFIX_HTTPS=172.17.0.1.nip.io | ||
- ROUTE_SUFFIX_HTTPS_PORT=18443 | ||
- WEBHOOK_REPO_PREFIX=ssh://[email protected]:2222/git/ | ||
- GIT_REPO_PREFIX=git@local-git:/git/ | ||
|
@@ -375,9 +413,9 @@ services: | |
- WEBHOOK_HOST=webhook-handler | ||
- WEBHOOK_PORT=3000 | ||
- WEBHOOK_PROTOCOL=http | ||
- ROUTE_SUFFIX_HTTP=192.168.42.103.xip.io | ||
- ROUTE_SUFFIX_HTTP=192.168.42.103.nip.io | ||
- ROUTE_SUFFIX_HTTP_PORT=80 | ||
- ROUTE_SUFFIX_HTTPS=192.168.42.103.xip.io | ||
- ROUTE_SUFFIX_HTTPS=192.168.42.103.nip.io | ||
- ROUTE_SUFFIX_HTTPS_PORT=443 | ||
- WEBHOOK_REPO_PREFIX=ssh://[email protected]:2222/git/ | ||
- GIT_REPO_PREFIX=git@local-git:/git/ | ||
|
Oops, something went wrong.