From 4f888824a48c409ee93bc5301ee7d3927c6bfadc Mon Sep 17 00:00:00 2001 From: Guilherme Caulada Date: Mon, 9 Oct 2023 11:32:07 -0300 Subject: [PATCH 1/3] Publish nightl packages to grafana.com --- scripts/drone_publish_nightly_grafana.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/drone_publish_nightly_grafana.sh b/scripts/drone_publish_nightly_grafana.sh index ea6bd543..55511e0c 100755 --- a/scripts/drone_publish_nightly_grafana.sh +++ b/scripts/drone_publish_nightly_grafana.sh @@ -47,5 +47,5 @@ dagger run --silent go run ./cmd npm publish \ dagger run --silent go run ./cmd gcom publish \ $(find $local_dir | grep -e .rpm -e .tar.gz -e .exe -e .zip -e .deb | grep -v sha256 | awk '{print "--package=file://"$0}') \ --api-key=${GCOM_API_KEY} \ - --url="https://grafana-dev.com" \ + --url="https://grafana.com" \ --download-url="https://dl.grafana.com/oss/release" \ No newline at end of file From 1154166307895f32b2e2c8a782f46210b304fe4c Mon Sep 17 00:00:00 2001 From: Guilherme Caulada Date: Mon, 9 Oct 2023 11:41:39 -0300 Subject: [PATCH 2/3] Leave gcom url as default value --- scripts/drone_publish_nightly_grafana.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/drone_publish_nightly_grafana.sh b/scripts/drone_publish_nightly_grafana.sh index 55511e0c..06110ac1 100755 --- a/scripts/drone_publish_nightly_grafana.sh +++ b/scripts/drone_publish_nightly_grafana.sh @@ -47,5 +47,4 @@ dagger run --silent go run ./cmd npm publish \ dagger run --silent go run ./cmd gcom publish \ $(find $local_dir | grep -e .rpm -e .tar.gz -e .exe -e .zip -e .deb | grep -v sha256 | awk '{print "--package=file://"$0}') \ --api-key=${GCOM_API_KEY} \ - --url="https://grafana.com" \ --download-url="https://dl.grafana.com/oss/release" \ No newline at end of file From e523333b9decc2eeb1d36bd715c139c635aab574 Mon Sep 17 00:00:00 2001 From: Guilherme Caulada Date: Mon, 9 Oct 2023 11:42:57 -0300 Subject: [PATCH 3/3] Unignore failures from NPM --- scripts/drone_publish_nightly_grafana.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/drone_publish_nightly_grafana.sh b/scripts/drone_publish_nightly_grafana.sh index 06110ac1..981a2923 100755 --- a/scripts/drone_publish_nightly_grafana.sh +++ b/scripts/drone_publish_nightly_grafana.sh @@ -41,7 +41,7 @@ dagger run --silent go run ./cmd cdn \ dagger run --silent go run ./cmd npm publish \ $(find $local_dir | grep tar.gz | grep linux | grep amd64 | grep -v sha256 | grep -v docker | awk '{print "--package=file://"$0}') \ --token=${NPM_TOKEN} \ - --tag="nightly" || true + --tag="nightly" # Publish packages to grafana.com dagger run --silent go run ./cmd gcom publish \