mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Compare commits
95 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b6d6f73cd | ||
|
|
b2fd9313f8 | ||
|
|
41d55e44b8 | ||
|
|
fa92cad278 | ||
|
|
8df6ceb676 | ||
|
|
197c6e2e60 | ||
|
|
d6f1eeddc6 | ||
|
|
721881395c | ||
|
|
6a46261844 | ||
|
|
d26bac7409 | ||
|
|
f0195ee4db | ||
|
|
82f522e911 | ||
|
|
d46b7f10ef | ||
|
|
e4151a00ce | ||
|
|
bea7434436 | ||
|
|
58ddd50618 | ||
|
|
6285e2c854 | ||
|
|
d1806b23eb | ||
|
|
43b1977721 | ||
|
|
dc0e440c86 | ||
|
|
98c45a5ed3 | ||
|
|
06a9b95edf | ||
|
|
83d23be8d7 | ||
|
|
5b09d14926 | ||
|
|
e575ee1ba8 | ||
|
|
ddc35eb118 | ||
|
|
2acf63c8ba | ||
|
|
3213b33b98 | ||
|
|
813e76befc | ||
|
|
473f584a90 | ||
|
|
83bf0877b6 | ||
|
|
7f32c1aeb2 | ||
|
|
40a0b2e2c6 | ||
|
|
00484568c0 | ||
|
|
6e7c609d10 | ||
|
|
30938db02e | ||
|
|
6c1fe12a44 | ||
|
|
3425bec1d8 | ||
|
|
03d7bb7963 | ||
|
|
c1f93e40f7 | ||
|
|
e61be465ed | ||
|
|
e58a1eb68e | ||
|
|
8f42af544a | ||
|
|
c0609d87b7 | ||
|
|
0d20d2cf2f | ||
|
|
961e3d9b3d | ||
|
|
debc766d28 | ||
|
|
df08f383fe | ||
|
|
11beb6c933 | ||
|
|
a5d5cdc53f | ||
|
|
edff58a319 | ||
|
|
cc018b0599 | ||
|
|
858e627c62 | ||
|
|
cd412f8a07 | ||
|
|
0d8cb0232f | ||
|
|
0352a687c6 | ||
|
|
b388bc5f48 | ||
|
|
4c9c82a7c2 | ||
|
|
50d3088ad8 | ||
|
|
cf362c4f08 | ||
|
|
375eb6b9fd | ||
|
|
d5f1d61bd1 | ||
|
|
85ae0c9914 | ||
|
|
b460f1b2a8 | ||
|
|
511ad870a5 | ||
|
|
93ecadf49a | ||
|
|
05ae2e55da | ||
|
|
b194e4a881 | ||
|
|
494bd3412c | ||
|
|
415b92ff97 | ||
|
|
03ebf1d79a | ||
|
|
affbdd64c4 | ||
|
|
5953ad89a4 | ||
|
|
215ec97dcf | ||
|
|
28b64a6913 | ||
|
|
c5ea73a3ad | ||
|
|
648cb150c9 | ||
|
|
296a2eb5ef | ||
|
|
df45ec0180 | ||
|
|
f77bb2b29a | ||
|
|
ded2cd69dd | ||
|
|
05432f0387 | ||
|
|
aa623ecd3e | ||
|
|
9f72be5126 | ||
|
|
a2bf9ead58 | ||
|
|
91328afc96 | ||
|
|
93aef491c6 | ||
|
|
75cd758aad | ||
|
|
ae42ba08ae | ||
|
|
e5c47691d3 | ||
|
|
6afb47c609 | ||
|
|
0119f38ad9 | ||
|
|
7f06fbd0bc | ||
|
|
b2cd786a42 | ||
|
|
ebede7799d |
11 changed files with 99 additions and 62 deletions
26
.github/dependabot.yml
vendored
26
.github/dependabot.yml
vendored
|
|
@ -1,13 +1,19 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
open-pull-requests-limit: 10
|
||||
- package-ecosystem: bundler
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
open-pull-requests-limit: 10
|
||||
|
||||
- package-ecosystem: bundler
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
open-pull-requests-limit: 10
|
||||
- package-ecosystem: docker
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
open-pull-requests-limit: 10
|
||||
|
||||
- package-ecosystem: github-actions
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
open-pull-requests-limit: 10
|
||||
|
|
|
|||
12
.github/workflows/auto_release_prep.yml
vendored
Normal file
12
.github/workflows/auto_release_prep.yml
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
name: Automated release prep
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
auto_release_prep:
|
||||
uses: puppetlabs/release-engineering-repo-standards/.github/workflows/auto_release_prep.yml@v1
|
||||
secrets: inherit
|
||||
with:
|
||||
project-type: ruby
|
||||
version-file-path: lib/vmfloaty/version.rb
|
||||
8
.github/workflows/dependabot_merge.yml
vendored
Normal file
8
.github/workflows/dependabot_merge.yml
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
name: Dependabot auto-merge
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
dependabot_merge:
|
||||
uses: puppetlabs/release-engineering-repo-standards/.github/workflows/dependabot_merge.yml@v1
|
||||
secrets: inherit
|
||||
8
.github/workflows/ensure_label.yml
vendored
Normal file
8
.github/workflows/ensure_label.yml
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
name: Ensure label
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
ensure_label:
|
||||
uses: puppetlabs/release-engineering-repo-standards/.github/workflows/ensure_label.yml@v1
|
||||
secrets: inherit
|
||||
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
clean: true
|
||||
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
echo "Found version $version from lib/vmfloaty/version.rb"
|
||||
|
||||
- name: Get Current Version
|
||||
uses: actions/github-script@v6
|
||||
uses: actions/github-script@v7
|
||||
id: cv
|
||||
with:
|
||||
script: |
|
||||
|
|
@ -82,17 +82,17 @@ jobs:
|
|||
prerelease: false
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
tags: |
|
||||
|
|
|
|||
4
.github/workflows/security.yml
vendored
4
.github/workflows/security.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout repo content
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: setup ruby
|
||||
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
- name: check lock
|
||||
run: '[ -f "Gemfile.lock" ] && echo "package lock file exists, skipping" || bundle lock'
|
||||
# install java
|
||||
- uses: actions/setup-java@v3
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||
java-version: '17'
|
||||
|
|
|
|||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
- '3.2'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Ruby
|
||||
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
||||
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM ruby:3.2.2-slim-bullseye
|
||||
FROM ruby:3.3.5-slim-bullseye
|
||||
|
||||
LABEL org.opencontainers.image.authors="@puppetlabs/release-engineering"
|
||||
LABEL org.opencontainers.image.title="vmfloaty"
|
||||
|
|
|
|||
8
Gemfile
8
Gemfile
|
|
@ -8,11 +8,11 @@ gem 'rake', require: false
|
|||
|
||||
group :test do
|
||||
gem 'simplecov', '~> 0.22.0'
|
||||
gem 'simplecov-html', '~> 0.12.3'
|
||||
gem 'simplecov-html', '~> 0.13.1'
|
||||
gem 'simplecov-lcov', '~> 0.8.0'
|
||||
gem 'pry'
|
||||
gem 'rb-readline'
|
||||
gem 'rspec', '~> 3.12.0'
|
||||
gem 'rubocop', '~> 1.55'
|
||||
gem 'webmock', '~> 3.13'
|
||||
gem 'rspec', '~> 3.13.0'
|
||||
gem 'rubocop', '~> 1.66'
|
||||
gem 'webmock', '~> 3.23'
|
||||
end
|
||||
|
|
|
|||
77
Gemfile.lock
77
Gemfile.lock
|
|
@ -8,15 +8,17 @@ PATH
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
addressable (2.8.1)
|
||||
addressable (2.8.6)
|
||||
public_suffix (>= 2.0.2, < 6.0)
|
||||
ast (2.4.2)
|
||||
bigdecimal (3.1.8)
|
||||
coderay (1.1.3)
|
||||
commander (4.6.0)
|
||||
highline (~> 2.0.0)
|
||||
crack (0.4.5)
|
||||
crack (1.0.0)
|
||||
bigdecimal
|
||||
rexml
|
||||
diff-lcs (1.5.0)
|
||||
diff-lcs (1.5.1)
|
||||
docile (1.4.0)
|
||||
faraday (1.10.3)
|
||||
faraday-em_http (~> 1.0)
|
||||
|
|
@ -41,63 +43,64 @@ GEM
|
|||
faraday-patron (1.0.0)
|
||||
faraday-rack (1.0.0)
|
||||
faraday-retry (1.0.3)
|
||||
hashdiff (1.0.1)
|
||||
hashdiff (1.1.0)
|
||||
highline (2.0.3)
|
||||
json (2.6.3)
|
||||
json (2.7.2)
|
||||
language_server-protocol (3.17.0.3)
|
||||
method_source (1.0.0)
|
||||
multipart-post (2.3.0)
|
||||
parallel (1.23.0)
|
||||
parser (3.2.2.3)
|
||||
parallel (1.26.3)
|
||||
parser (3.3.5.0)
|
||||
ast (~> 2.4.1)
|
||||
racc
|
||||
pry (0.14.2)
|
||||
coderay (~> 1.1)
|
||||
method_source (~> 1.0)
|
||||
public_suffix (5.0.1)
|
||||
racc (1.7.1)
|
||||
public_suffix (5.0.5)
|
||||
racc (1.8.1)
|
||||
rainbow (3.1.1)
|
||||
rake (13.0.6)
|
||||
rake (13.2.1)
|
||||
rb-readline (0.5.5)
|
||||
regexp_parser (2.8.1)
|
||||
rexml (3.2.6)
|
||||
rspec (3.12.0)
|
||||
rspec-core (~> 3.12.0)
|
||||
rspec-expectations (~> 3.12.0)
|
||||
rspec-mocks (~> 3.12.0)
|
||||
rspec-core (3.12.1)
|
||||
rspec-support (~> 3.12.0)
|
||||
rspec-expectations (3.12.2)
|
||||
regexp_parser (2.9.2)
|
||||
rexml (3.3.6)
|
||||
strscan
|
||||
rspec (3.13.0)
|
||||
rspec-core (~> 3.13.0)
|
||||
rspec-expectations (~> 3.13.0)
|
||||
rspec-mocks (~> 3.13.0)
|
||||
rspec-core (3.13.0)
|
||||
rspec-support (~> 3.13.0)
|
||||
rspec-expectations (3.13.0)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.12.0)
|
||||
rspec-mocks (3.12.5)
|
||||
rspec-support (~> 3.13.0)
|
||||
rspec-mocks (3.13.0)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.12.0)
|
||||
rspec-support (3.12.0)
|
||||
rubocop (1.55.1)
|
||||
rspec-support (~> 3.13.0)
|
||||
rspec-support (3.13.0)
|
||||
rubocop (1.66.1)
|
||||
json (~> 2.3)
|
||||
language_server-protocol (>= 3.17.0)
|
||||
parallel (~> 1.10)
|
||||
parser (>= 3.2.2.3)
|
||||
parser (>= 3.3.0.2)
|
||||
rainbow (>= 2.2.2, < 4.0)
|
||||
regexp_parser (>= 1.8, < 3.0)
|
||||
rexml (>= 3.2.5, < 4.0)
|
||||
rubocop-ast (>= 1.28.1, < 2.0)
|
||||
regexp_parser (>= 2.4, < 3.0)
|
||||
rubocop-ast (>= 1.32.2, < 2.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (>= 2.4.0, < 3.0)
|
||||
rubocop-ast (1.29.0)
|
||||
parser (>= 3.2.1.0)
|
||||
rubocop-ast (1.32.3)
|
||||
parser (>= 3.3.1.0)
|
||||
ruby-progressbar (1.13.0)
|
||||
ruby2_keywords (0.0.5)
|
||||
simplecov (0.22.0)
|
||||
docile (~> 1.1)
|
||||
simplecov-html (~> 0.11)
|
||||
simplecov_json_formatter (~> 0.1)
|
||||
simplecov-html (0.12.3)
|
||||
simplecov-html (0.13.1)
|
||||
simplecov-lcov (0.8.0)
|
||||
simplecov_json_formatter (0.1.4)
|
||||
unicode-display_width (2.4.2)
|
||||
webmock (3.18.1)
|
||||
strscan (3.1.0)
|
||||
unicode-display_width (2.5.0)
|
||||
webmock (3.23.1)
|
||||
addressable (>= 2.8.0)
|
||||
crack (>= 0.3.2)
|
||||
hashdiff (>= 0.4.0, < 2.0.0)
|
||||
|
|
@ -110,13 +113,13 @@ DEPENDENCIES
|
|||
pry
|
||||
rake
|
||||
rb-readline
|
||||
rspec (~> 3.12.0)
|
||||
rubocop (~> 1.55)
|
||||
rspec (~> 3.13.0)
|
||||
rubocop (~> 1.66)
|
||||
simplecov (~> 0.22.0)
|
||||
simplecov-html (~> 0.12.3)
|
||||
simplecov-html (~> 0.13.1)
|
||||
simplecov-lcov (~> 0.8.0)
|
||||
vmfloaty!
|
||||
webmock (~> 3.13)
|
||||
webmock (~> 3.23)
|
||||
|
||||
BUNDLED WITH
|
||||
2.4.8
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# bundle install
|
||||
docker run -it --rm \
|
||||
docker run -t --rm \
|
||||
-v $(pwd):/app \
|
||||
$(grep ^FROM ./Dockerfile |cut -d ' ' -f2) \
|
||||
/bin/bash -c 'apt-get update -qq && apt-get install -y --no-install-recommends build-essential make openssh-client && cd /app && gem install bundler && bundle install --jobs 3; echo "LOCK_FILE_UPDATE_EXIT_CODE=$?"'
|
||||
|
||||
# Update Changelog
|
||||
docker run -it --rm -e CHANGELOG_GITHUB_TOKEN -v $(pwd):/usr/local/src/your-app \
|
||||
docker run -t --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/vmfloaty/version.rb |rev |cut -d "'" -f2 |rev)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue