From 1c5aa7609d0fe065f9576339445be5e4771a7241 Mon Sep 17 00:00:00 2001 From: Nils Date: Fri, 1 Apr 2022 13:25:47 +0100 Subject: [PATCH] devops: Clean up automatic release to unified-auctions.makerdao.com (#169) --- .drone.yml | 12 ++++++------ kubernetes/helm/values.override_localhost.yaml | 4 ---- ...lues.override_unified-auctions.makerdao.com.yaml} | 10 ---------- 3 files changed, 6 insertions(+), 20 deletions(-) rename kubernetes/helm/{values.override_production.auction-ui.k8s.sidestream.tech.yaml => values.override_unified-auctions.makerdao.com.yaml} (54%) diff --git a/.drone.yml b/.drone.yml index 55afe706b..6568f4431 100644 --- a/.drone.yml +++ b/.drone.yml @@ -79,13 +79,13 @@ data: path_to_context: ./ build_args: - key: PRODUCTION_DOMAIN - value_from_secret: auction-ui/auctions.makerdao.network/frontend/production_domain + value_from_secret: auction-ui/production.auction-ui.k8s.sidestream.tech/frontend/production_domain - key: INFURA_PROJECT_ID - value_from_secret: auction-ui/auctions.makerdao.network/frontend/infura_project_id + value_from_secret: auction-ui/production.auction-ui.k8s.sidestream.tech/frontend/infura_project_id - key: CONTACT_EMAIL - value_from_secret: auction-ui/auctions.makerdao.network/frontend/contact_email + value_from_secret: auction-ui/production.auction-ui.k8s.sidestream.tech/frontend/contact_email - key: DEFAULT_ETHEREUM_NETWORK - value_from_secret: auction-ui/main.auction-ui.k8s.sidestream.tech/frontend/default_etherum_network + value_from_secret: auction-ui/production.auction-ui.k8s.sidestream.tech/frontend/default_etherum_network tags_to_cache_from: - "main" trigger: @@ -178,7 +178,7 @@ data: - frontend.deployment.tag=$DRONE_COMMIT_SHA - botTwitter.deployment.tag=$DRONE_COMMIT_SHA - - name: deploy-production.auction-ui.k8s.sidestream.tech + - name: deploy-unified-auctions.makerdao.com depends_on: - publish-bot-twitter-on-tag - publish-frontend-makerdao-on-tag @@ -191,7 +191,7 @@ data: aws_ssm_path_to_base64_encoded_secrets_yaml: auction-ui/secrets.yaml value_files: - values.yaml - - values.override_production.auction-ui.k8s.sidestream.tech.yaml + - values.override_unified-auctions.makerdao.com.yaml target_namespace: "auction-ui-production" release_name: "auction-ui" values_to_set: diff --git a/kubernetes/helm/values.override_localhost.yaml b/kubernetes/helm/values.override_localhost.yaml index 4b405ae70..01e484a71 100644 --- a/kubernetes/helm/values.override_localhost.yaml +++ b/kubernetes/helm/values.override_localhost.yaml @@ -2,10 +2,6 @@ hosts: - "localhost" -ingress: - isCertManagerActivated: false - isTlsActivated: false - frontend: deployment: tag: "main" diff --git a/kubernetes/helm/values.override_production.auction-ui.k8s.sidestream.tech.yaml b/kubernetes/helm/values.override_unified-auctions.makerdao.com.yaml similarity index 54% rename from kubernetes/helm/values.override_production.auction-ui.k8s.sidestream.tech.yaml rename to kubernetes/helm/values.override_unified-auctions.makerdao.com.yaml index f4d79b55f..9e23b2f56 100644 --- a/kubernetes/helm/values.override_production.auction-ui.k8s.sidestream.tech.yaml +++ b/kubernetes/helm/values.override_unified-auctions.makerdao.com.yaml @@ -1,17 +1,7 @@ # Value overrides for the deployment to the following host: hosts: - - "production.auction-ui.k8s.sidestream.tech" - "unified-auctions.makerdao.com" -ingress: - isCertManagerActivated: true - # We can only generate a TLS cert for our own domain, - # maker needs to take over their domains TLS termination - tls: - - hosts: - - "production.auction-ui.k8s.sidestream.tech" - secretName: "auction-ui-tls-certificate" - frontend: deployment: # the frontend bakes in environment variables that need to be changed for makerdao,