mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
CI: Move some build settings (#64491)
* Move some build settings to Vault * CI: Remove reference to DOWNSTREAM_REPO as it isn't used
This commit is contained in:
34
.drone.yml
34
.drone.yml
@@ -537,8 +537,6 @@ steps:
|
|||||||
- git tag $${TEST_TAG} && git push https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git
|
- git tag $${TEST_TAG} && git push https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git
|
||||||
$${TEST_TAG}
|
$${TEST_TAG}
|
||||||
environment:
|
environment:
|
||||||
DOWNSTREAM_REPO:
|
|
||||||
from_secret: downstream
|
|
||||||
GITHUB_TOKEN:
|
GITHUB_TOKEN:
|
||||||
from_secret: github_token_pr
|
from_secret: github_token_pr
|
||||||
TEST_TAG: v0.0.0-test
|
TEST_TAG: v0.0.0-test
|
||||||
@@ -6659,7 +6657,37 @@ get:
|
|||||||
kind: secret
|
kind: secret
|
||||||
name: aws_secret_access_key
|
name: aws_secret_access_key
|
||||||
---
|
---
|
||||||
|
get:
|
||||||
|
name: bucket
|
||||||
|
path: infra/data/ci/grafana-release-eng/security-bucket
|
||||||
|
kind: secret
|
||||||
|
name: security_dest_bucket
|
||||||
|
---
|
||||||
|
get:
|
||||||
|
name: static_asset_editions
|
||||||
|
path: infra/data/ci/grafana-release-eng/artifact-publishing
|
||||||
|
kind: secret
|
||||||
|
name: static_asset_editions
|
||||||
|
---
|
||||||
|
get:
|
||||||
|
name: security_prefix
|
||||||
|
path: infra/data/ci/grafana-release-eng/enterprise2
|
||||||
|
kind: secret
|
||||||
|
name: enterprise2_security_prefix
|
||||||
|
---
|
||||||
|
get:
|
||||||
|
name: cdn_path
|
||||||
|
path: infra/data/ci/grafana-release-eng/enterprise2
|
||||||
|
kind: secret
|
||||||
|
name: enterprise2-cdn-path
|
||||||
|
---
|
||||||
|
get:
|
||||||
|
name: security_prefix
|
||||||
|
path: infra/data/ci/grafana-release-eng/enterprise2
|
||||||
|
kind: secret
|
||||||
|
name: enterprise2_security_prefix
|
||||||
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: f7d8c2ffc5017c41f66d2cceda20bbfc94afc46a5669984a83a23419f58d3dee
|
hmac: 9b743a1d8808c69cba9497ca9f2015a2cf82d6f82568a04516c006a56dbec0ae
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
@@ -1481,7 +1481,6 @@ def trigger_test_release():
|
|||||||
"image": build_image,
|
"image": build_image,
|
||||||
"environment": {
|
"environment": {
|
||||||
"GITHUB_TOKEN": from_secret("github_token_pr"),
|
"GITHUB_TOKEN": from_secret("github_token_pr"),
|
||||||
"DOWNSTREAM_REPO": from_secret("downstream"),
|
|
||||||
"TEST_TAG": "v0.0.0-test",
|
"TEST_TAG": "v0.0.0-test",
|
||||||
},
|
},
|
||||||
"commands": [
|
"commands": [
|
||||||
|
|||||||
@@ -94,4 +94,29 @@ def secrets():
|
|||||||
"secret/data/common/aws-marketplace",
|
"secret/data/common/aws-marketplace",
|
||||||
"aws_secret_access_key",
|
"aws_secret_access_key",
|
||||||
),
|
),
|
||||||
|
vault_secret(
|
||||||
|
"security_dest_bucket",
|
||||||
|
"infra/data/ci/grafana-release-eng/security-bucket",
|
||||||
|
"bucket",
|
||||||
|
),
|
||||||
|
vault_secret(
|
||||||
|
"static_asset_editions",
|
||||||
|
"infra/data/ci/grafana-release-eng/artifact-publishing",
|
||||||
|
"static_asset_editions",
|
||||||
|
),
|
||||||
|
vault_secret(
|
||||||
|
"enterprise2_security_prefix",
|
||||||
|
"infra/data/ci/grafana-release-eng/enterprise2",
|
||||||
|
"security_prefix",
|
||||||
|
),
|
||||||
|
vault_secret(
|
||||||
|
"enterprise2-cdn-path",
|
||||||
|
"infra/data/ci/grafana-release-eng/enterprise2",
|
||||||
|
"cdn_path",
|
||||||
|
),
|
||||||
|
vault_secret(
|
||||||
|
"enterprise2_security_prefix",
|
||||||
|
"infra/data/ci/grafana-release-eng/enterprise2",
|
||||||
|
"security_prefix",
|
||||||
|
),
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user