|
|
|
@ -3326,8 +3326,8 @@ steps: |
|
|
|
|
- apt-get update && apt-get install -yq gettext |
|
|
|
|
- printenv GCP_KEY | base64 -d > /tmp/key.json |
|
|
|
|
- gcloud auth activate-service-account --key-file=/tmp/key.json |
|
|
|
|
- ./scripts/list-release-artifacts.sh ${DRONE_TAG} | xargs -n1 gsutil stat | grep |
|
|
|
|
"No URLs matched" |
|
|
|
|
- '! ./scripts/list-release-artifacts.sh ${DRONE_TAG} | xargs -n1 gsutil stat | |
|
|
|
|
grep "No URLs matched"' |
|
|
|
|
depends_on: |
|
|
|
|
- clone |
|
|
|
|
environment: |
|
|
|
@ -3470,7 +3470,7 @@ environment: |
|
|
|
|
image_pull_secrets: |
|
|
|
|
- dockerconfigjson |
|
|
|
|
kind: pipeline |
|
|
|
|
name: rgm-tag-prerelease-windows |
|
|
|
|
name: rgm-tag-prerelease-windows-oss |
|
|
|
|
platform: |
|
|
|
|
arch: amd64 |
|
|
|
|
os: windows |
|
|
|
@ -3530,7 +3530,73 @@ clone: |
|
|
|
|
retries: 3 |
|
|
|
|
depends_on: |
|
|
|
|
- rgm-tag-prerelease |
|
|
|
|
- rgm-tag-prerelease-windows |
|
|
|
|
environment: |
|
|
|
|
EDITION: enterprise |
|
|
|
|
image_pull_secrets: |
|
|
|
|
- dockerconfigjson |
|
|
|
|
kind: pipeline |
|
|
|
|
name: rgm-tag-prerelease-windows-enterprise |
|
|
|
|
platform: |
|
|
|
|
arch: amd64 |
|
|
|
|
os: windows |
|
|
|
|
version: "1809" |
|
|
|
|
services: [] |
|
|
|
|
steps: |
|
|
|
|
- commands: |
|
|
|
|
- echo $env:DRONE_RUNNER_NAME |
|
|
|
|
image: mcr.microsoft.com/windows:1809 |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- $$ProgressPreference = "SilentlyContinue" |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.40/windows/grabpl.exe |
|
|
|
|
-OutFile grabpl.exe |
|
|
|
|
image: grafana/ci-wix:0.1.1 |
|
|
|
|
name: windows-init |
|
|
|
|
- commands: |
|
|
|
|
- $$gcpKey = $$env:GCP_KEY |
|
|
|
|
- '[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($$gcpKey)) |
|
|
|
|
> gcpkey.json' |
|
|
|
|
- dos2unix gcpkey.json |
|
|
|
|
- gcloud auth activate-service-account --key-file=gcpkey.json |
|
|
|
|
- rm gcpkey.json |
|
|
|
|
- cp C:\App\nssm-2.24.zip . |
|
|
|
|
- .\grabpl.exe windows-installer --target gs://grafana-prerelease-dev/artifacts/downloads/${DRONE_TAG}/enterprise/release/grafana-enterprise-${DRONE_TAG:1}.windows-amd64.zip |
|
|
|
|
--edition enterprise ${DRONE_TAG} |
|
|
|
|
- $$fname = ((Get-Childitem grafana*.msi -name) -split "`n")[0] |
|
|
|
|
- gsutil cp $$fname gs://grafana-prerelease-dev/artifacts/downloads/${DRONE_TAG}/enterprise/release/ |
|
|
|
|
- gsutil cp "$$fname.sha256" gs://grafana-prerelease-dev/artifacts/downloads/${DRONE_TAG}/enterprise/release/ |
|
|
|
|
depends_on: |
|
|
|
|
- windows-init |
|
|
|
|
environment: |
|
|
|
|
GCP_KEY: |
|
|
|
|
from_secret: gcp_key |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
PRERELEASE_BUCKET: |
|
|
|
|
from_secret: prerelease_bucket |
|
|
|
|
image: grafana/ci-wix:0.1.1 |
|
|
|
|
name: build-windows-installer |
|
|
|
|
trigger: |
|
|
|
|
event: |
|
|
|
|
exclude: |
|
|
|
|
- promote |
|
|
|
|
ref: |
|
|
|
|
exclude: |
|
|
|
|
- refs/tags/*-cloud* |
|
|
|
|
include: |
|
|
|
|
- refs/tags/v* |
|
|
|
|
type: docker |
|
|
|
|
volumes: |
|
|
|
|
- host: |
|
|
|
|
path: //./pipe/docker_engine/ |
|
|
|
|
name: docker |
|
|
|
|
--- |
|
|
|
|
clone: |
|
|
|
|
retries: 3 |
|
|
|
|
depends_on: |
|
|
|
|
- rgm-tag-prerelease |
|
|
|
|
- rgm-tag-prerelease-windows-oss |
|
|
|
|
- rgm-tag-prerelease-windows-enterprise |
|
|
|
|
image_pull_secrets: |
|
|
|
|
- dockerconfigjson |
|
|
|
|
kind: pipeline |
|
|
|
@ -3546,8 +3612,8 @@ steps: |
|
|
|
|
- apt-get update && apt-get install -yq gettext |
|
|
|
|
- printenv GCP_KEY | base64 -d > /tmp/key.json |
|
|
|
|
- gcloud auth activate-service-account --key-file=/tmp/key.json |
|
|
|
|
- ./scripts/list-release-artifacts.sh ${DRONE_TAG} | xargs -n1 gsutil stat | grep |
|
|
|
|
"No URLs matched" |
|
|
|
|
- '! ./scripts/list-release-artifacts.sh ${DRONE_TAG} | xargs -n1 gsutil stat | |
|
|
|
|
grep "No URLs matched"' |
|
|
|
|
depends_on: |
|
|
|
|
- clone |
|
|
|
|
environment: |
|
|
|
@ -4911,6 +4977,6 @@ kind: secret |
|
|
|
|
name: delivery-bot-app-private-key |
|
|
|
|
--- |
|
|
|
|
kind: signature |
|
|
|
|
hmac: 7796dccc1ebde8bf6985375aab1803a5d59dd3b8b0ce725d7ce23c5ca39e2c80 |
|
|
|
|
hmac: 95007b8a7b6c9fbf7759ed245fc9afda168d765149b7db8ad0c996c9e4d74dc0 |
|
|
|
|
|
|
|
|
|
... |
|
|
|
|