Skip to content

Commit

Permalink
Cleanup deployment code (GoogleCloudPlatform#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
zohrehj authored Sep 8, 2020
1 parent dc4df46 commit 12c8968
Show file tree
Hide file tree
Showing 39 changed files with 53 additions and 607 deletions.
74 changes: 0 additions & 74 deletions WCP-WS/deployment.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions WCP-WS/service.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions WCP-WS/tf-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
spec:
containers:
- name: study-meta-data
image: gcr.io/heroes-hat-dev-apps/study-meta-data:latest
image: gcr.io/fda-mystudies-dev-apps/study-meta-data:latest
env:
- name: DB_USER
valueFrom:
Expand Down Expand Up @@ -70,7 +70,7 @@ spec:
- name: cloudsql-proxy
image: gcr.io/cloudsql-docker/gce-proxy:latest
command: ["/cloud_sql_proxy",
"-instances=heroes-hat-dev-data:us-east1:my-studies=tcp:3306",
"-instances=fda-mystudies-dev-data:us-east1:mystudies=tcp:3306",
"-credential_file=/secrets/gcloud_key/key.json"]
volumeMounts:
- name: gcloud-key-volume
Expand Down
108 changes: 0 additions & 108 deletions WCP/deployment.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sslfactory.value=javax.net.ssl.SSLSocketFactory
# Use hostname of smtp-relay if enabled.
from.email.use_ip_whitelist=${SMTP_USE_IP_WHITELIST}
# Domain should be the email domain excluding the end,
# i.e. rocketturtle instead of rocketturtle.net
# i.e. domain instead of domain.com
from.email.domain=${FROM_EMAIL_DOMAIN}

#For server
Expand Down
15 changes: 0 additions & 15 deletions WCP/service.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions WCP/tf-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: study-designer
image: gcr.io/heroes-hat-dev-apps/study-designer:latest
image: gcr.io/fda-mystudies-dev-apps/study-designer:latest
env:
- name: DB_USER
valueFrom:
Expand Down Expand Up @@ -85,7 +85,7 @@ spec:
- name: cloudsql-proxy
image: gcr.io/cloudsql-docker/gce-proxy:latest
command: ["/cloud_sql_proxy",
"-instances=heroes-hat-dev-data:us-east1:my-studies=tcp:3306",
"-instances=fda-mystudies-dev-data:us-east1:mystudies=tcp:3306",
"-credential_file=/secrets/gcloud_key/key.json"]
volumeMounts:
- name: gcloud-key-volume
Expand Down
68 changes: 0 additions & 68 deletions auth-server-ws/deployment.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions auth-server-ws/service.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class ApplicationPropertyConfiguration implements Serializable {
private Boolean useIpWhitelist;

// Domain to use with the IP whitelist relay.
// Must be in the form rocketturtle rather than rocketturtle.net.
// Must be in the form domain rather than domain.com.
@Value("${from.email.domain}")
private String fromDomain;

Expand Down
4 changes: 2 additions & 2 deletions auth-server-ws/tf-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: auth-server-ws
image: gcr.io/heroes-hat-dev-apps/auth-server-ws:latest
image: gcr.io/fda-mystudies-dev-apps/auth-server-ws:latest
env:
- name: DB_USER
valueFrom:
Expand Down Expand Up @@ -65,7 +65,7 @@ spec:
readOnly: true
- name: cloudsql-proxy
image: gcr.io/cloudsql-docker/gce-proxy:latest
command: ['/cloud_sql_proxy', '-instances=heroes-hat-dev-data:us-east1:my-studies=tcp:3306', '-credential_file=/secrets/gcloud_key/key.json']
command: ['/cloud_sql_proxy', '-instances=fda-mystudies-dev-data:us-east1:mystudies=tcp:3306', '-credential_file=/secrets/gcloud_key/key.json']
volumeMounts:
- name: gcloud-key-volume
mountPath: /secrets/gcloud_key
Expand Down
Loading

0 comments on commit 12c8968

Please sign in to comment.