Merge pull request #486 from puppetlabs/pdksync_pdkupdate
pdksync - (maint) PDKSync - PDK Update
This commit is contained in:
2
.github/workflows/auto_release.yml
vendored
2
.github/workflows/auto_release.yml
vendored
@@ -1,8 +1,6 @@
|
|||||||
name: "Auto release"
|
name: "Auto release"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
|
||||||
- cron: '0 3 * * 6'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -38,10 +38,10 @@ jobs:
|
|||||||
ref: ${{ github.ref }}
|
ref: ${{ github.ref }}
|
||||||
clean: true
|
clean: true
|
||||||
- name: "PDK Build"
|
- name: "PDK Build"
|
||||||
uses: docker://puppet/pdk:2.1.0.0
|
uses: docker://puppet/pdk:nightly
|
||||||
with:
|
with:
|
||||||
args: 'build'
|
args: 'build'
|
||||||
- name: "Push to Forge"
|
- name: "Push to Forge"
|
||||||
uses: docker://puppet/pdk:2.1.0.0
|
uses: docker://puppet/pdk:nightly
|
||||||
with:
|
with:
|
||||||
args: 'release publish --forge-token ${{ secrets.FORGE_API_KEY }} --force'
|
args: 'release publish --forge-token ${{ secrets.FORGE_API_KEY }} --force'
|
||||||
|
|||||||
1
.github/workflows/spec.yml
vendored
1
.github/workflows/spec.yml
vendored
@@ -83,6 +83,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
BUILDEVENT_FILE: '../buildevents.txt'
|
BUILDEVENT_FILE: '../buildevents.txt'
|
||||||
PUPPET_GEM_VERSION: ${{ matrix.puppet_version }}
|
PUPPET_GEM_VERSION: ${{ matrix.puppet_version }}
|
||||||
|
FACTER_GEM_VERSION: 'https://github.com/puppetlabs/facter#main'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
/inventory.yaml
|
/inventory.yaml
|
||||||
/spec/fixtures/litmus_inventory.yaml
|
/spec/fixtures/litmus_inventory.yaml
|
||||||
/appveyor.yml
|
/appveyor.yml
|
||||||
|
/.editorconfig
|
||||||
/.fixtures.yml
|
/.fixtures.yml
|
||||||
/Gemfile
|
/Gemfile
|
||||||
/.gitattributes
|
/.gitattributes
|
||||||
|
|||||||
@@ -79,6 +79,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"template-url": "https://github.com/puppetlabs/pdk-templates.git#main",
|
"template-url": "https://github.com/puppetlabs/pdk-templates.git#main",
|
||||||
"template-ref": "heads/main-0-ge04486b",
|
"template-ref": "heads/main-0-g03daa92",
|
||||||
"pdk-version": "2.0.0"
|
"pdk-version": "2.1.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,6 +48,18 @@ RSpec.configure do |c|
|
|||||||
c.after(:suite) do
|
c.after(:suite) do
|
||||||
RSpec::Puppet::Coverage.report!(0)
|
RSpec::Puppet::Coverage.report!(0)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Filter backtrace noise
|
||||||
|
backtrace_exclusion_patterns = [
|
||||||
|
%r{spec_helper},
|
||||||
|
%r{gems},
|
||||||
|
]
|
||||||
|
|
||||||
|
if c.respond_to?(:backtrace_exclusion_patterns)
|
||||||
|
c.backtrace_exclusion_patterns = backtrace_exclusion_patterns
|
||||||
|
elsif c.respond_to?(:backtrace_clean_patterns)
|
||||||
|
c.backtrace_clean_patterns = backtrace_exclusion_patterns
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Ensures that a module is defined
|
# Ensures that a module is defined
|
||||||
|
|||||||
Reference in New Issue
Block a user