From ac54306bf022800b57053949306218b9dd69853a Mon Sep 17 00:00:00 2001 From: Eimhin Laverty Date: Mon, 15 Apr 2019 10:34:14 +0100 Subject: [PATCH] pdksync - (maint) Update pdk-template to f778803 --- .gitignore | 2 +- .pdkignore | 4 +++- .puppet-lint.rc | 1 + .travis.yml | 34 +++++++++++++++++++++++----------- metadata.json | 6 +++--- 5 files changed, 31 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 88cf7a6c6e..3f4e2e8494 100644 --- a/.gitignore +++ b/.gitignore @@ -22,5 +22,5 @@ /convert_report.txt /update_report.txt .DS_Store -.vscode/ .envrc +/inventory.yaml diff --git a/.pdkignore b/.pdkignore index 2ec773abe2..54d2cda3ab 100644 --- a/.pdkignore +++ b/.pdkignore @@ -22,8 +22,8 @@ /convert_report.txt /update_report.txt .DS_Store -.vscode/ .envrc +/inventory.yaml /appveyor.yml /.fixtures.yml /Gemfile @@ -32,8 +32,10 @@ /.gitlab-ci.yml /.pdkignore /Rakefile +/rakelib/ /.rspec /.rubocop.yml /.travis.yml /.yardopts /spec/ +/.vscode/ diff --git a/.puppet-lint.rc b/.puppet-lint.rc index e69de29bb2..cc96ece051 100644 --- a/.puppet-lint.rc +++ b/.puppet-lint.rc @@ -0,0 +1 @@ +--relative diff --git a/.travis.yml b/.travis.yml index cc2ac0b13e..9472d0381e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,4 @@ --- -dist: trusty language: ruby cache: bundler before_install: @@ -12,10 +11,14 @@ script: - 'bundle exec rake $CHECK' bundler_args: --without system_tests rvm: - - 2.5.1 -env: - global: - - BEAKER_PUPPET_COLLECTION=puppet6 PUPPET_GEM_VERSION="~> 6.0" + - 2.5.3 +stages: + - static + - spec + - acceptance + - + if: tag =~ ^v\d + name: deploy matrix: fast_finish: true include: @@ -23,25 +26,34 @@ matrix: bundler_args: dist: trusty env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/centos-7 BEAKER_TESTMODE=apply - rvm: 2.5.1 + rvm: 2.5.3 script: bundle exec rake beaker services: docker + stage: acceptance sudo: required - bundler_args: dist: trusty env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=docker/ubuntu-14.04 BEAKER_TESTMODE=apply - rvm: 2.5.1 + rvm: 2.5.3 script: bundle exec rake beaker services: docker + stage: acceptance sudo: required - - env: CHECK="syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop" - - - env: CHECK=parallel_spec + env: CHECK="check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop syntax lint metadata_lint" + stage: static - env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec - rvm: 2.4.4 + rvm: 2.4.5 + stage: spec + - + env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec + rvm: 2.5.3 + stage: spec + - + env: DEPLOY_TO_FORGE=yes + stage: deploy branches: only: - master diff --git a/metadata.json b/metadata.json index 774e009105..53408abc4c 100644 --- a/metadata.json +++ b/metadata.json @@ -82,7 +82,7 @@ "version_requirement": ">= 5.5.10 < 7.0.0" } ], - "pdk-version": "1.8.0", - "template-url": "https://github.com/puppetlabs/pdk-templates", - "template-ref": "heads/master-0-gfde5699" + "pdk-version": "1.10.0", + "template-url": "https://github.com/puppetlabs/pdk-templates#master", + "template-ref": "heads/master-0-gf778803" }