2021-07-14 07:40:28 -05:00
|
|
|
# To generate the .drone.yml file:
|
|
|
|
# 1. Modify the *.star definitions
|
|
|
|
# 2. Login to drone and export the env variables (token and server) shown here: https://drone.grafana.net/account
|
|
|
|
# 3. Run `make drone`
|
|
|
|
# More information about this process here: https://github.com/grafana/deployment_tools/blob/master/docs/infrastructure/drone/signing.md
|
|
|
|
|
2020-10-07 07:22:15 -05:00
|
|
|
load('scripts/pr.star', 'pr_pipelines')
|
2021-05-06 09:29:29 -05:00
|
|
|
load('scripts/main.star', 'main_pipelines')
|
2020-10-07 07:22:15 -05:00
|
|
|
load('scripts/release.star', 'release_pipelines', 'test_release_pipelines')
|
2020-10-23 03:16:17 -05:00
|
|
|
load('scripts/version.star', 'version_branch_pipelines')
|
2021-05-26 07:27:40 -05:00
|
|
|
load('scripts/job.star', 'cronjobs')
|
2021-05-12 08:30:05 -05:00
|
|
|
load('scripts/vault.star', 'secrets')
|
2020-07-10 09:09:21 -05:00
|
|
|
|
2020-07-13 09:43:56 -05:00
|
|
|
def main(ctx):
|
2020-07-17 06:52:09 -05:00
|
|
|
edition = 'oss'
|
2021-05-06 09:29:29 -05:00
|
|
|
return pr_pipelines(edition=edition) + main_pipelines(edition=edition) + release_pipelines() + \
|
2021-05-26 07:27:40 -05:00
|
|
|
test_release_pipelines() + version_branch_pipelines() + cronjobs(edition=edition) + secrets()
|