forked from googleforgames/agones
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate Changelog - Release Automation: Add cloud build target for r…
…elease builds (googleforgames#2884) * Release target for cloud build job * Added Cloudbuild File * changing env variables * changelog gen changes * Handling CHANGELOG generation for both the release and RC * Updating release document to incorporate new CHANGELOG generation make target * Removed testing changes * Updated release doc * review changes
- Loading branch information
1 parent
961d8ae
commit 52889ee
Showing
3 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 2021 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
steps: | ||
- name: gcr.io/cloud-builders/gsutil | ||
entrypoint: bash | ||
args: | ||
- '-c' | ||
- 'gsutil mb $_STORAGE || true' | ||
id: create-bucket | ||
- name: ferrarimarco/github-changelog-generator:1.15.0 | ||
id: changelog | ||
entrypoint: sh | ||
args: | ||
- '-c' | ||
- 'github_changelog_generator --user=googleforgames --project=agones --bug-labels=kind/bug --enhancement-labels=kind/feature --breaking-labels=kind/breaking --security-labels=area/security --exclude-labels=duplicate,question,invalid,wontfix,priority/wontfix --future-release "v${_VERSION}" --release-branch=main --token $$GH_TOKEN' | ||
secretEnv: | ||
- GH_TOKEN | ||
artifacts: | ||
objects: | ||
location: '$_STORAGE' | ||
paths: | ||
- 'CHANGELOG.md' | ||
options: | ||
machineType: E2_HIGHCPU_32 | ||
dynamic_substitutions: true | ||
substitutions: | ||
_STORAGE: gs://${PROJECT_ID}-agones-releases | ||
availableSecrets: | ||
secretManager: | ||
- versionName: projects/${PROJECT_ID}/secrets/release-github-token/versions/latest | ||
env: GH_TOKEN | ||
timeout: 1800s | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters