Skip to content

Commit

Permalink
Move make release-deploy-site into pre-build-release (#3132)
Browse files Browse the repository at this point in the history
* Move make release-deploy-site into pre-build-release

* Modified release_issue.md
  • Loading branch information
Kalaiselvi84 committed May 2, 2023
1 parent 747aef1 commit 08df7cb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/includes/website.mk
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ site-gen-app-yaml:
"SERVICE=$(SERVICE) envsubst < app.yaml > .app.yaml"

site-deploy: site-gen-app-yaml site-static
docker run -t --rm $(common_mounts) --workdir=$(mount_path) $(DOCKER_RUN_ARGS) \
docker run --network=cloudbuild -t --rm $(common_mounts) --workdir=$(mount_path) $(DOCKER_RUN_ARGS) \
-e GO111MODULE=on -e SHORT_SHA=$(shell git rev-parse --short=7 HEAD) $(build_tag) bash -c \
'printenv && cd ./site && \
gcloud app deploy .app.yaml --no-promote --quiet --version=$$SHORT_SHA'
Expand Down
10 changes: 9 additions & 1 deletion build/release/pre_cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,12 @@ steps:
- DOCKER_RUN_ARGS=--network=cloudbuild
args: ["test-examples-on-gar"]

timeout: 3600s
#
# Deploys the site by taking in the base version and deploying the previous version
#
- name: "make-docker"
id: release-deploy-site
dir: "build"
args: ["release-deploy-site"]

timeout: 5400s
4 changes: 1 addition & 3 deletions docs/governance/templates/release_issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ and copy it into a release issue. Fill in relevant values, found inside {}
- [ ] Ensure the next version milestone is created.
- [ ] Any issues in the current milestone that are not closed, move to next milestone.
- [ ] `git checkout main && git pull --rebase upstream main`
- [ ] Run `make release-deploy-site`
- For example, if you are creating the {version} release, then this would deploy the {version}-1 service (release minus one, and then replace dots with dashes)
- [ ] Run `make pre-build-release` to ensure all example images exist on agones-images/examples repository.
- [ ] Run `make pre-build-release` to ensure all example images exist on agones-images/examples repository and to deploy the {version}-1 service on GCP/App Engine/Services.
- [ ] Ensure the [helm `tag` value][values] is correct (tag field value in image should be {version})
- [ ] Ensure the [helm `Chart` version values][chart] are correct (appVersion and version fields value should be {version})
- [ ] Update SDK Package Versions
Expand Down

0 comments on commit 08df7cb

Please sign in to comment.