forked from hubspotdevops/puppet-nexus
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test suite and some other adjustments
- Loading branch information
1 parent
7b75e22
commit dcfa583
Showing
22 changed files
with
358 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
fixtures: | ||
forge_modules: | ||
stdlib: 'puppetlabs/stdlib' | ||
wget: 'maestrodev/wget' | ||
wget: 'puppet/wget' | ||
symlinks: | ||
nexus: "#{source_dir}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Build and publish to Puppet Forge | ||
|
||
on: | ||
push: | ||
tags: | ||
- v[0-9]+.[0-9]+.[0-9]+ | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get latest tag | ||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
- name: Clone repository | ||
uses: actions/checkout@v1 | ||
with: | ||
ref: ${{ env.RELEASE_VERSION }} | ||
- name: Build and publish module | ||
uses: barnumbirr/[email protected] | ||
env: | ||
FORGE_API_KEY: ${{ secrets.FORGE_API_KEY }} | ||
REPOSITORY_URL: https://forgeapi.puppet.com/v3/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Run static validation | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Run static validation on puppet 5 | ||
uses: puppets-epic-show-theatre/action-pdk-validate@v1 | ||
with: | ||
puppet-version: "5" | ||
|
||
- name: Run static validation on puppet 6 | ||
uses: puppets-epic-show-theatre/action-pdk-validate@v1 | ||
with: | ||
puppet-version: "6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Run unit tests | ||
|
||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Run unit tests on puppet 5 | ||
uses: puppets-epic-show-theatre/action-pdk-test-unit@v1 | ||
with: | ||
puppet-version: "5" | ||
|
||
- name: Run unit tests on puppet 6 | ||
uses: puppets-epic-show-theatre/action-pdk-test-unit@v1 | ||
with: | ||
puppet-version: "6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
disable_legacy_facts: false | ||
appveyor.yml: | ||
delete: true | ||
.gitlab-ci.yml: | ||
delete: true | ||
.travis.yml: | ||
delete: true | ||
.pdkignore: | ||
paths: | ||
- /.github/ | ||
- Vagrantfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"jpogran.puppet-vscode", | ||
"puppet.puppet-vscode", | ||
"rebornix.Ruby" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"name": "pest-nexus", | ||
"version": "1.7.4", | ||
"author": "Tom McLaughlin <[email protected]>, Puppet Enterprise Support Team", | ||
"version": "1.7.5", | ||
"author": "Puppets Epic Show Theatre", | ||
"summary": "Puppet module for Sonatype Nexus", | ||
"license": "MIT", | ||
"source": "https://github.com/puppet-enterprise-support-team/puppet-nexus", | ||
"project_page": "https://github.com/puppet-enterprise-support-team/puppet-nexus", | ||
"issues_url": "https://github.com/puppet-enterprise-support-team/puppet-nexus/issues", | ||
"source": "https://github.com/puppets-epic-show-theatre/puppet-nexus", | ||
"project_page": "https://github.com/puppets-epic-show-theatre/puppet-nexus", | ||
"issues_url": "https://github.com/puppets-epic-show-theatre/puppet-nexus/issues", | ||
"dependencies": [ | ||
{ | ||
"name": "puppetlabs/stdlib", | ||
|
@@ -21,16 +21,12 @@ | |
{ | ||
"operatingsystem": "Centos", | ||
"operatingsystemrelease": [ | ||
"5", | ||
"6", | ||
"7" | ||
] | ||
}, | ||
{ | ||
"operatingsystem": "RedHat", | ||
"operatingsystemrelease": [ | ||
"5", | ||
"6", | ||
"7" | ||
] | ||
}, | ||
|
@@ -44,7 +40,6 @@ | |
{ | ||
"operatingsystem": "Debian", | ||
"operatingsystemrelease": [ | ||
"8", | ||
"9", | ||
"10" | ||
] | ||
|
@@ -56,7 +51,7 @@ | |
"version_requirement": ">= 4.10.0 < 7.0.0" | ||
} | ||
], | ||
"pdk-version": "1.16.0", | ||
"template-url": "pdk-default#1.16.0", | ||
"template-ref": "tags/1.16.0-0-gaf44904" | ||
"pdk-version": "1.18.1", | ||
"template-url": "pdk-default#1.18.1", | ||
"template-ref": "tags/1.18.1-0-g3d2e75c" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.