Skip to content
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

Merge terraform into early access #202

Merged
merged 158 commits into from
Apr 23, 2020
Merged

Merge terraform into early access #202

merged 158 commits into from
Apr 23, 2020

Conversation

MartinPetkov
Copy link

No description provided.

umairidris and others added 30 commits April 2, 2020 19:00
This config hasn't been tested yet.
Also adjust variables from "network_name" to just "network" and use the
"network_self_link" output instead of "network_name".
Add network project in org policy.
Also combine the GKE subnet definition into main.tf
Move the GKE clusters into the same subnet
.gitignore Outdated Show resolved Hide resolved
Terraform/bootstrap/terraform.tfvars Show resolved Hide resolved
Terraform/cicd/terraform.tfvars Show resolved Hide resolved
Terraform/engine.tmpl.yaml Show resolved Hide resolved
Terraform/org/audit/main.tf Outdated Show resolved Hide resolved
user-registration-server-ws/deployment.yaml Outdated Show resolved Hide resolved
response-server-ws/deployment.yaml Outdated Show resolved Hide resolved
WCP-WS/deployment.yaml Outdated Show resolved Hide resolved
WCP/deployment.yaml Outdated Show resolved Hide resolved
WCP-WS/deployment.yaml Outdated Show resolved Hide resolved
Copy link

@kuoyuchi kuoyuchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for setting this up! A few minor comments.

@MartinPetkov
Copy link
Author

I've opened #204 to address some of the comments.

MartinPetkov and others added 10 commits April 22, 2020 11:37
Changes:

* Remove .json keys from .gitignore, since they're no longer manually managed.
* Move the audit bucket to us-east1 like all the other resources.
* Replace a CLIENT_ID with a dummy test value in a k8s deployment.
* Use the right port for the user-registration-server-np.
* Fork the k8s deployment.yaml files, to avoid clobbering the working ones.

Co-authored-by: Martin Petkov <mpetkov@google.com>
@MartinPetkov
Copy link
Author

Note about the stuck builds: I found [this]:(https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-events-for-forked-repositories)

Note: Workflows do not run on private base repositories when you open a pull request from a forked repository.

Since this is proposed from my fork, these builds won't run, and I don't yet know how to trigger them.

@MartinPetkov
Copy link
Author

I just found this too: https://git.luolix.topmunity/t5/GitHub-Actions/Will-GitHub-Actions-support-pull-request-events-from-a-fork-to-a/td-p/44488/page/3

Which seems like this just isn't a supported feature, and there's no roadmap to support it yet. I'll just have to submit without running the checks.

MartinPetkov and others added 7 commits April 22, 2020 19:02
* Remove workflows to try to get GitHub to see them. Will be re-added immediately.

* Revert "Remove workflows to try to get GitHub to see them. Will be re-added immediately."

This reverts commit 756498a.

* Remove the whole .github/ dir. Will readd immediately.

* Revert "Remove the whole .github/ dir. Will readd immediately."

This reverts commit dcc781b.

* Create a static external IP for the Ingress

GKE can create an external IP automatically, but it may change if the ingress
is deleted and recreated. Instead, create one in Terraform, and always use the
same one in the Ingress.

Co-authored-by: Martin Petkov <mpetkov@google.com>
* Remove workflows to try to get GitHub to see them. Will be re-added immediately.

* Revert "Remove workflows to try to get GitHub to see them. Will be re-added immediately."

This reverts commit 756498a.

* Remove the whole .github/ dir. Will readd immediately.

* Revert "Remove the whole .github/ dir. Will readd immediately."

This reverts commit dcc781b.

* Change Ingress static IP to global

Looking again at the instructions at https://cloud.google.com/kubernetes-engine/docs/tutorials/configuring-domain-name-static-ip, this address should be global.

Co-authored-by: Martin Petkov <mpetkov@google.com>
@MartinPetkov MartinPetkov merged commit ebad6c3 into GoogleCloudPlatform:early-access Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants