Skip to content

Commit 4bb9065

Browse files
authored
Merge branch 'master' into hotfix/ubuntu-puppet-facts
2 parents ae3c008 + 68313a4 commit 4bb9065

10 files changed

Lines changed: 497 additions & 54 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM puppet/pdk:latest
2+
3+
# [Optional] Uncomment this section to install additional packages.
4+
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
5+
# && apt-get -y install --no-install-recommends <your-package-list-here>
6+

.devcontainer/devcontainer.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/puppet
3+
{
4+
"name": "Puppet Development Kit (Community)",
5+
"dockerFile": "Dockerfile",
6+
7+
// Set *default* container specific settings.json values on container create.
8+
"settings": {
9+
"terminal.integrated.shell.linux": "/bin/bash"
10+
},
11+
12+
// Add the IDs of extensions you want installed when the container is created.
13+
"extensions": [
14+
"puppet.puppet-vscode",
15+
"rebornix.Ruby"
16+
]
17+
18+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
19+
// "forwardPorts": [],
20+
21+
// Use 'postCreateCommand' to run commands after the container is created.
22+
// "postCreateCommand": "pdk --version",
23+
}

.github/workflows/build.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ jobs:
2020
matrix:
2121
include:
2222
# note: actions/setup-ruby only allows using a major.minor release of ruby
23-
- ruby: '2.5'
24-
puppet: "6.0"
23+
- ruby: '2.7'
24+
puppet: "7.0"
2525
check: "check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop syntax lint metadata_lint"
2626
name: 'static'
27-
- ruby: '2.4'
28-
puppet: "5.0"
29-
check: "parallel_spec"
30-
name: 'spec'
3127
- ruby: '2.5'
3228
puppet: "6.0"
3329
check: "parallel_spec"
3430
name: 'spec'
31+
- ruby: '2.7'
32+
puppet: "7.0"
33+
check: "parallel_spec"
34+
name: 'spec'
3535
env:
3636
CHECK: '${{ matrix.check }}'
3737
PUPPET_GEM_VERSION: '~> ${{ matrix.puppet }}'
@@ -83,8 +83,8 @@ jobs:
8383
matrix:
8484
include:
8585
# note: actions/setup-ruby only allows using a major.minor release of ruby
86-
- ruby: '2.5'
87-
puppet: "6.0"
86+
- ruby: '2.7'
87+
puppet: "7.0"
8888
env:
8989
PUPPET_GEM_VERSION: '~> ${{ matrix.puppet }}'
9090
# lock to 2.1.0 because 2.2.0 is causing issues during builds

.pdkignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
/.gitignore
3333
/.gitlab-ci.yml
3434
/.pdkignore
35+
/.puppet-lint.rc
3536
/Rakefile
3637
/rakelib/
3738
/.rspec
@@ -40,3 +41,4 @@
4041
/.yardopts
4142
/spec/
4243
/.vscode/
44+
/.sync.yml

0 commit comments

Comments
 (0)