mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
CI: In promotions, set the --go-version when building Grafana packages (#87912)
* Specify drone-version when building in promotions * Specify drone-version when building in promotions
This commit is contained in:
parent
3aae2b7e04
commit
90970d5f58
@ -3934,6 +3934,7 @@ steps:
|
||||
- commands:
|
||||
- 'dagger run --silent /src/grafana-build artifacts -a $${ARTIFACTS} --grafana-ref=$${GRAFANA_REF}
|
||||
--enterprise-ref=$${ENTERPRISE_REF} --grafana-repo=$${GRAFANA_REPO} --version=$${VERSION} '
|
||||
- --go-version=1.22.3
|
||||
environment:
|
||||
_EXPERIMENTAL_DAGGER_CLOUD_TOKEN:
|
||||
from_secret: dagger_token
|
||||
@ -4921,6 +4922,6 @@ kind: secret
|
||||
name: gcr_credentials
|
||||
---
|
||||
kind: signature
|
||||
hmac: 7397697ccc703dc375a0f90ba8a12fd978c2972f37fdffbdca1f72ff3991b339
|
||||
hmac: 29140f7ab2d57bd4c05b27863ab1227c722f793d9e1373e470c3e6b5681e7fb8
|
||||
|
||||
...
|
||||
|
@ -371,6 +371,7 @@ def rgm_promotion_pipeline():
|
||||
"--enterprise-ref=$${ENTERPRISE_REF} " +
|
||||
"--grafana-repo=$${GRAFANA_REPO} " +
|
||||
"--version=$${VERSION} ",
|
||||
"--go-version={}".format(golang_version),
|
||||
],
|
||||
"environment": rgm_env_secrets(env),
|
||||
# The docker socket is a requirement for running dagger programs
|
||||
|
Loading…
Reference in New Issue
Block a user