Skip to content

pdksync - (Maint) PDK Update #1234

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

Merged
merged 3 commits into from
May 5, 2022
Merged

pdksync - (Maint) PDK Update #1234

merged 3 commits into from
May 5, 2022

Conversation

david22swan
Copy link
Member

(Maint) PDK Update
pdk version: 2.3.0

@david22swan david22swan requested a review from a team as a code owner April 20, 2022 10:18
- 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really understand why this is so complex. It can be this easy:

Suggested change
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
buildevents cmd $TRACE_ID $STEP_ID 'static_syntax_checks' -- bundle exec rake validate lint check rubocop

I also submitted a PR for this in puppetlabs/pdk-templates#441 but it looks like this is lost somehow?

@@ -115,5 +115,5 @@
"description": "Standard Library for Puppet Modules",
"pdk-version": "2.3.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't pdk-version supposed to be 2.4.0?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, the version updated in between the original commit and when I added the fixes and exclusions. Since this one required no exclusions a second pdksync wasn't run

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine to merge.
It doesn't really mean much

@LukasAud LukasAud merged commit e428e18 into main May 5, 2022
@LukasAud LukasAud deleted the pdksync_maint/pdk_update_20-04 branch May 5, 2022 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants