-
Notifications
You must be signed in to change notification settings - Fork 181
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] enable nightly test runs #906
Conversation
aecc639
to
b33276f
Compare
b33276f
to
8d5b521
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
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.
LGTM. We will only really know after merging.
@dpakach after I merge this, please
- do a PR with [docs-only] to verify that it works as expected.
- do a [tests-only] PR for something small, and we can verify that all pipelines run as expected in the CI of the PR
- then merge something and see what happens to both the merge CI and the cron CI
I'm having problems with this line: |
We found a post where the The source code https://github.com/drone/drone-convert-starlark/blob/master/plugin/args.go has I guess drone is a nerd-project - the source code is the documentation. But locally I get the error:
I guess my local drone does not have the current |
@phil-davis seems like only these attributes are available when converting
|
Yeah, finding reliable information on drone is really cumbersome. The main issue for me is, that I can not convert to yml anymore. Are you ok with using We also could make a PR to @micbar because he is already "maintaining" a working drone cli micbar/drone-cli@f0e9e08 |
After installing the latest drone-cli:
I get:
So at least the error message has more information. I wonder how I install the latest |
https://github.com/drone/drone-cli/blob/master/drone/starlark/starlark.go There is "starlark" knowledge built-in to the |
Also note for future readers.
We have starlark code that allows pipelines to trigger on a specific "cron" value. At the moment the relevant repos just have a "nightly" cron job. And the starlark correctly generates pipelines that run only nightly - they do not run with every PR. So that stuff does work on the drone server, and we could potentially have some special tests that run only for cron "weekly" etc. That parses OK with local
So the local drone-cli know enough to allow that (or doesn't try hard enough to parse it) |
Fixes #895
Enable nightly test runs in CI.