Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.7.0 #32

Merged
merged 3 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .fixtures.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
fixtures:
forge_modules:
facts:
ruby_task_helper:
repo: "puppetlabs/ruby_task_helper"
ref: "0.4.0"
ref: "0.6.1"
ruby_plugin_helper:
repo: "puppetlabs/ruby_plugin_helper"
ref: "0.1.0"
ref: "0.2.0"
repositories:
puppet_agent:
repo: https://github.com/puppetlabs/puppetlabs-puppet_agent.git
ref: v4.13.0
facts: https://github.com/puppetlabs/puppetlabs-facts.git
provision: https://github.com/puppetlabs/provision.git
17 changes: 17 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "ci"

on:
pull_request:
branches:
- 'main'
workflow_dispatch:

jobs:
Spec:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
secrets: "inherit"

Acceptance:
needs: Spec
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
secrets: "inherit"
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Style/SymbolArray:
EnforcedStyle: brackets
RSpec/NamedSubject:
Enabled: false
Rspec/SubjectStub:
RSpec/SubjectStub:
Enabled: false
RSpec/MessageSpies:
EnforcedStyle: receive
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## Release 0.7.0

### Added

* New `refresh` task and plan

Task executes a terraform refresh to enable updating the state without running an apply, which could potentially destroy resources.

* New `refresh_state` option added to apply plan

Will run the `terrafrom::refresh` task after doing an apply. This allows for situations where resources were modified during the apply and not written to state so a refresh is required to capture them.

### Changed

* Puppet 8 Support / Drop Puppet 4 & 5

## Release 0.6.1

### Bug fixes
Expand Down
40 changes: 32 additions & 8 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-terraform",
"version": "0.6.1",
"version": "0.7.0",
"author": "Puppet, Inc.",
"summary": "A task to generate Bolt inventory from Terraform statefiles",
"license": "Apache-2.0",
Expand All @@ -19,7 +19,8 @@
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7"
"7",
"8"
]
},
{
Expand All @@ -31,7 +32,9 @@
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"8"
"7",
"8",
"9"
]
},
{
Expand All @@ -40,23 +43,44 @@
"7"
]
},
{
"operatingsystem": "SLES",
"operatingsystemrelease": [
"12",
"15"
]
},
{
"operatingsystem": "AlmaLinux",
"operatingsystemrelease": [
"8"
]
},
{
"operatingsystem": "Rocky",
"operatingsystemrelease": [
"8"
]
},
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"9"
"10",
"11"
]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
"18.04"
"20.04",
"22.04"
]
},
{
"operatingsystem": "windows",
"operatingsystem": "Windows",
"operatingsystemrelease": [
"2019",
"10"
"10",
"2022"
]
}
],
Expand Down
29 changes: 29 additions & 0 deletions provision.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
default:
provisioner: docker
images:
- litmusimage/ubuntu:22.04
vagrant:
provisioner: vagrant
images:
- litmusimage/rockylinux:8
- litmusimage/ubuntu:22.04
- gusztavvargadr/windows-server
yum:
provisioner: docker
images:
- litmusimage/rockylinux:8
apt:
provisioner: docker
images:
- litmusimage/ubuntu:22.04
release_checks_7:
provisioner: abs
images:
- win-10-pro-x86_64
- ubuntu-2004-x86_64
release_checks_8:
provisioner: abs
images:
- win-10-pro-x86_64
- ubuntu-2004-x86_64
Loading