Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(CAT-1997) Update TEMPLATE_REF for testing purposes #1385

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/pdk/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module PDK
VERSION = '3.2.0'.freeze
TEMPLATE_REF = '3.2.0'.freeze
TEMPLATE_REF = '3.2.0.3'.freeze
end
7 changes: 7 additions & 0 deletions package-testing/spec/package/airgapped_usage_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
end
end

# If this test fails with a mismatch between the expected and actual Gemfile.lock content, check that the following
# steps are up to date:
# - Ensure that the pdk-templates main has been given an anotated (it must be annotated) tag with the version number,
# if between releases add a fourth number to it, i.e. 3.2.0.3
# - Ensure that the pdk version.rb is pointing to this tag
# https://github.com/puppetlabs/pdk/blob/main/lib/pdk/version.rb
# - Ensure that the pdk-vanagon template pin is up to date with the pdk-templates main commit
context 'when validating the module' do
context "with puppet #{PDK_VERSION[:latest][:major]}" do
let(:ruby_version) { ruby_for_puppet(PDK_VERSION[:latest][:major]) }
Expand Down
7 changes: 7 additions & 0 deletions package-testing/spec/package/validate_a_new_module_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
end
end

# If this test fails with a mismatch between the expected and actual Gemfile.lock content, check that the following
# steps are up to date:
# - Ensure that the pdk-templates main has been given an anotated (it must be annotated) tag with the version number,
# if between releases add a fourth number to it, i.e. 3.2.0.3
# - Ensure that the pdk version.rb is pointing to this tag
# https://github.com/puppetlabs/pdk/blob/main/lib/pdk/version.rb
# - Ensure that the pdk-vanagon template pin is up to date with the pdk-templates main commit
context 'when validating the module' do
context "with puppet #{PDK_VERSION[:latest][:major]}" do
let(:ruby_version) { ruby_for_puppet(PDK_VERSION[:latest][:major]) }
Expand Down
Loading