-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add test for autogenerated enabled, disabled by environment (#247
- Loading branch information
1 parent
13f1e76
commit 63fdf16
Showing
3 changed files
with
56 additions
and
0 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
20 changes: 20 additions & 0 deletions
20
test-resources/template-autogenerated/test25/docker-compose.yml
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: '2' | ||
services: | ||
node: | ||
networks: | ||
- amazeeio-network | ||
- default | ||
build: | ||
context: . | ||
dockerfile: node.dockerfile | ||
labels: | ||
lagoon.type: node | ||
volumes: | ||
- .:/app:delegated | ||
environment: | ||
- LAGOON_LOCALDEV_HTTP_PORT=3000 | ||
- LAGOON_ROUTE=http://node.docker.amazee.io | ||
|
||
networks: | ||
amazeeio-network: | ||
external: true |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
docker-compose-yaml: ../test-resources/template-autogenerated/test6/docker-compose.yml | ||
|
||
routes: | ||
autogenerate: | ||
enabled: true | ||
insecure: Redirect | ||
allowPullrequests: false | ||
|
||
environment_variables: | ||
git_sha: "true" | ||
|
||
environments: | ||
main: | ||
autogenerateRoutes: false | ||
routes: | ||
- node: | ||
- example.com |