Add gen-version step to release pipelines (#51913)

This commit is contained in:
Dimitris Sotirakis 2022-07-07 17:32:18 +03:00 committed by GitHub
parent b79b53cbdb
commit 6447e08809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View File

@ -3323,6 +3323,12 @@ steps:
- chmod +x bin/grabpl
image: byrnedo/alpine-curl:0.1.8
name: grabpl
- commands:
- ./bin/grabpl gen-version ${DRONE_TAG}
depends_on:
- grabpl
image: grafana/build-container:1.5.7
name: gen-version
- commands:
- ./bin/grabpl store-packages --edition oss --packages-bucket grafana-downloads
--gcp-key /tmp/gcpkey.json ${DRONE_TAG}
@ -3371,6 +3377,12 @@ steps:
- chmod +x bin/grabpl
image: byrnedo/alpine-curl:0.1.8
name: grabpl
- commands:
- ./bin/grabpl gen-version ${DRONE_TAG}
depends_on:
- grabpl
image: grafana/build-container:1.5.7
name: gen-version
- commands:
- ./bin/grabpl store-packages --edition enterprise --packages-bucket grafana-downloads
--gcp-key /tmp/gcpkey.json ${DRONE_TAG}
@ -4799,6 +4811,6 @@ kind: secret
name: gcp_upload_artifacts_key
---
kind: signature
hmac: b885bb4e5374691a66b4fa8c6f53cdcebeef573895ea629d4e8b0af715573cea
hmac: 02df03be213abe0242b1c47e0e57cecd1ec3b2572d1f214afb55ef3a94c99750
...

View File

@ -394,11 +394,13 @@ def publish_packages_pipeline():
}
oss_steps = [
download_grabpl_step(),
gen_version_step(ver_mode='release'),
store_packages_step(edition='oss', ver_mode='release'),
]
enterprise_steps = [
download_grabpl_step(),
gen_version_step(ver_mode='release'),
store_packages_step(edition='enterprise', ver_mode='release'),
]
deps = [