From e3fdb6ea4fd009eaa11521b55829e1ecf48e9416 Mon Sep 17 00:00:00 2001 From: adrianiurca Date: Mon, 19 Jul 2021 13:17:42 +0300 Subject: [PATCH] pdksync v2.1.1 --- .github/workflows/spec.yml | 9 +++++---- Rakefile | 1 + metadata.json | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/spec.yml b/.github/workflows/spec.yml index 16f9316..7da4f3d 100644 --- a/.github/workflows/spec.yml +++ b/.github/workflows/spec.yml @@ -55,6 +55,11 @@ jobs: echo STEP_ID=Setup-Acceptance-Test-Matrix >> $GITHUB_ENV echo STEP_START=$(date +%s) >> $GITHUB_ENV + - name: Run Static & Syntax Tests + if: ${{ github.repository_owner == 'puppetlabs' }} + run: | + buildevents cmd $TRACE_ID $STEP_ID 'static_syntax_checks' -- bundle exec rake syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop + - name: Setup Spec Test Matrix id: get-matrix run: | @@ -120,10 +125,6 @@ jobs: buildevents cmd $TRACE_ID $STEP_ID 'bundle env' -- bundle env echo ::endgroup:: - - name: Run Static & Syntax Tests - run: | - buildevents cmd $TRACE_ID $STEP_ID 'static_syntax_checks Puppet ${{ matrix.puppet_version }}, Ruby ${{ matrix.ruby_version }}' -- bundle exec rake syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop - - name: Run parallel_spec tests run: | buildevents cmd $TRACE_ID $STEP_ID 'rake parallel_spec Puppet ${{ matrix.puppet_version }}, Ruby ${{ matrix.ruby_version }}' -- bundle exec rake parallel_spec diff --git a/Rakefile b/Rakefile index 2906c15..a365cb9 100644 --- a/Rakefile +++ b/Rakefile @@ -48,6 +48,7 @@ if Bundler.rubygems.find_name('github_changelog_generator').any? raise "Set CHANGELOG_GITHUB_TOKEN environment variable eg 'export CHANGELOG_GITHUB_TOKEN=valid_token_here'" if Rake.application.top_level_tasks.include? "changelog" and ENV['CHANGELOG_GITHUB_TOKEN'].nil? config.user = "#{changelog_user}" config.project = "#{changelog_project}" + config.since_tag = "v3.0.0" config.future_release = "#{changelog_future_release}" config.exclude_labels = ['maintenance'] config.header = "# Change log\n\nAll notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org)." diff --git a/metadata.json b/metadata.json index 84a9e84..f345db3 100644 --- a/metadata.json +++ b/metadata.json @@ -76,6 +76,6 @@ } ], "template-url": "https://github.com/puppetlabs/pdk-templates.git#main", - "template-ref": "heads/main-0-g03daa92", - "pdk-version": "2.1.0" + "template-ref": "heads/main-0-g2381db6", + "pdk-version": "2.1.1" } -- 2.45.2