Compare commits

...

3 Commits

Author SHA1 Message Date
Kevin Minehart
f60ea178c5 also install bash 2023-06-08 11:42:05 -05:00
Kevin Minehart
afa018762f also install bash 2023-06-08 11:41:07 -05:00
Kevin Minehart
b9deb999a1 Add enterprise2 in list-release-artifacts 2023-06-08 11:32:09 -05:00
3 changed files with 13 additions and 4 deletions

View File

@@ -4550,7 +4550,7 @@ steps:
image: alpine/git image: alpine/git
name: clone-rgm name: clone-rgm
- commands: - commands:
- apk update && apk add docker - apk update && apk add docker bash
- export GRAFANA_DIR=$$(pwd) - export GRAFANA_DIR=$$(pwd)
- cd rgm && ./scripts/drone_publish_main.sh - cd rgm && ./scripts/drone_publish_main.sh
environment: environment:
@@ -4604,7 +4604,7 @@ steps:
image: alpine/git image: alpine/git
name: clone-rgm name: clone-rgm
- commands: - commands:
- apk update && apk add docker - apk update && apk add docker bash
- export GRAFANA_DIR=$$(pwd) - export GRAFANA_DIR=$$(pwd)
- cd rgm && ./scripts/drone_publish_tag.sh - cd rgm && ./scripts/drone_publish_tag.sh
environment: environment:
@@ -7242,6 +7242,6 @@ kind: secret
name: delivery-bot-app-private-key name: delivery-bot-app-private-key
--- ---
kind: signature kind: signature
hmac: caf02d8ce78dd5c2fd6d841d0661702e74571c07939c6af602ac11d1790b31b8 hmac: 124ed302e0b2a80dd5e98057f9b03750af9bae084b3ef4f574e6f2888a1a741a
... ...

View File

@@ -43,7 +43,7 @@ def rgm_build(script = "drone_publish_main.sh"):
"image": "golang:1.20.3-alpine", "image": "golang:1.20.3-alpine",
"commands": [ "commands": [
# the docker program is a requirement for running dagger programs # the docker program is a requirement for running dagger programs
"apk update && apk add docker", "apk update && apk add docker bash",
"export GRAFANA_DIR=$$(pwd)", "export GRAFANA_DIR=$$(pwd)",
"cd rgm && ./scripts/{}".format(script), "cd rgm && ./scripts/{}".format(script),
], ],

View File

@@ -3,6 +3,7 @@ set -e
VERSION="${1:-v9.5.2}" VERSION="${1:-v9.5.2}"
ERSION="${VERSION#*v}" ERSION="${VERSION#*v}"
ERSION_DEB=`echo ${ERSION} | sed 's/-/~/g'`
ASSETS=$(cat << EOF ASSETS=$(cat << EOF
gs://${BUCKET}/artifacts/static-assets/grafana-oss/${ERSION}/public/robots.txt gs://${BUCKET}/artifacts/static-assets/grafana-oss/${ERSION}/public/robots.txt
@@ -42,6 +43,14 @@ gs://${BUCKET}/artifacts/downloads/${VERSION}/oss/release/grafana_${ERSION}_arm6
gs://${BUCKET}/artifacts/downloads/${VERSION}/oss/release/grafana_${ERSION}_arm64.deb.sha256 gs://${BUCKET}/artifacts/downloads/${VERSION}/oss/release/grafana_${ERSION}_arm64.deb.sha256
gs://${BUCKET}/artifacts/downloads/${VERSION}/oss/release/grafana_${ERSION}_armhf.deb gs://${BUCKET}/artifacts/downloads/${VERSION}/oss/release/grafana_${ERSION}_armhf.deb
gs://${BUCKET}/artifacts/downloads/${VERSION}/oss/release/grafana_${ERSION}_armhf.deb.sha256 gs://${BUCKET}/artifacts/downloads/${VERSION}/oss/release/grafana_${ERSION}_armhf.deb.sha256
gs://${BUCKET}/artifacts/downloads-enterprise2/${VERSION}/enterprise2/release/grafana-enterprise2-${ERSION}.linux-amd64.tar.gz
gs://${BUCKET}/artifacts/downloads-enterprise2/${VERSION}/enterprise2/release/grafana-enterprise2-${ERSION}.linux-amd64.tar.gz.sha256
gs://${BUCKET}/artifacts/downloads-enterprise2/${VERSION}/enterprise2/release/grafana-enterprise2-${ERSION}.linux-amd64-musl.tar.gz
gs://${BUCKET}/artifacts/downloads-enterprise2/${VERSION}/enterprise2/release/grafana-enterprise2-${ERSION}.linux-amd64-musl.tar.gz.sha256
gs://${BUCKET}/artifacts/downloads-enterprise2/${VERSION}/enterprise2/release/grafana-enterprise2_${ERSION_DEB}.amd64.deb
gs://${BUCKET}/artifacts/downloads-enterprise2/${VERSION}/enterprise2/release/grafana-enterprise2_${ERSION_DEB}.amd64.deb.sha256
gs://${BUCKET}/artifacts/downloads-enterprise2/${VERSION}/enterprise2/release/grafana-enterprise2-${ERSION_DEB}-1.x86_64.rpm
gs://${BUCKET}/artifacts/downloads-enterprise2/${VERSION}/enterprise2/release/grafana-enterprise2-${ERSION_DEB}-1.x86_64.rpm.sha256
gs://${BUCKET}/artifacts/downloads/${VERSION}/enterprise/release/grafana-enterprise-${ERSION}-1.aarch64.rpm gs://${BUCKET}/artifacts/downloads/${VERSION}/enterprise/release/grafana-enterprise-${ERSION}-1.aarch64.rpm
gs://${BUCKET}/artifacts/downloads/${VERSION}/enterprise/release/grafana-enterprise-${ERSION}-1.aarch64.rpm.sha256 gs://${BUCKET}/artifacts/downloads/${VERSION}/enterprise/release/grafana-enterprise-${ERSION}-1.aarch64.rpm.sha256
gs://${BUCKET}/artifacts/downloads/${VERSION}/enterprise/release/grafana-enterprise-${ERSION}-1.armhfp.rpm gs://${BUCKET}/artifacts/downloads/${VERSION}/enterprise/release/grafana-enterprise-${ERSION}-1.armhfp.rpm