Skip to content

Commit

Permalink
Merge branch 'main' into remote-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tw1r3 authored Aug 3, 2023
2 parents 9e51c97 + 8e239b3 commit 0745f05
Show file tree
Hide file tree
Showing 16 changed files with 446 additions and 327 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ on:
workflow_dispatch:

jobs:
spec:
strategy:
fail-fast: false
matrix:
ruby_version:
- '2.7'
- '3.2'
name: "spec (ruby ${{ matrix.ruby_version }})"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
Spec:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
secrets: "inherit"
with:
ruby_version: ${{ matrix.ruby_version }}
13 changes: 2 additions & 11 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,6 @@ on:
workflow_dispatch:

jobs:
spec:
strategy:
fail-fast: false
matrix:
ruby_version:
- '2.7'
- '3.2'
name: "spec (ruby ${{ matrix.ruby_version }})"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
Spec:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
secrets: "inherit"
with:
ruby_version: ${{ matrix.ruby_version }}
6 changes: 6 additions & 0 deletions .github/workflows/release_prep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ name: "Release Prep"

on:
workflow_dispatch:
inputs:
version:
description: "Version of module to be released. Must be a valid semver string. Ex: 1.0.0"
required: true

jobs:
release_prep:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_release_prep.yml@main"
with:
version: "${{ github.event.inputs.version }}"
secrets: "inherit"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/log/
/pkg/
/spec/fixtures/manifests/
/spec/fixtures/modules/
/spec/fixtures/modules/*
/tmp/
/vendor/
/convert_report.txt
Expand Down
2 changes: 1 addition & 1 deletion .pdkignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/log/
/pkg/
/spec/fixtures/manifests/
/spec/fixtures/modules/
/spec/fixtures/modules/*
/tmp/
/vendor/
/convert_report.txt
Expand Down
8 changes: 4 additions & 4 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Metrics/AbcSize:
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 138
Max: 200

# Offense count: 9
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 20
Max: 25

# Offense count: 19
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Expand All @@ -34,7 +34,7 @@ Metrics/ParameterLists:
# Offense count: 7
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 24
Max: 30

# Offense count: 2
# Configuration parameters: IgnoredMetadata.
Expand All @@ -51,7 +51,7 @@ RSpec/DescribeClass:
# Offense count: 4
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 13
Max: 30

# Offense count: 6
RSpec/MultipleExpectations:
Expand Down
114 changes: 23 additions & 91 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,105 +1,37 @@
# Change log
<!-- markdownlint-disable MD024 -->
# Changelog

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
All notable changes to this project will be documented in this file.

## [v2.0.0](https://github.com/puppetlabs/provision/tree/v2.0.0) (2023-05-04)
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

[Full Changelog](https://github.com/puppetlabs/provision/compare/v1.0.0...v2.0.0)
## [v2.1.1](https://github.com/puppetlabs/provision/tree/v2.1.1) - 2023-07-27

### Changed
[Full Changelog](https://github.com/puppetlabs/provision/compare/v2.1.0...v2.1.1)

- \(CONT-809\) Add Puppet 8 support [\#205](https://github.com/puppetlabs/provision/pull/205) ([GSPatton](https://github.com/GSPatton))
### Fixed

## [v1.0.0](https://github.com/puppetlabs/provision/tree/v1.0.0) (2023-05-03)
- (CAT-1253) - Fixes undefined variable in vagrant provisioner [#228](https://github.com/puppetlabs/provision/pull/228) ([jordanbreen28](https://github.com/jordanbreen28))

[Full Changelog](https://github.com/puppetlabs/provision/compare/254ad83d7bea85d163c3a6399dc86025af733cd3...v1.0.0)
## [v2.1.0](https://github.com/puppetlabs/provision/tree/v2.1.0) - 2023-07-25

### Changed

- \(feat\) move to v2 of the bolt inventory file [\#93](https://github.com/puppetlabs/provision/pull/93) ([tphoney](https://github.com/tphoney))
[Full Changelog](https://github.com/puppetlabs/provision/compare/v2.0.0...v2.1.0)

### Added

- Docker SSH forwarding port allocations [\#183](https://github.com/puppetlabs/provision/pull/183) ([hsnodgrass](https://github.com/hsnodgrass))
- \(IAC-1751/IAC-1752\) Add support for Rocky and AlmaLinux 8 to the docker provision task [\#179](https://github.com/puppetlabs/provision/pull/179) ([david22swan](https://github.com/david22swan))
- \(feat\) - Add updated Server/Agent setup plans to provision [\#175](https://github.com/puppetlabs/provision/pull/175) ([david22swan](https://github.com/david22swan))
- Allow provision service dev box provisioning with github token [\#174](https://github.com/puppetlabs/provision/pull/174) ([carabasdaniel](https://github.com/carabasdaniel))
- Add Vagrant provisioner compatibility for additional distros [\#169](https://github.com/puppetlabs/provision/pull/169) ([seanmil](https://github.com/seanmil))
- Add vagrant options [\#168](https://github.com/puppetlabs/provision/pull/168) ([seanmil](https://github.com/seanmil))
- Improve puppetserver install task [\#163](https://github.com/puppetlabs/provision/pull/163) ([adrianiurca](https://github.com/adrianiurca))
- Add install\_puppetserver task [\#158](https://github.com/puppetlabs/provision/pull/158) ([adrianiurca](https://github.com/adrianiurca))
- README.md: update link to Litmus documentation; spelling corrections [\#149](https://github.com/puppetlabs/provision/pull/149) ([kenyon](https://github.com/kenyon))
- \(feat\) allow abs to provision multiple of machines [\#146](https://github.com/puppetlabs/provision/pull/146) ([tphoney](https://github.com/tphoney))
- Add propagating the honeycomb trace context to the provision calls [\#145](https://github.com/puppetlabs/provision/pull/145) ([DavidS](https://github.com/DavidS))
- \(feat\) Allow for passing docker runtime options [\#143](https://github.com/puppetlabs/provision/pull/143) ([jarretlavallee](https://github.com/jarretlavallee))
- Add target\_names to bolt response for connectivity check [\#141](https://github.com/puppetlabs/provision/pull/141) ([DavidS](https://github.com/DavidS))
- \(feat\) allow ABS to accept bolt vars [\#126](https://github.com/puppetlabs/provision/pull/126) ([tphoney](https://github.com/tphoney))
- pdksync - \(IAC-973\) - Update travis/appveyor to run on new default branch `main` [\#124](https://github.com/puppetlabs/provision/pull/124) ([david22swan](https://github.com/david22swan))
- Make use of ABS Priority Queuing [\#123](https://github.com/puppetlabs/provision/pull/123) ([sanfrancrisko](https://github.com/sanfrancrisko))
- \(feat\) add in amazonlinux 2 compatibility [\#121](https://github.com/puppetlabs/provision/pull/121) ([tphoney](https://github.com/tphoney))
- Allow abs provider task to get token from fog file and set priority [\#115](https://github.com/puppetlabs/provision/pull/115) ([carabasdaniel](https://github.com/carabasdaniel))
- Add task to fix sudo's secure\_path [\#113](https://github.com/puppetlabs/provision/pull/113) ([tom-krieger](https://github.com/tom-krieger))
- docker: support podman; improve handling of OS distribution/version for non-litmusimage images [\#112](https://github.com/puppetlabs/provision/pull/112) ([reenberg](https://github.com/reenberg))
- Add vars support to the docker provisioner [\#96](https://github.com/puppetlabs/provision/pull/96) ([rtib](https://github.com/rtib))
- \(MODULES-10415\) add params for vagrant: provider, cpus & memory [\#91](https://github.com/puppetlabs/provision/pull/91) ([zoojar](https://github.com/zoojar))
- Clean up SSH setup on docker provisioning [\#77](https://github.com/puppetlabs/provision/pull/77) ([ekohl](https://github.com/ekohl))
- (maint) - Add connect-timeout to transport [#216](https://github.com/puppetlabs/provision/pull/216) ([jordanbreen28](https://github.com/jordanbreen28))

### Fixed

- \(CONT-953\) Fix bad include method [\#210](https://github.com/puppetlabs/provision/pull/210) ([GSPatton](https://github.com/GSPatton))
- Fixed: tasks/docker.rb [\#209](https://github.com/puppetlabs/provision/pull/209) ([shaun-rutherford](https://github.com/shaun-rutherford))
- \(Maint\) - remove deb family system volume [\#203](https://github.com/puppetlabs/provision/pull/203) ([jordanbreen28](https://github.com/jordanbreen28))
- \(GH-187\) Fixes abs failing provision if inventory file exists [\#190](https://github.com/puppetlabs/provision/pull/190) ([jpartlow](https://github.com/jpartlow))
- \(maint\) Fix Rocky and AlmaLinux support [\#180](https://github.com/puppetlabs/provision/pull/180) ([david22swan](https://github.com/david22swan))
- \[SEC-892 \] Remove hard-coded passwords from abs provision task [\#177](https://github.com/puppetlabs/provision/pull/177) ([carabasdaniel](https://github.com/carabasdaniel))
- \(REPLATS-169\) Add a timestamp to abs job\_id [\#166](https://github.com/puppetlabs/provision/pull/166) ([jpartlow](https://github.com/jpartlow))
- \(GH-380\) Moving inventory.yaml to /spec/fixtures/litmus\_inventory.yaml [\#161](https://github.com/puppetlabs/provision/pull/161) ([pmcmaw](https://github.com/pmcmaw))
- Fix typo from rubocop fixes in docker provisioner [\#150](https://github.com/puppetlabs/provision/pull/150) ([DavidS](https://github.com/DavidS))
- misc provision\_service improvements [\#140](https://github.com/puppetlabs/provision/pull/140) ([DavidS](https://github.com/DavidS))
- \(MAINT\) Update Docker provisioner image name gsub with '.' [\#136](https://github.com/puppetlabs/provision/pull/136) ([sanfrancrisko](https://github.com/sanfrancrisko))
- \(maint\) - Fix for Docker Oracle Linux 6 [\#135](https://github.com/puppetlabs/provision/pull/135) ([david22swan](https://github.com/david22swan))
- \(IAC-1229\) - Fix for Docker Oracle Linux [\#134](https://github.com/puppetlabs/provision/pull/134) ([david22swan](https://github.com/david22swan))
- \(IAC-1227\) fallback to imagename-based platform calculation for images that don't have `/etc/os-release` [\#133](https://github.com/puppetlabs/provision/pull/133) ([david22swan](https://github.com/david22swan))
- Fix amazonlinux detection [\#132](https://github.com/puppetlabs/provision/pull/132) ([DavidS](https://github.com/DavidS))
- Fix typo in readme [\#120](https://github.com/puppetlabs/provision/pull/120) ([DavidS](https://github.com/DavidS))
- Keep Job ID unique and output received messages from ABS [\#119](https://github.com/puppetlabs/provision/pull/119) ([carabasdaniel](https://github.com/carabasdaniel))
- \(IAC-822\) Improve robustness of ABS API retry loop [\#116](https://github.com/puppetlabs/provision/pull/116) ([sanfrancrisko](https://github.com/sanfrancrisko))
- \(bugfix\) change the server url for pe [\#107](https://github.com/puppetlabs/provision/pull/107) ([tphoney](https://github.com/tphoney))
- \(MAINT\) Fix vagrant provision on Windows [\#104](https://github.com/puppetlabs/provision/pull/104) ([michaeltlombardi](https://github.com/michaeltlombardi))
- Fix vagrant provisioner to run with spaces in arguments [\#101](https://github.com/puppetlabs/provision/pull/101) ([ghost](https://github.com/ghost))
- Error reporting and centos:6 handling [\#92](https://github.com/puppetlabs/provision/pull/92) ([DavidS](https://github.com/DavidS))
- \(bugfix\) update\_node\_pp, will append to the manifest file [\#88](https://github.com/puppetlabs/provision/pull/88) ([tphoney](https://github.com/tphoney))
- Fix quoting on centos docker provisioning. Solves "unexpected EOF while looking for matching `''" error on Windows 10 [\#86](https://github.com/puppetlabs/provision/pull/86) ([JohnEricson](https://github.com/JohnEricson))
- \(maint\) force rebuild of rpmdb [\#85](https://github.com/puppetlabs/provision/pull/85) ([DavidS](https://github.com/DavidS))
- \(maint\) remove ESM apt source for ubuntu 14.04 [\#84](https://github.com/puppetlabs/provision/pull/84) ([DavidS](https://github.com/DavidS))
- \(MODULES-10045\) Add check/alert for vagrant version [\#81](https://github.com/puppetlabs/provision/pull/81) ([michaeltlombardi](https://github.com/michaeltlombardi))
- \(maint\) Use a default for inventory location [\#79](https://github.com/puppetlabs/provision/pull/79) ([glennsarti](https://github.com/glennsarti))
- use the latest pe [\#76](https://github.com/puppetlabs/provision/pull/76) ([tphoney](https://github.com/tphoney))

### UNCATEGORIZED PRS; LABEL THEM ON GITHUB

- \(MAINT\) Support Puppet 8 [\#208](https://github.com/puppetlabs/provision/pull/208) ([coreymbe](https://github.com/coreymbe))
- Add ENV var for ABS Polling Duration [\#201](https://github.com/puppetlabs/provision/pull/201) ([seamymckenna](https://github.com/seamymckenna))
- add snyk [\#196](https://github.com/puppetlabs/provision/pull/196) ([LivingInSyn](https://github.com/LivingInSyn))
- \(SUP-2952\) \(Issue \#193\) - Retry if provisioning target returns a 500 [\#194](https://github.com/puppetlabs/provision/pull/194) ([BartoszBlizniak](https://github.com/BartoszBlizniak))
- \(maint\) Allow setting of abs subdomain [\#189](https://github.com/puppetlabs/provision/pull/189) ([jpartlow](https://github.com/jpartlow))
- \(maint\) Change references to facter\_task to be provision [\#188](https://github.com/puppetlabs/provision/pull/188) ([jpartlow](https://github.com/jpartlow))
- \(maint\) Add a spec case for the provision::abs task [\#186](https://github.com/puppetlabs/provision/pull/186) ([jpartlow](https://github.com/jpartlow))
- \(bug\) Fix abs checkout when 'ABS\_SSH\_PRIVATE\_KEY' is unset [\#185](https://github.com/puppetlabs/provision/pull/185) ([MikaelSmith](https://github.com/MikaelSmith))
- \(feat\) Add ssh key support to abs ssh transport [\#182](https://github.com/puppetlabs/provision/pull/182) ([jpartlow](https://github.com/jpartlow))
- \(maint\) Update default PE to 2019.8 [\#153](https://github.com/puppetlabs/provision/pull/153) ([da-ar](https://github.com/da-ar))
- \(CISC-973\) Handle vars in gcp provisioner [\#152](https://github.com/puppetlabs/provision/pull/152) ([HelenCampbell](https://github.com/HelenCampbell))
- Docker run opts [\#151](https://github.com/puppetlabs/provision/pull/151) ([hajee](https://github.com/hajee))
- Update to puppet-module-gems 1.0, pdk-templates and new rubocop [\#148](https://github.com/puppetlabs/provision/pull/148) ([DavidS](https://github.com/DavidS))
- Bolt task for provision service [\#131](https://github.com/puppetlabs/provision/pull/131) ([carabasdaniel](https://github.com/carabasdaniel))
- \[IAC-882\] - remove puts from abs::provision function [\#128](https://github.com/puppetlabs/provision/pull/128) ([adrianiurca](https://github.com/adrianiurca))
- Improve tagging in ABS provisioner [\#118](https://github.com/puppetlabs/provision/pull/118) ([DavidS](https://github.com/DavidS))
- Feature/ssh with vagrant [\#103](https://github.com/puppetlabs/provision/pull/103) ([ghost](https://github.com/ghost))
- Strip slashes from directories [\#94](https://github.com/puppetlabs/provision/pull/94) ([dylanratcliffe](https://github.com/dylanratcliffe))
- \(MAINT\) Downcase platform for windows regex check [\#90](https://github.com/puppetlabs/provision/pull/90) ([michaeltlombardi](https://github.com/michaeltlombardi))
- Add vars support to the docker\_exp provisioner [\#80](https://github.com/puppetlabs/provision/pull/80) ([Sharpie](https://github.com/Sharpie))
- Dont exit when a command returns a non-0 exit code [\#78](https://github.com/puppetlabs/provision/pull/78) ([da-ar](https://github.com/da-ar))



\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
- (CONT-1241) - Retrying when response body is nil or empty but response code is 200 [#221](https://github.com/puppetlabs/provision/pull/221) ([Ramesh7](https://github.com/Ramesh7))

## [v2.0.0](https://github.com/puppetlabs/provision/tree/v2.0.0) - 2023-05-04

[Full Changelog](https://github.com/puppetlabs/provision/compare/v1.0.0...v2.0.0)

### Changed
- (CONT-809) Add Puppet 8 support [#205](https://github.com/puppetlabs/provision/pull/205) ([GSPatton](https://github.com/GSPatton))

## [v1.0.0](https://github.com/puppetlabs/provision/tree/v1.0.0) - 2023-05-03

[Full Changelog](https://github.com/puppetlabs/provision/compare/254ad83d7bea85d163c3a6399dc86025af733cd3...v1.0.0)
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ group :development do
gem "json", '= 2.5.1', require: false if Gem::Requirement.create(['>= 3.0.0', '< 3.0.5']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "json", '= 2.6.1', require: false if Gem::Requirement.create(['>= 3.1.0', '< 3.1.3']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "json", '= 2.6.3', require: false if Gem::Requirement.create(['>= 3.2.0', '< 4.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "racc", '~> 1.4.0', require: false if Gem::Requirement.create(['>= 2.7.0', '< 3.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "voxpupuli-puppet-lint-plugins", '~> 5.0', require: false
gem "facterdb", '~> 1.18', require: false
gem "metadata-json-lint", '~> 3.0', require: false
Expand Down
Loading

0 comments on commit 0745f05

Please sign in to comment.