mirror of
https://github.com/puppetlabs/vmpooler-dns-gcp.git
synced 2026-01-25 18:48:42 -05:00
No description
Add dependabot, release prep, and label reusable workflows from release-engineering-repo-standards |
||
|---|---|---|
| .github | ||
| lib | ||
| spec | ||
| util | ||
| .github_changelog_generator | ||
| .gitignore | ||
| .jrubyrc | ||
| .rubocop.yml | ||
| CHANGELOG.md | ||
| CODEOWNERS | ||
| Gemfile | ||
| Gemfile.lock | ||
| install-gemfile-lock | ||
| LICENSE | ||
| Rakefile | ||
| README.md | ||
| release-prep | ||
| update-gemfile-lock | ||
| vmpooler-dns-gcp.gemspec | ||
vmpooler-dns-gcp
Requirements
- A Google Cloud Project with the Cloud DNS enabled.
- A custom IAM role with the permissions listed in
util/vmpooler-dns-gcp-role.yaml. - A service account assigned to the custom role above.
- A service account key, using the account above, exported as
GOOGLE_APPLICATION_CREDENTIALSwhere VMPooler is run.
Usage
Example dns config setup:
:dns_configs:
:example:
dns_class: gcp
project: vmpooler-example
domain: vmpooler.example.com
zone_name: vmpooler-example-com
Examples of deploying VMPooler with dns configs can be found in the puppetlabs/vmpooler-deployment repository.
Update the Gemfile Lock
To update the Gemfile.lock run ./update-gemfile-lock.
Verify, and update if needed, that the docker tag in the script and GitHub action workflows matches what is used in the vmpooler-deployment Dockerfile.
Releasing
Follow these steps to publish a new GitHub release, and build and push the gem to https://rubygems.org.
- Bump the "VERSION" in
lib/vmpooler-dns-gcp/version.rbappropriately based on changes inCHANGELOG.mdsince the last release. - Run
./release-prepto updateGemfile.lockandCHANGELOG.md. - Commit and push changes to a new branch, then open a pull request against
mainand be sure to add the "maintenance" label. - After the pull request is approved and merged, then navigate to Actions --> Release Gem --> run workflow --> Branch: main --> Run workflow.
License
vmpooler-dns-gcp is distributed under the Apache License, Version 2.0. See the LICENSE file for more details.