No description
Find a file
2023-04-19 16:56:57 -04:00
.github Bump jruby to 9.4.2.0 2023-04-19 16:56:57 -04:00
lib 1.0.0 release prep 2023-04-18 20:55:49 -04:00
spec Renamed spec files 2023-04-18 12:21:52 -04:00
util Update docs 2023-04-18 12:21:52 -04:00
.github_changelog_generator Rename 2023-04-18 12:21:52 -04:00
.gitignore Run bundle gem vmpooler-dns-google-clouddns 2023-04-17 09:55:55 -04:00
.jrubyrc Add rakefile and rubocop config from other provider gems 2023-04-18 12:18:37 -04:00
.rubocop.yml Add rakefile and rubocop config from other provider gems 2023-04-18 12:18:37 -04:00
CHANGELOG.md 1.0.0 release prep 2023-04-18 20:55:49 -04:00
CODEOWNERS CODEOWNERS by slack-gitbot 2023-01-27 14:09:34 -08:00
Gemfile Move version identifier and update gemfile and gemspec 2023-04-17 09:56:05 -04:00
Gemfile.lock 1.0.0 release prep 2023-04-18 20:55:49 -04:00
install-gemfile-lock Bump jruby to 9.4.2.0 2023-04-19 16:56:57 -04:00
LICENSE Add license 2023-04-17 09:56:02 -04:00
Rakefile Add rakefile and rubocop config from other provider gems 2023-04-18 12:18:37 -04:00
README.md Use jruby 9.4.1 2023-04-18 12:21:52 -04:00
release-prep Bump jruby to 9.4.2.0 2023-04-19 16:56:57 -04:00
update-gemfile-lock Bump jruby to 9.4.2.0 2023-04-19 16:56:57 -04:00
vmpooler-dns-gcp.gemspec Bump vmpooler requirement and add install gemfile script 2023-04-18 12:21:52 -04:00

vmpooler-dns-gcp

Requirements

  1. A Google Cloud Project with the Cloud DNS enabled.
  2. A custom IAM role with the permissions listed in util/vmpooler-dns-gcp-role.yaml.
  3. A service account assigned to the custom role above.
  4. A service account key, using the account above, exported as GOOGLE_APPLICATION_CREDENTIALS where 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.

  1. Bump the "VERSION" in lib/vmpooler-dns-gcp/version.rb appropriately based on changes in CHANGELOG.md since the last release.
  2. Run ./release-prep to update Gemfile.lock and CHANGELOG.md.
  3. Commit and push changes to a new branch, then open a pull request against main and be sure to add the "maintenance" label.
  4. 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.