-
Notifications
You must be signed in to change notification settings - Fork 343
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
lint: fix camelCase #554
lint: fix camelCase #554
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets try /tests first
Where's this |
You've discovered the arcanes of the Terraform Provider 🧙🏼♂️ |
The provider is tightly coupled to CML, so we need to preserve backwards compatibility with the old underscore option for now. |
Partially reverts commit eca3a98
Co-authored-by: Helio Machado <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, including fc5a0ab!
/tests |
why fc5a0ab looks good? |
The issue with the current approach is that we're outputting the following message no matter what the actual error is:
Removing the catch-all block, we would get instead this slightly more opaque message in the case you describe:
It's not as explicit as the previous message, but at leaset it won't mask unrelated errors behind the same description. |
Ah FYI I don't intend to include fc5a0ab in this PR (will revert and leave for another issue) - it was a debug commit and clearly failed as I later realised that the In any case the cml/.github/workflows/checkbot.yml Line 6 in 3cbbce0
in which case it is successful (the docker image does indeed build successfully, and the later failure is unrelated to this PR). I propose to merge without fc5a0ab. Any objections? |
As I say the most probable error at that point specially in the CI is that. The CI is going to provide always a GITHUB_TOKEN. We could make the question or suggest the error like many others do to hint.
But as I say its going to be very rare that the error is not that. It is even always telling you the truth. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Caan we please squash and merge? 🙏
@DavidGOrtega I've removed that debug commit (we should leave it for another issue) - have you reviewed and are you happy with this PR as-is? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tf-resource what happened to it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
fixes #547
rm-watermark
commit-sha
mime-type
head-sha
user-name
user-email
gitlab-uploads
startup-script
ssh-private
spot-price
idle-timeout
hdd-size
cloud-ssh-private-visible
pipe-args
git-url-parse
tf-resource
which is annoying due to yargs/yargs#1679
Snake is dead. Snake? Snake! SNAKE!