Skip to content

Commit

Permalink
#841 - update .lagoon.yml for tests which rely on LAGOON_GIT_SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
twardnw committed Feb 5, 2019
1 parent 791583c commit d2a96b3
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 6 deletions.
5 changes: 4 additions & 1 deletion tests/files/drupal8-mariadb/.lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ docker-compose-yaml: docker-compose.yml
endpoint: 192.168.99.1:2020
api: 192.168.99.1:3000

environment_variables:
git_sha: 'true'

tasks:
post-rollout:
- run:
Expand Down Expand Up @@ -47,4 +50,4 @@ environments:
- name: drush cron
schedule: "1 * * * *"
command: drush cron
service: cli
service: cli
5 changes: 4 additions & 1 deletion tests/files/drupal8-postgres/.lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ docker-compose-yaml: docker-compose.yml
endpoint: 192.168.99.1:2020
api: 192.168.99.1:3000

environment_variables:
git_sha: 'true'

tasks:
post-rollout:
- run:
Expand Down Expand Up @@ -40,4 +43,4 @@ environments:
- name: drush cron
schedule: "1 * * * *"
command: drush cron
service: cli
service: cli
3 changes: 3 additions & 0 deletions tests/files/elasticsearch-cluster/.lagoon.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
docker-compose-yaml: docker-compose.yml

environment_variables:
git_sha: 'true'
3 changes: 3 additions & 0 deletions tests/files/elasticsearch/.lagoon.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
docker-compose-yaml: docker-compose.yml

environment_variables:
git_sha: 'true'
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
docker-compose-yaml: docker-compose.yml

environment_variables:
git_sha: 'true'

routes:
autogenerate:
enabled: 'false'
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
docker-compose-yaml: docker-compose.yml

environment_variables:
git_sha: 'true'
3 changes: 3 additions & 0 deletions tests/files/features/.lagoon.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
docker-compose-yaml: docker-compose.yml

environment_variables:
git_sha: 'true'

environments:
branch/routes:
routes:
Expand Down
5 changes: 4 additions & 1 deletion tests/files/nginx/first/.lagoon.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
docker-compose-yaml: docker-compose.yml

environment_variables:
git_sha: 'true'

environments:
nginx:
routes:
Expand All @@ -15,4 +18,4 @@ environments:
hsts: max-age=15768000
- hsts-header-null.com
- nginx-basic-auth:
- nginx-basic-auth.com
- nginx-basic-auth.com
5 changes: 4 additions & 1 deletion tests/files/nginx/second/.lagoon.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
docker-compose-yaml: docker-compose.yml

environment_variables:
git_sha: 'true'

routes:
autogenerate:
insecure: Redirect
Expand All @@ -22,4 +25,4 @@ environments:
hsts: max-age=15768000
- nginx-basic-auth:
- nginx-basic-auth.com
- moving-route.com
- moving-route.com
5 changes: 4 additions & 1 deletion tests/files/node6_subfolder/.lagoon.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
docker-compose-yaml: docker-compose.yml

environment_variables:
git_sha: 'true'

environments:
node6:
routes:
- node:
- customdomain-will-be-main-domain.com
- customdomain-will-be-not-be-main-domain.com
- customdomain-will-be-not-be-main-domain.com
5 changes: 4 additions & 1 deletion tests/files/node8/.lagoon.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
docker-compose-yaml: docker-compose.yml

environment_variables:
git_sha: 'true'

environments:
node8:
routes:
- node:
- customdomain-will-be-main-domain.com
- customdomain-will-be-not-be-main-domain.com
- customdomain-will-be-not-be-main-domain.com

0 comments on commit d2a96b3

Please sign in to comment.