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

Split GCP deployment into separate manually run GitHub Workflows for release and snapshot #454

Merged
merged 8 commits into from
Dec 11, 2024

Conversation

jamesfredley
Copy link
Contributor

@jamesfredley jamesfredley commented Dec 10, 2024

Split GCP deployment into separate manually run GitHub Workflow for release and snapshot in order to control what gets deployed. Currently an old version release (IE. 6.1.3) will clogger the current version release (IE. 6.2.2), same for snapshot.

gradle.yml - Java CI build for snapshots, does not deploy to GCP snapshot and analytics-snapshot environments
release.yml - Release build and publish, does not deploy to GCP latest and analytics-latest environments
snapshot-gcp-deploy.yml - manually run to deploy to GCP snapshot and analytics-snapshot environments
release-gcp-deploy.yml - manually run to deploy to GCP latest and analytics-latest environments

new workflows will not appear and allow manual run on https://github.com/grails/grails-forge/actions until they are merged into the default branch (7.0.x)

deploy.yml will also be removed in 6.2.x and 7.0.x, since it is replaced by release-gcp-deploy.yml. deploy.yml does not include redeploy of analytics.
https://github.com/grails/grails-forge/blob/6.1.x/.github/workflows/deploy.yml

This will get merged up to 6.1.x, 6.2.x and 7.0.x after review.

There may be a little extra left in release-gcp-deploy.yml, I errored on the side of doing extra steps vs missing something.

…eploy in snapshot.yml

adjust Java versions, the snapshot workflow is now run manually so the desired branch or tag can be deployed
@jamesfredley jamesfredley changed the title Split main Java CI build into gradle.yml workflow from Snapshot GPC deploy Split GCP deployment into separate manually run GitHub Workflow for release and snapshot Dec 10, 2024
@jamesfredley jamesfredley changed the title Split GCP deployment into separate manually run GitHub Workflow for release and snapshot Split GCP deployment into separate manually run GitHub Workflows for release and snapshot Dec 10, 2024
Copy link
Contributor

@matrei matrei left a comment

Choose a reason for hiding this comment

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

Some minor cleanup comments. Good work! it will be cool with more versions in the forge.

@jamesfredley jamesfredley merged commit d8b7d66 into 6.0.x Dec 11, 2024
7 checks passed
@jamesfredley jamesfredley deleted the split-snapshot-GCP-deploy-from-java-ci branch December 11, 2024 20:49
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.

3 participants