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

ci: merge travis matrix, add salt-lint & rubocop to lint job #49

Conversation

myii
Copy link
Member

@myii myii commented Oct 9, 2019


@dafyddj I've rolled this out as one of the first conversions, so that we minimise delays for #48. Note that this involved fixing one file to get salt-lint passing:

[204] Lines should be no longer that 160 chars
vault/files/cert-gen.sh.j2:34
root_subj="/C={{ vault.self_signed_cert.country }}/ST={{ vault.self_signed_cert.state }}/L={{ vault.self_signed_cert.city }}/O={{ vault.self_signed_cert.org }}/OU={{ vault.self_signed_cert.org_unit }}/CN=$root\_ca"

[204] Lines should be no longer that 160 chars
vault/files/cert-gen.sh.j2:75
child_subj="/C={{ vault.self_signed_cert.country }}/ST={{ vault.self_signed_cert.state }}/L={{ vault.self_signed_cert.city }}/O={{ vault.self_signed_cert.org }}/OU={{ vault.self_signed_cert.org_unit }}/CN=$child_name"
  • Please ensure the fix is appropriate.

Otherwise, as I mentioned in saltstack-formulas/template-formula#175 (comment), we're using allow_failures on the separate rubocop lint job.

```bash
Examining vault/files/cert-gen.sh.j2 of type state
[204] Lines should be no longer that 160 chars
vault/files/cert-gen.sh.j2:34
root_subj="/C={{ vault.self_signed_cert.country }}/ST={{ vault.self_signed_cert.state }}/L={{ vault.self_signed_cert.city }}/O={{ vault.self_signed_cert.org }}/OU={{ vault.self_signed_cert.org_unit }}/CN=$root\_ca"

[204] Lines should be no longer that 160 chars
vault/files/cert-gen.sh.j2:75
child_subj="/C={{ vault.self_signed_cert.country }}/ST={{ vault.self_signed_cert.state }}/L={{ vault.self_signed_cert.city }}/O={{ vault.self_signed_cert.org }}/OU={{ vault.self_signed_cert.org_unit }}/CN=$child_name"
```
@myii myii requested a review from dafyddj October 9, 2019 00:19
Copy link
Contributor

@dafyddj dafyddj left a comment

Choose a reason for hiding this comment

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

Many great improvements - and thanks for taking my comments on board 👍.

@dafyddj dafyddj merged commit 6b70e6e into saltstack-formulas:master Oct 9, 2019
@myii
Copy link
Member Author

myii commented Oct 9, 2019

You're welcome, they were good suggestions! Thanks for the merge.

@saltstack-formulas-travis

🎉 This PR is included in version 1.2.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants