mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 04:22:13 +08:00
CI: Allow other modules to register build sub-commands (#62741)
* Allow other modules to register build sub-commands * CI: Fix retries on artifacts-page clone * Fix linting errors * Fix golint issues * Update to grabpl 3.0.21
This commit is contained in:
@ -647,8 +647,14 @@ def artifacts_page_pipeline():
|
||||
pipeline(
|
||||
name = "publish-artifacts-page",
|
||||
trigger = trigger,
|
||||
steps = [download_grabpl_step(), artifacts_page_step()],
|
||||
steps = [
|
||||
download_grabpl_step(),
|
||||
clone_enterprise_step(source = "${DRONE_TAG}"),
|
||||
init_enterprise_step("release"),
|
||||
compile_build_cmd("enterprise"),
|
||||
artifacts_page_step(),
|
||||
],
|
||||
edition = "all",
|
||||
environment = {"EDITION": "all"},
|
||||
environment = {"EDITION": "enterprise"},
|
||||
),
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ load(
|
||||
"prerelease_bucket",
|
||||
)
|
||||
|
||||
grabpl_version = "v3.0.20"
|
||||
grabpl_version = "v3.0.21"
|
||||
build_image = "grafana/build-container:v1.7.1"
|
||||
publish_image = "grafana/grafana-ci-deploy:1.3.3"
|
||||
deploy_docker_image = "us.gcr.io/kubernetes-dev/drone/plugins/deploy-image"
|
||||
@ -1520,13 +1520,13 @@ def artifacts_page_step():
|
||||
"name": "artifacts-page",
|
||||
"image": build_image,
|
||||
"depends_on": [
|
||||
"grabpl",
|
||||
"compile-build-cmd",
|
||||
],
|
||||
"environment": {
|
||||
"GCP_KEY": from_secret("gcp_key"),
|
||||
},
|
||||
"commands": [
|
||||
"./bin/grabpl artifacts-page",
|
||||
"./bin/build artifacts-page",
|
||||
],
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user