| 
									
										
										
										
											2021-07-14 08:40:28 -04: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 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-20 16:43:19 +03:00
										 |  |  | load('scripts/drone/events/pr.star', 'pr_pipelines') | 
					
						
							|  |  |  | load('scripts/drone/events/main.star', 'main_pipelines') | 
					
						
							| 
									
										
										
										
											2022-02-21 13:55:16 +02:00
										 |  |  | load('scripts/drone/pipelines/docs.star', 'docs_pipelines') | 
					
						
							| 
									
										
										
										
											2022-07-20 16:43:19 +03:00
										 |  |  | load('scripts/drone/events/release.star', 'release_pipelines', 'publish_image_pipelines', 'publish_artifacts_pipelines', 'publish_npm_pipelines', 'publish_packages_pipeline', 'artifacts_page_pipeline') | 
					
						
							| 
									
										
										
										
											2021-09-07 12:15:04 +03:00
										 |  |  | load('scripts/drone/version.star', 'version_branch_pipelines') | 
					
						
							| 
									
										
										
										
											2022-07-20 16:43:19 +03:00
										 |  |  | load('scripts/drone/events/cron.star', 'cronjobs') | 
					
						
							| 
									
										
										
										
											2021-09-07 12:15:04 +03:00
										 |  |  | load('scripts/drone/vault.star', 'secrets') | 
					
						
							| 
									
										
										
										
											2020-07-10 16:09:21 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-13 16:43:56 +02:00
										 |  |  | def main(ctx): | 
					
						
							| 
									
										
										
										
											2020-07-17 13:52:09 +02:00
										 |  |  |     edition = 'oss' | 
					
						
							| 
									
										
										
										
											2022-02-22 20:06:14 +02:00
										 |  |  |     return pr_pipelines(edition=edition) + main_pipelines(edition=edition) + release_pipelines() + \ | 
					
						
							| 
									
										
										
										
											2022-01-11 16:28:29 +02:00
										 |  |  |         publish_image_pipelines('public') + publish_image_pipelines('security') + \ | 
					
						
							|  |  |  |         publish_artifacts_pipelines('security') + publish_artifacts_pipelines('public') + \ | 
					
						
							| 
									
										
										
										
											2022-07-07 18:00:28 +03:00
										 |  |  |         publish_npm_pipelines('public') + publish_packages_pipeline() + artifacts_page_pipeline() + \ | 
					
						
							| 
									
										
										
										
											2022-01-19 18:42:40 +02:00
										 |  |  |         version_branch_pipelines() + cronjobs(edition=edition) + secrets() |