|
|
|
|
@@ -17,7 +17,7 @@ steps:
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
commands:
|
|
|
|
|
- mkdir -p bin
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/grabpl
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/grabpl
|
|
|
|
|
- chmod +x bin/grabpl
|
|
|
|
|
- ./bin/grabpl verify-drone
|
|
|
|
|
- curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz
|
|
|
|
|
@@ -259,7 +259,7 @@ steps:
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
commands:
|
|
|
|
|
- mkdir -p bin
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/grabpl
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/grabpl
|
|
|
|
|
- chmod +x bin/grabpl
|
|
|
|
|
- ./bin/grabpl verify-drone
|
|
|
|
|
- curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz
|
|
|
|
|
@@ -591,7 +591,7 @@ steps:
|
|
|
|
|
image: grafana/ci-wix:0.1.1
|
|
|
|
|
commands:
|
|
|
|
|
- $$ProgressPreference = "SilentlyContinue"
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- .\grabpl.exe verify-drone
|
|
|
|
|
|
|
|
|
|
- name: build-windows-installer
|
|
|
|
|
@@ -641,7 +641,7 @@ steps:
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
commands:
|
|
|
|
|
- mkdir -p bin
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/grabpl
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/grabpl
|
|
|
|
|
- chmod +x bin/grabpl
|
|
|
|
|
- ./bin/grabpl verify-drone
|
|
|
|
|
environment:
|
|
|
|
|
@@ -726,7 +726,7 @@ steps:
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
commands:
|
|
|
|
|
- mkdir -p bin
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/grabpl
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/grabpl
|
|
|
|
|
- chmod +x bin/grabpl
|
|
|
|
|
- ./bin/grabpl verify-drone
|
|
|
|
|
- ./bin/grabpl verify-version ${DRONE_TAG}
|
|
|
|
|
@@ -944,6 +944,16 @@ steps:
|
|
|
|
|
- test-backend
|
|
|
|
|
- test-frontend
|
|
|
|
|
|
|
|
|
|
- name: upload-cdn-assets
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
- ./bin/grabpl upload-cdn --edition oss --bucket "grafana-static-assets"
|
|
|
|
|
environment:
|
|
|
|
|
GCP_GRAFANA_UPLOAD_KEY:
|
|
|
|
|
from_secret: gcp_key
|
|
|
|
|
depends_on:
|
|
|
|
|
- package
|
|
|
|
|
|
|
|
|
|
- name: upload-packages
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
@@ -1023,7 +1033,7 @@ steps:
|
|
|
|
|
image: grafana/ci-wix:0.1.1
|
|
|
|
|
commands:
|
|
|
|
|
- $$ProgressPreference = "SilentlyContinue"
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- .\grabpl.exe verify-drone
|
|
|
|
|
|
|
|
|
|
- name: build-windows-installer
|
|
|
|
|
@@ -1074,7 +1084,7 @@ steps:
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
commands:
|
|
|
|
|
- mkdir -p bin
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/grabpl
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/grabpl
|
|
|
|
|
- chmod +x bin/grabpl
|
|
|
|
|
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git"
|
|
|
|
|
- cd grafana-enterprise
|
|
|
|
|
@@ -1335,6 +1345,16 @@ steps:
|
|
|
|
|
- test-backend
|
|
|
|
|
- test-frontend
|
|
|
|
|
|
|
|
|
|
- name: upload-cdn-assets
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
- ./bin/grabpl upload-cdn --edition enterprise --bucket "grafana-static-assets"
|
|
|
|
|
environment:
|
|
|
|
|
GCP_GRAFANA_UPLOAD_KEY:
|
|
|
|
|
from_secret: gcp_key
|
|
|
|
|
depends_on:
|
|
|
|
|
- package
|
|
|
|
|
|
|
|
|
|
- name: upload-packages
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
@@ -1366,6 +1386,16 @@ steps:
|
|
|
|
|
depends_on:
|
|
|
|
|
- gen-version
|
|
|
|
|
|
|
|
|
|
- name: upload-cdn-assets-enterprise2
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
- ./bin/grabpl upload-cdn --edition enterprise2 --bucket "grafana-static-assets"
|
|
|
|
|
environment:
|
|
|
|
|
GCP_GRAFANA_UPLOAD_KEY:
|
|
|
|
|
from_secret: gcp_key
|
|
|
|
|
depends_on:
|
|
|
|
|
- package-enterprise2
|
|
|
|
|
|
|
|
|
|
- name: end-to-end-tests-server-enterprise2
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
detach: true
|
|
|
|
|
@@ -1444,7 +1474,7 @@ steps:
|
|
|
|
|
image: grafana/ci-wix:0.1.1
|
|
|
|
|
commands:
|
|
|
|
|
- $$ProgressPreference = "SilentlyContinue"
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git"
|
|
|
|
|
- cd grafana-enterprise
|
|
|
|
|
- git checkout ${DRONE_TAG}
|
|
|
|
|
@@ -1510,7 +1540,7 @@ steps:
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
commands:
|
|
|
|
|
- mkdir -p bin
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/grabpl
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/grabpl
|
|
|
|
|
- chmod +x bin/grabpl
|
|
|
|
|
- ./bin/grabpl verify-drone
|
|
|
|
|
- ./bin/grabpl verify-version ${DRONE_TAG}
|
|
|
|
|
@@ -1615,7 +1645,7 @@ steps:
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
commands:
|
|
|
|
|
- mkdir -p bin
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/grabpl
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/grabpl
|
|
|
|
|
- chmod +x bin/grabpl
|
|
|
|
|
- ./bin/grabpl verify-drone
|
|
|
|
|
- ./bin/grabpl verify-version v7.3.0-test
|
|
|
|
|
@@ -1827,6 +1857,16 @@ steps:
|
|
|
|
|
- test-backend
|
|
|
|
|
- test-frontend
|
|
|
|
|
|
|
|
|
|
- name: upload-cdn-assets
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
- ./bin/grabpl upload-cdn --edition oss --bucket "grafana-static-assets"
|
|
|
|
|
environment:
|
|
|
|
|
GCP_GRAFANA_UPLOAD_KEY:
|
|
|
|
|
from_secret: gcp_key
|
|
|
|
|
depends_on:
|
|
|
|
|
- package
|
|
|
|
|
|
|
|
|
|
- name: upload-packages
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
@@ -1901,7 +1941,7 @@ steps:
|
|
|
|
|
image: grafana/ci-wix:0.1.1
|
|
|
|
|
commands:
|
|
|
|
|
- $$ProgressPreference = "SilentlyContinue"
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- .\grabpl.exe verify-drone
|
|
|
|
|
|
|
|
|
|
- name: build-windows-installer
|
|
|
|
|
@@ -1952,7 +1992,7 @@ steps:
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
commands:
|
|
|
|
|
- mkdir -p bin
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/grabpl
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/grabpl
|
|
|
|
|
- chmod +x bin/grabpl
|
|
|
|
|
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git"
|
|
|
|
|
- cd grafana-enterprise
|
|
|
|
|
@@ -2207,6 +2247,16 @@ steps:
|
|
|
|
|
- test-backend
|
|
|
|
|
- test-frontend
|
|
|
|
|
|
|
|
|
|
- name: upload-cdn-assets
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
- ./bin/grabpl upload-cdn --edition enterprise --bucket "grafana-static-assets"
|
|
|
|
|
environment:
|
|
|
|
|
GCP_GRAFANA_UPLOAD_KEY:
|
|
|
|
|
from_secret: gcp_key
|
|
|
|
|
depends_on:
|
|
|
|
|
- package
|
|
|
|
|
|
|
|
|
|
- name: upload-packages
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
@@ -2238,6 +2288,16 @@ steps:
|
|
|
|
|
depends_on:
|
|
|
|
|
- gen-version
|
|
|
|
|
|
|
|
|
|
- name: upload-cdn-assets-enterprise2
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
- ./bin/grabpl upload-cdn --edition enterprise2 --bucket "grafana-static-assets"
|
|
|
|
|
environment:
|
|
|
|
|
GCP_GRAFANA_UPLOAD_KEY:
|
|
|
|
|
from_secret: gcp_key
|
|
|
|
|
depends_on:
|
|
|
|
|
- package-enterprise2
|
|
|
|
|
|
|
|
|
|
- name: end-to-end-tests-server-enterprise2
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
detach: true
|
|
|
|
|
@@ -2316,7 +2376,7 @@ steps:
|
|
|
|
|
image: grafana/ci-wix:0.1.1
|
|
|
|
|
commands:
|
|
|
|
|
- $$ProgressPreference = "SilentlyContinue"
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git"
|
|
|
|
|
- cd grafana-enterprise
|
|
|
|
|
- git checkout master
|
|
|
|
|
@@ -2382,7 +2442,7 @@ steps:
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
commands:
|
|
|
|
|
- mkdir -p bin
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/grabpl
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/grabpl
|
|
|
|
|
- chmod +x bin/grabpl
|
|
|
|
|
- ./bin/grabpl verify-drone
|
|
|
|
|
- ./bin/grabpl verify-version v7.3.0-test
|
|
|
|
|
@@ -2487,7 +2547,7 @@ steps:
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
commands:
|
|
|
|
|
- mkdir -p bin
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/grabpl
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/grabpl
|
|
|
|
|
- chmod +x bin/grabpl
|
|
|
|
|
- ./bin/grabpl verify-drone
|
|
|
|
|
- curl -fLO https://github.com/jwilder/dockerize/releases/download/v$${DOCKERIZE_VERSION}/dockerize-linux-amd64-v$${DOCKERIZE_VERSION}.tar.gz
|
|
|
|
|
@@ -2695,6 +2755,16 @@ steps:
|
|
|
|
|
- test-backend
|
|
|
|
|
- test-frontend
|
|
|
|
|
|
|
|
|
|
- name: upload-cdn-assets
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
- ./bin/grabpl upload-cdn --edition oss --bucket "grafana-static-assets"
|
|
|
|
|
environment:
|
|
|
|
|
GCP_GRAFANA_UPLOAD_KEY:
|
|
|
|
|
from_secret: gcp_key
|
|
|
|
|
depends_on:
|
|
|
|
|
- package
|
|
|
|
|
|
|
|
|
|
- name: upload-packages
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
@@ -2748,7 +2818,7 @@ steps:
|
|
|
|
|
image: grafana/ci-wix:0.1.1
|
|
|
|
|
commands:
|
|
|
|
|
- $$ProgressPreference = "SilentlyContinue"
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- .\grabpl.exe verify-drone
|
|
|
|
|
|
|
|
|
|
- name: build-windows-installer
|
|
|
|
|
@@ -2795,7 +2865,7 @@ steps:
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
commands:
|
|
|
|
|
- mkdir -p bin
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/grabpl
|
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/grabpl
|
|
|
|
|
- chmod +x bin/grabpl
|
|
|
|
|
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git"
|
|
|
|
|
- cd grafana-enterprise
|
|
|
|
|
@@ -3053,6 +3123,16 @@ steps:
|
|
|
|
|
- test-backend
|
|
|
|
|
- test-frontend
|
|
|
|
|
|
|
|
|
|
- name: upload-cdn-assets
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
- ./bin/grabpl upload-cdn --edition enterprise --bucket "grafana-static-assets"
|
|
|
|
|
environment:
|
|
|
|
|
GCP_GRAFANA_UPLOAD_KEY:
|
|
|
|
|
from_secret: gcp_key
|
|
|
|
|
depends_on:
|
|
|
|
|
- package
|
|
|
|
|
|
|
|
|
|
- name: upload-packages
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
@@ -3084,6 +3164,16 @@ steps:
|
|
|
|
|
depends_on:
|
|
|
|
|
- gen-version
|
|
|
|
|
|
|
|
|
|
- name: upload-cdn-assets-enterprise2
|
|
|
|
|
image: grafana/grafana-ci-deploy:1.3.1
|
|
|
|
|
commands:
|
|
|
|
|
- ./bin/grabpl upload-cdn --edition enterprise2 --bucket "grafana-static-assets"
|
|
|
|
|
environment:
|
|
|
|
|
GCP_GRAFANA_UPLOAD_KEY:
|
|
|
|
|
from_secret: gcp_key
|
|
|
|
|
depends_on:
|
|
|
|
|
- package-enterprise2
|
|
|
|
|
|
|
|
|
|
- name: end-to-end-tests-server-enterprise2
|
|
|
|
|
image: grafana/build-container:1.3.2
|
|
|
|
|
detach: true
|
|
|
|
|
@@ -3162,7 +3252,7 @@ steps:
|
|
|
|
|
image: grafana/ci-wix:0.1.1
|
|
|
|
|
commands:
|
|
|
|
|
- $$ProgressPreference = "SilentlyContinue"
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.37/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.38/windows/grabpl.exe -OutFile grabpl.exe
|
|
|
|
|
- git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git"
|
|
|
|
|
- cd grafana-enterprise
|
|
|
|
|
- git checkout $$env:DRONE_BRANCH
|
|
|
|
|
|