mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Add GenerateVersions as BeforeFunc * Delete gen-version * Fix lint * Get build id from env var
26 lines
760 B
Plaintext
26 lines
760 B
Plaintext
load(
|
|
'scripts/drone/steps/lib.star',
|
|
'identify_runner_step',
|
|
'download_grabpl_step',
|
|
'publish_packages_step',
|
|
'compile_build_cmd',
|
|
)
|
|
|
|
load(
|
|
'scripts/drone/utils/utils.star',
|
|
'pipeline',
|
|
)
|
|
|
|
def publish(trigger, ver_mode, edition):
|
|
steps = [
|
|
download_grabpl_step(),
|
|
compile_build_cmd(),
|
|
identify_runner_step(),
|
|
publish_packages_step(edition=edition, ver_mode=ver_mode),
|
|
]
|
|
return pipeline(
|
|
name='main-publish', edition=edition, trigger=dict(trigger, repo=['grafana/grafana']),
|
|
steps=steps,
|
|
depends_on=['main-test-frontend', 'main-test-backend', 'main-build-e2e-publish', 'main-integration-tests', 'main-windows', ],
|
|
)
|