CI: Move some build settings (#64491)
* Move some build settings to Vault
* CI: Remove reference to DOWNSTREAM_REPO as it isn't used
(cherry picked from commit 4b241804b4)
This commit is contained in:
+31
-3
@@ -452,8 +452,6 @@ steps:
|
||||
- git tag $${TEST_TAG} && git push https://$${GITHUB_TOKEN}@github.com/grafana/grafana.git
|
||||
$${TEST_TAG}
|
||||
environment:
|
||||
DOWNSTREAM_REPO:
|
||||
from_secret: downstream
|
||||
GITHUB_TOKEN:
|
||||
from_secret: github_token_pr
|
||||
TEST_TAG: v0.0.0-test
|
||||
@@ -6552,7 +6550,37 @@ get:
|
||||
kind: secret
|
||||
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
|
||||
hmac: 016127ae3397569f1355667e7bf7743da586fd9d30cb25bbb2495b466b0d0a60
|
||||
hmac: 4b6da11e7ed2c2341a0f0b56e2e5feae2ffd587ca00bd79cdfd5a0b8b4957418
|
||||
|
||||
...
|
||||
|
||||
@@ -1438,7 +1438,6 @@ def trigger_test_release():
|
||||
"image": build_image,
|
||||
"environment": {
|
||||
"GITHUB_TOKEN": from_secret("github_token_pr"),
|
||||
"DOWNSTREAM_REPO": from_secret("downstream"),
|
||||
"TEST_TAG": "v0.0.0-test",
|
||||
},
|
||||
"commands": [
|
||||
|
||||
@@ -94,4 +94,29 @@ def secrets():
|
||||
"secret/data/common/aws-marketplace",
|
||||
"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