Relocate github arg

This commit is contained in:
Malcolm Holmes
2021-12-07 09:50:47 +00:00
parent fefc3181fd
commit f5b24ed416
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -1438,8 +1438,8 @@ steps:
- mv bin/grabpl /tmp/
- rmdir bin
- mv grafana-enterprise /tmp/
- /tmp/grabpl init-enterprise /tmp/grafana-enterprise ${DRONE_TAG} --github-token
$${GITHUB_TOKEN}
- /tmp/grabpl init-enterprise --github-token $${GITHUB_TOKEN} /tmp/grafana-enterprise
${DRONE_TAG}
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json
- mkdir bin
- mv /tmp/grabpl bin/
@@ -2457,7 +2457,7 @@ steps:
- mv bin/grabpl /tmp/
- rmdir bin
- mv grafana-enterprise /tmp/
- /tmp/grabpl init-enterprise /tmp/grafana-enterprise --github-token $${GITHUB_TOKEN}
- /tmp/grabpl init-enterprise --github-token $${GITHUB_TOKEN} /tmp/grafana-enterprise
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json
- mkdir bin
- mv /tmp/grabpl bin/
@@ -3558,7 +3558,7 @@ steps:
- mv bin/grabpl /tmp/
- rmdir bin
- mv grafana-enterprise /tmp/
- /tmp/grabpl init-enterprise /tmp/grafana-enterprise --github-token $${GITHUB_TOKEN}
- /tmp/grabpl init-enterprise --github-token $${GITHUB_TOKEN} /tmp/grafana-enterprise
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json
- mkdir bin
- mv /tmp/grabpl bin/
@@ -4161,6 +4161,6 @@ kind: secret
name: prerelease_bucket
---
kind: signature
hmac: 68f8a056d2561b5ca190ca0cb0d07af79aa4f93cbe7063618cb594d4b838977b
hmac: f4dc4a756d4767a7719a18410848fdb6f565c7b18f01b8e9f0293b0e9d022c41
...
+1 -1
View File
@@ -91,7 +91,7 @@ def initialize_step(edition, platform, ver_mode, is_downstream=False, install_de
'mv bin/grabpl /tmp/',
'rmdir bin',
'mv grafana-enterprise /tmp/',
'/tmp/grabpl init-enterprise /tmp/grafana-enterprise{} --github-token $${{GITHUB_TOKEN}}'.format(source_commit),
'/tmp/grabpl init-enterprise --github-token $${{GITHUB_TOKEN}} /tmp/grafana-enterprise{}'.format(source_commit),
'mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json',
'mkdir bin',
'mv /tmp/grabpl bin/'