Skip to content

Conversation

TwistedTwigleg
Copy link
Contributor

Description of changes:

Adds running the Greengrass discovery sample in CI. It also unifies the command line options with the Python SDK, which allows for only printing the discovery information. Now the sample has been adjusted to print the discovery information and, if the option is set, it will only print the discovery information. Previously the sample didn't print the discovery information at all. I tried to make the print format similar to Python.

This PR also changes the sample a bit so it doesn't require passing a CA file (though it still works if you pass one) and removes checks to make sure the input files are present, as none of the other samples do this and on the CRT layer we print if the files are missing - making it redundant.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@TwistedTwigleg
Copy link
Contributor Author

Thanks! Merging into main...

(Will tackle the warning mentioned in #427 in another PR - the issue is unrelated to the sample itself)

@TwistedTwigleg TwistedTwigleg merged commit 81ca0b8 into main Jun 6, 2023
@TwistedTwigleg TwistedTwigleg deleted the run_greengrass_discovery_in_ci branch June 6, 2023 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants