Add changelog generator and scripts to update files

This commit is contained in:
Jake Spain 2023-01-30 16:16:24 -05:00
parent f6165999d1
commit 162c034e32
No known key found for this signature in database
GPG key ID: BC1C4DA0A085E113
3 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,3 @@
project=vmpooler-dns-google-clouddns
user=puppetlabs
exclude_labels=maintenance

5
update-changelog Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
docker run -it --rm -e CHANGELOG_GITHUB_TOKEN -v $(pwd):/usr/local/src/your-app \
githubchangeloggenerator/github-changelog-generator:1.16.2 \
github_changelog_generator --future-release $(grep VERSION lib/vmpooler-dns-google-clouddns/version.rb |rev |cut -d "'" -f2 |rev)

7
update-gemfile-lock Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# The container tag should closely match what is used in `docker/Dockerfile` in vmpooler-deployment
docker run -it --rm \
-v $(pwd):/app \
jruby:9.3.6-jdk \
/bin/bash -c 'apt-get update -qq && apt-get install -y --no-install-recommends make git && cd /app && gem install bundler && bundle install --jobs 3 && bundle update; echo "LOCK_FILE_UPDATE_EXIT_CODE=$?"'