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

Add Cloud Deploy Automations #259

Merged
merged 12 commits into from
May 28, 2024
Merged

Add Cloud Deploy Automations #259

merged 12 commits into from
May 28, 2024

Conversation

abmarcum
Copy link
Collaborator

Added Cloud Deploy Automations to automatically promote deployments for the Agnoes & Game Server GKE Deployments.

In order to bring in the required Terraform google_clouddeploy_automation, also updated the Google Terraform Provider to the latest.

Recreated the entire project environment to test both the Automations and provider changes.

@abmarcum abmarcum added the enhancement New feature or request label May 17, 2024
@abmarcum abmarcum self-assigned this May 17, 2024
infrastructure/pipelines.tf Outdated Show resolved Hide resolved
infrastructure/variables.tf Outdated Show resolved Hide resolved
@markmandel
Copy link
Member

I'd also recommend updating the README to let people know that stuff will self promote, e.g.

Navigate to the
[agones-deploy-pipeline](https://console.cloud.google.com/deploy/delivery-pipelines/us-central1/agones-deploy-pipeline)
delivery pipeline to review the rollout status. Cloud Build will create a Cloud Deploy release which automatically
deploys Agones the first game server cluster. Agones can be deployed to subsequent clusters by clicking on the
`promote` button within the Pipeline visualization or by running the following gcloud command:
```shell
## Replace RELEASE_NAME with the unique id generated from the Cloud Build.
gcloud deploy releases promote --release=RELEASE_NAME --delivery-pipeline=agones-deploy-pipeline --region=us-central1
```

@markmandel
Copy link
Member

Just tested the Agones rollout - worked! Now testing Game Servers 👍🏻

So nice!

@abmarcum
Copy link
Collaborator Author

I'd also recommend updating the README to let people know that stuff will self promote, e.g.

Navigate to the
[agones-deploy-pipeline](https://console.cloud.google.com/deploy/delivery-pipelines/us-central1/agones-deploy-pipeline)
delivery pipeline to review the rollout status. Cloud Build will create a Cloud Deploy release which automatically
deploys Agones the first game server cluster. Agones can be deployed to subsequent clusters by clicking on the
`promote` button within the Pipeline visualization or by running the following gcloud command:
```shell
## Replace RELEASE_NAME with the unique id generated from the Cloud Build.
gcloud deploy releases promote --release=RELEASE_NAME --delivery-pipeline=agones-deploy-pipeline --region=us-central1
```

Updated the readme to mention automatic pipeline promotions.

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

Suggested doc improvements.

Tested out Unreal rollout - all works!

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
abmarcum and others added 4 commits May 24, 2024 20:00
Co-authored-by: Mark Mandel <markmandel@google.com>
Co-authored-by: Mark Mandel <markmandel@google.com>
@markmandel markmandel merged commit f59548d into main May 28, 2024
3 checks passed
@markmandel markmandel deleted the add-clouddeploy-automation/1 branch May 28, 2024 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants