-
Notifications
You must be signed in to change notification settings - Fork 26
Prepare Production, and make Staging private #236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rporres PTAL
@@ -97,6 +97,6 @@ pipeline: | |||
<<: *helm_deploy | |||
prefix: PROD | |||
secrets: [ PROD_API_SERVER, PROD_KUBERNETES_TOKEN ] | |||
values: ingress.globalStaticIpName=code-annotation-production,ingress.hostname=code-annotation.sourced.tech,image.tag=${DRONE_TAG},deployment.gaTrackingID=UA-109494282-2,secretName=code-annotation-drone-workaround | |||
values: ingress.globalStaticIpName=code-annotation-production,ingress.hostname=code-annotation.srcd.run,image.tag=${DRONE_TAG},deployment.gaTrackingID=UA-109494282-2,secretName=code-annotation-drone-workaround |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this conf compatible @rporres ?
ingress.globalStaticIpName=code-annotation-production
ingress.hostname=code-annotation.srcd.run
I'm not sure if we should use a new globalStaticIpName
suffixed as -production
while we're having a hostname
following the staging
pattern.
Is this something I should care about?
Does it affect the place where you store the secrets and these configurations?
(most probably I'm mixing concepts, so please ping me when you have time to explain it to me irl 💃 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use code-annotation-production.srcd.run
as hostname. The rest is ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But that's the hostname defined by @mcuadros in the GH OAuth App as he wrote at #217 (comment)
Should we ask him to change it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d'oh, ok. I don't like that name, but I guess it's late to change it. I will change it on my side...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Let's wait for @rporres feedback as well.
Only App team members will be able to login to staging now.
I guess we just need to make sure that on production, same users as before would be able to log in, and see their previous answers.
Since the staging DB will be copied to production, all workers will keep their previous work already done in Staging. Does it answer your questions @bzz ? |
@@ -97,6 +97,6 @@ pipeline: | |||
<<: *helm_deploy | |||
prefix: PROD | |||
secrets: [ PROD_API_SERVER, PROD_KUBERNETES_TOKEN ] | |||
values: ingress.globalStaticIpName=code-annotation-production,ingress.hostname=code-annotation.sourced.tech,image.tag=${DRONE_TAG},deployment.gaTrackingID=UA-109494282-2,secretName=code-annotation-drone-workaround | |||
values: ingress.globalStaticIpName=code-annotation-production,ingress.hostname=code-annotation.srcd.run,image.tag=${DRONE_TAG},deployment.gaTrackingID=UA-109494282-2,secretName=code-annotation-drone-workaround |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use code-annotation-production.srcd.run
as hostname. The rest is ok
After preparing Production environment #218 , some other changes must be done to: