#What is `dagger checks`?

1 messages · Page 1 of 1 (latest)

cold knoll
#

I noticed it while preparing a PR for dagger. It seems to be completely undocumented.

earnest temple
cold knoll
#

I first noticed it on my Dagger PR. I'm excited to read those docs once they come out!

earnest temple
#

Unlike dagger call, dagger check does not accept arguments. You call a check, or you don't. All arguments to the underlying function must have default values or the check will be disabled. Some defaults cannot be set from within the function sandbox (eg. secrets, host services). But they can be set as user defaults written to a local .env file. This is how you can load secrets and other environment-specific configuration into checks

cold knoll
#

Excited for these to become stable!

Follow-up question, how do I view them? This link produced by my PR did not load.

earnest temple
#

@north crest @elder linden @shy crow 👆

cold knoll
#

Thanks @earnest temple!

earnest temple
#

Here's a screenshot of your check page 🙂

elder linden
#

We have a PR incoming that fixes this issue!

elder linden
#

We've deployed the change. You should be able to see your checks now. Clicking from the github commit status on your PR should take you to the right place. Let me know if you still see any issues!

cold knoll
#

Thank you! I was able to load it.

cold knoll
#

Aside, Dagger Cloud is one of my favorite features of Dagger.

#

and now my PR is passing, thank you!

earnest temple
cold knoll
charred vapor