Drone: Retrieve the machine-user from a Vault secret (#35489)
This will remove the need to use a Drone repository secret
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
load('scripts/vault.star', 'from_secret', 'github_token', 'pull_secret')
|
||||
load('scripts/vault.star', 'from_secret', 'github_token', 'pull_secret', 'drone_token')
|
||||
|
||||
grabpl_version = '2.0.0'
|
||||
build_image = 'grafana/build-container:1.4.1'
|
||||
@@ -193,7 +193,7 @@ def enterprise_downstream_step(edition):
|
||||
'image': 'grafana/drone-downstream',
|
||||
'settings': {
|
||||
'server': 'https://drone.grafana.net',
|
||||
'token': from_secret('drone_token'),
|
||||
'token': from_secret(drone_token),
|
||||
'repositories': [
|
||||
'grafana/grafana-enterprise@main',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user