|
|
|
|
@ -28,10 +28,11 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p bin |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/grabpl |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/grabpl |
|
|
|
|
- chmod +x bin/grabpl |
|
|
|
|
- ./bin/grabpl verify-drone |
|
|
|
|
- make gen-go |
|
|
|
|
- ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER} |
|
|
|
|
- yarn install --immutable |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: initialize |
|
|
|
|
@ -145,20 +146,12 @@ steps: |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: ensure-cuetsified |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER} |
|
|
|
|
- . scripts/build/gpg-test-vars.sh && ./bin/grabpl package --jobs 8 --edition oss |
|
|
|
|
--build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise --variants linux-x64,linux-x64-musl,osx64,win64,armv6 |
|
|
|
|
depends_on: |
|
|
|
|
- build-plugins |
|
|
|
|
- build-backend |
|
|
|
|
- build-frontend |
|
|
|
|
- codespell |
|
|
|
|
- shellcheck |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: gen-version |
|
|
|
|
- commands: |
|
|
|
|
- . scripts/build/gpg-test-vars.sh && ./bin/grabpl package --jobs 8 --edition oss |
|
|
|
|
--build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise --variants linux-x64,linux-x64-musl,osx64,win64,armv6 |
|
|
|
|
depends_on: |
|
|
|
|
- gen-version |
|
|
|
|
environment: null |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: package |
|
|
|
|
@ -184,7 +177,7 @@ steps: |
|
|
|
|
- yarn storybook:build |
|
|
|
|
- ./bin/grabpl verify-storybook |
|
|
|
|
depends_on: |
|
|
|
|
- package |
|
|
|
|
- build-frontend |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=4096 |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
@ -220,7 +213,7 @@ steps: |
|
|
|
|
- ls dist/*.tar.gz* |
|
|
|
|
- cp dist/*.tar.gz* packaging/docker/ |
|
|
|
|
depends_on: |
|
|
|
|
- end-to-end-tests-server |
|
|
|
|
- package |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: copy-packages-for-docker |
|
|
|
|
- depends_on: |
|
|
|
|
@ -298,10 +291,11 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p bin |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/grabpl |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/grabpl |
|
|
|
|
- chmod +x bin/grabpl |
|
|
|
|
- ./bin/grabpl verify-drone |
|
|
|
|
- make gen-go |
|
|
|
|
- ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER} |
|
|
|
|
- yarn install --immutable |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: initialize |
|
|
|
|
@ -428,20 +422,12 @@ steps: |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: ensure-cuetsified |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER} |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise |
|
|
|
|
--sign |
|
|
|
|
depends_on: |
|
|
|
|
- build-plugins |
|
|
|
|
- build-backend |
|
|
|
|
- build-frontend |
|
|
|
|
- codespell |
|
|
|
|
- shellcheck |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: gen-version |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise |
|
|
|
|
--sign |
|
|
|
|
depends_on: |
|
|
|
|
- gen-version |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
@ -477,7 +463,7 @@ steps: |
|
|
|
|
- yarn storybook:build |
|
|
|
|
- ./bin/grabpl verify-storybook |
|
|
|
|
depends_on: |
|
|
|
|
- package |
|
|
|
|
- build-frontend |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=4096 |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
@ -527,7 +513,7 @@ steps: |
|
|
|
|
- ls dist/*.tar.gz* |
|
|
|
|
- cp dist/*.tar.gz* packaging/docker/ |
|
|
|
|
depends_on: |
|
|
|
|
- end-to-end-tests-server |
|
|
|
|
- package |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: copy-packages-for-docker |
|
|
|
|
- depends_on: |
|
|
|
|
@ -637,7 +623,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- $$ProgressPreference = "SilentlyContinue" |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/windows/grabpl.exe |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/windows/grabpl.exe |
|
|
|
|
-OutFile grabpl.exe |
|
|
|
|
image: grafana/ci-wix:0.1.1 |
|
|
|
|
name: initialize |
|
|
|
|
@ -684,7 +670,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p bin |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/grabpl |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/grabpl |
|
|
|
|
- chmod +x bin/grabpl |
|
|
|
|
- ./bin/grabpl verify-drone |
|
|
|
|
- make gen-go |
|
|
|
|
@ -772,11 +758,12 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p bin |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/grabpl |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/grabpl |
|
|
|
|
- chmod +x bin/grabpl |
|
|
|
|
- ./bin/grabpl verify-drone |
|
|
|
|
- make gen-go |
|
|
|
|
- ./bin/grabpl verify-version ${DRONE_TAG} |
|
|
|
|
- ./bin/grabpl gen-version ${DRONE_TAG} |
|
|
|
|
- yarn install --immutable |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: initialize |
|
|
|
|
@ -894,20 +881,12 @@ steps: |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: ensure-cuetsified |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl gen-version ${DRONE_TAG} |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition oss --github-token $${GITHUB_TOKEN} --no-pull-enterprise |
|
|
|
|
--sign ${DRONE_TAG} |
|
|
|
|
depends_on: |
|
|
|
|
- build-plugins |
|
|
|
|
- build-backend |
|
|
|
|
- build-frontend |
|
|
|
|
- codespell |
|
|
|
|
- shellcheck |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: gen-version |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition oss --github-token $${GITHUB_TOKEN} --no-pull-enterprise |
|
|
|
|
--sign ${DRONE_TAG} |
|
|
|
|
depends_on: |
|
|
|
|
- gen-version |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
@ -943,7 +922,7 @@ steps: |
|
|
|
|
- ls dist/*.tar.gz* |
|
|
|
|
- cp dist/*.tar.gz* packaging/docker/ |
|
|
|
|
depends_on: |
|
|
|
|
- end-to-end-tests-server |
|
|
|
|
- package |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: copy-packages-for-docker |
|
|
|
|
- depends_on: |
|
|
|
|
@ -1006,7 +985,7 @@ steps: |
|
|
|
|
- yarn storybook:build |
|
|
|
|
- ./bin/grabpl verify-storybook |
|
|
|
|
depends_on: |
|
|
|
|
- package |
|
|
|
|
- build-frontend |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=4096 |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
@ -1076,7 +1055,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- $$ProgressPreference = "SilentlyContinue" |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/windows/grabpl.exe |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/windows/grabpl.exe |
|
|
|
|
-OutFile grabpl.exe |
|
|
|
|
image: grafana/ci-wix:0.1.1 |
|
|
|
|
name: initialize |
|
|
|
|
@ -1143,7 +1122,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p bin |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/grabpl |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/grabpl |
|
|
|
|
- chmod +x bin/grabpl |
|
|
|
|
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" |
|
|
|
|
- cd grafana-enterprise |
|
|
|
|
@ -1164,6 +1143,7 @@ steps: |
|
|
|
|
- ./bin/grabpl verify-drone |
|
|
|
|
- make gen-go |
|
|
|
|
- ./bin/grabpl verify-version ${DRONE_TAG} |
|
|
|
|
- ./bin/grabpl gen-version ${DRONE_TAG} |
|
|
|
|
- yarn install --immutable |
|
|
|
|
depends_on: |
|
|
|
|
- clone |
|
|
|
|
@ -1315,22 +1295,14 @@ steps: |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: build-backend-enterprise2 |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl gen-version ${DRONE_TAG} |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition enterprise --github-token $${GITHUB_TOKEN} |
|
|
|
|
--no-pull-enterprise --sign ${DRONE_TAG} |
|
|
|
|
depends_on: |
|
|
|
|
- build-plugins |
|
|
|
|
- build-backend |
|
|
|
|
- build-frontend |
|
|
|
|
- codespell |
|
|
|
|
- shellcheck |
|
|
|
|
- build-backend-enterprise2 |
|
|
|
|
- test-backend-enterprise2 |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: gen-version |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition enterprise --github-token $${GITHUB_TOKEN} |
|
|
|
|
--no-pull-enterprise --sign ${DRONE_TAG} |
|
|
|
|
depends_on: |
|
|
|
|
- gen-version |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
@ -1368,7 +1340,7 @@ steps: |
|
|
|
|
- ls dist/*.tar.gz* |
|
|
|
|
- cp dist/*.tar.gz* packaging/docker/ |
|
|
|
|
depends_on: |
|
|
|
|
- end-to-end-tests-server |
|
|
|
|
- package |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: copy-packages-for-docker |
|
|
|
|
- depends_on: |
|
|
|
|
@ -1473,7 +1445,11 @@ steps: |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition enterprise2 --github-token $${GITHUB_TOKEN} |
|
|
|
|
--no-pull-enterprise --sign ${DRONE_TAG} |
|
|
|
|
depends_on: |
|
|
|
|
- gen-version |
|
|
|
|
- build-plugins |
|
|
|
|
- build-backend |
|
|
|
|
- build-frontend |
|
|
|
|
- build-backend-enterprise2 |
|
|
|
|
- test-backend-enterprise2 |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
@ -1554,7 +1530,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- $$ProgressPreference = "SilentlyContinue" |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/windows/grabpl.exe |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/windows/grabpl.exe |
|
|
|
|
-OutFile grabpl.exe |
|
|
|
|
- git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git" |
|
|
|
|
- cd grafana-enterprise |
|
|
|
|
@ -1619,7 +1595,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p bin |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/grabpl |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/grabpl |
|
|
|
|
- chmod +x bin/grabpl |
|
|
|
|
- ./bin/grabpl verify-drone |
|
|
|
|
- make gen-go |
|
|
|
|
@ -1726,11 +1702,12 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p bin |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/grabpl |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/grabpl |
|
|
|
|
- chmod +x bin/grabpl |
|
|
|
|
- ./bin/grabpl verify-drone |
|
|
|
|
- make gen-go |
|
|
|
|
- ./bin/grabpl verify-version v7.3.0-test |
|
|
|
|
- ./bin/grabpl gen-version v7.3.0-test |
|
|
|
|
- yarn install --immutable |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: initialize |
|
|
|
|
@ -1848,20 +1825,12 @@ steps: |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: ensure-cuetsified |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl gen-version v7.3.0-test |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition oss --github-token $${GITHUB_TOKEN} --no-pull-enterprise |
|
|
|
|
--sign v7.3.0-test |
|
|
|
|
depends_on: |
|
|
|
|
- build-plugins |
|
|
|
|
- build-backend |
|
|
|
|
- build-frontend |
|
|
|
|
- codespell |
|
|
|
|
- shellcheck |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: gen-version |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition oss --github-token $${GITHUB_TOKEN} --no-pull-enterprise |
|
|
|
|
--sign v7.3.0-test |
|
|
|
|
depends_on: |
|
|
|
|
- gen-version |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
@ -1897,7 +1866,7 @@ steps: |
|
|
|
|
- ls dist/*.tar.gz* |
|
|
|
|
- cp dist/*.tar.gz* packaging/docker/ |
|
|
|
|
depends_on: |
|
|
|
|
- end-to-end-tests-server |
|
|
|
|
- package |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: copy-packages-for-docker |
|
|
|
|
- depends_on: |
|
|
|
|
@ -1952,7 +1921,7 @@ steps: |
|
|
|
|
- yarn storybook:build |
|
|
|
|
- ./bin/grabpl verify-storybook |
|
|
|
|
depends_on: |
|
|
|
|
- package |
|
|
|
|
- build-frontend |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=4096 |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
@ -2018,7 +1987,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- $$ProgressPreference = "SilentlyContinue" |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/windows/grabpl.exe |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/windows/grabpl.exe |
|
|
|
|
-OutFile grabpl.exe |
|
|
|
|
image: grafana/ci-wix:0.1.1 |
|
|
|
|
name: initialize |
|
|
|
|
@ -2086,7 +2055,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p bin |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/grabpl |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/grabpl |
|
|
|
|
- chmod +x bin/grabpl |
|
|
|
|
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" |
|
|
|
|
- cd grafana-enterprise |
|
|
|
|
@ -2107,6 +2076,7 @@ steps: |
|
|
|
|
- ./bin/grabpl verify-drone |
|
|
|
|
- make gen-go |
|
|
|
|
- ./bin/grabpl verify-version v7.3.0-test |
|
|
|
|
- ./bin/grabpl gen-version v7.3.0-test |
|
|
|
|
- yarn install --immutable |
|
|
|
|
depends_on: |
|
|
|
|
- clone |
|
|
|
|
@ -2258,22 +2228,14 @@ steps: |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: build-backend-enterprise2 |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl gen-version v7.3.0-test |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition enterprise --github-token $${GITHUB_TOKEN} |
|
|
|
|
--no-pull-enterprise --sign v7.3.0-test |
|
|
|
|
depends_on: |
|
|
|
|
- build-plugins |
|
|
|
|
- build-backend |
|
|
|
|
- build-frontend |
|
|
|
|
- codespell |
|
|
|
|
- shellcheck |
|
|
|
|
- build-backend-enterprise2 |
|
|
|
|
- test-backend-enterprise2 |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: gen-version |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition enterprise --github-token $${GITHUB_TOKEN} |
|
|
|
|
--no-pull-enterprise --sign v7.3.0-test |
|
|
|
|
depends_on: |
|
|
|
|
- gen-version |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
@ -2311,7 +2273,7 @@ steps: |
|
|
|
|
- ls dist/*.tar.gz* |
|
|
|
|
- cp dist/*.tar.gz* packaging/docker/ |
|
|
|
|
depends_on: |
|
|
|
|
- end-to-end-tests-server |
|
|
|
|
- package |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: copy-packages-for-docker |
|
|
|
|
- depends_on: |
|
|
|
|
@ -2408,7 +2370,11 @@ steps: |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition enterprise2 --github-token $${GITHUB_TOKEN} |
|
|
|
|
--no-pull-enterprise --sign v7.3.0-test |
|
|
|
|
depends_on: |
|
|
|
|
- gen-version |
|
|
|
|
- build-plugins |
|
|
|
|
- build-backend |
|
|
|
|
- build-frontend |
|
|
|
|
- build-backend-enterprise2 |
|
|
|
|
- test-backend-enterprise2 |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
@ -2489,7 +2455,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- $$ProgressPreference = "SilentlyContinue" |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/windows/grabpl.exe |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/windows/grabpl.exe |
|
|
|
|
-OutFile grabpl.exe |
|
|
|
|
- git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git" |
|
|
|
|
- cd grafana-enterprise |
|
|
|
|
@ -2555,7 +2521,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p bin |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/grabpl |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/grabpl |
|
|
|
|
- chmod +x bin/grabpl |
|
|
|
|
- ./bin/grabpl verify-drone |
|
|
|
|
- make gen-go |
|
|
|
|
@ -2667,10 +2633,11 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p bin |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/grabpl |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/grabpl |
|
|
|
|
- chmod +x bin/grabpl |
|
|
|
|
- ./bin/grabpl verify-drone |
|
|
|
|
- make gen-go |
|
|
|
|
- ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER} |
|
|
|
|
- yarn install --immutable |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: initialize |
|
|
|
|
@ -2786,20 +2753,12 @@ steps: |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: ensure-cuetsified |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER} |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise |
|
|
|
|
--sign |
|
|
|
|
depends_on: |
|
|
|
|
- build-plugins |
|
|
|
|
- build-backend |
|
|
|
|
- build-frontend |
|
|
|
|
- codespell |
|
|
|
|
- shellcheck |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: gen-version |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition oss --build-id ${DRONE_BUILD_NUMBER} --no-pull-enterprise |
|
|
|
|
--sign |
|
|
|
|
depends_on: |
|
|
|
|
- gen-version |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
@ -2835,7 +2794,7 @@ steps: |
|
|
|
|
- ls dist/*.tar.gz* |
|
|
|
|
- cp dist/*.tar.gz* packaging/docker/ |
|
|
|
|
depends_on: |
|
|
|
|
- end-to-end-tests-server |
|
|
|
|
- package |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: copy-packages-for-docker |
|
|
|
|
- depends_on: |
|
|
|
|
@ -2890,7 +2849,7 @@ steps: |
|
|
|
|
- yarn storybook:build |
|
|
|
|
- ./bin/grabpl verify-storybook |
|
|
|
|
depends_on: |
|
|
|
|
- package |
|
|
|
|
- build-frontend |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=4096 |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
@ -2936,7 +2895,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- $$ProgressPreference = "SilentlyContinue" |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/windows/grabpl.exe |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/windows/grabpl.exe |
|
|
|
|
-OutFile grabpl.exe |
|
|
|
|
image: grafana/ci-wix:0.1.1 |
|
|
|
|
name: initialize |
|
|
|
|
@ -2999,7 +2958,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- mkdir -p bin |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/grabpl |
|
|
|
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/grabpl |
|
|
|
|
- chmod +x bin/grabpl |
|
|
|
|
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" |
|
|
|
|
- cd grafana-enterprise |
|
|
|
|
@ -3019,6 +2978,7 @@ steps: |
|
|
|
|
- mv /tmp/grabpl bin/ |
|
|
|
|
- ./bin/grabpl verify-drone |
|
|
|
|
- make gen-go |
|
|
|
|
- ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER} |
|
|
|
|
- yarn install --immutable |
|
|
|
|
depends_on: |
|
|
|
|
- clone |
|
|
|
|
@ -3166,22 +3126,14 @@ steps: |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: build-backend-enterprise2 |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl gen-version --build-id ${DRONE_BUILD_NUMBER} |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} |
|
|
|
|
--no-pull-enterprise --sign |
|
|
|
|
depends_on: |
|
|
|
|
- build-plugins |
|
|
|
|
- build-backend |
|
|
|
|
- build-frontend |
|
|
|
|
- codespell |
|
|
|
|
- shellcheck |
|
|
|
|
- build-backend-enterprise2 |
|
|
|
|
- test-backend-enterprise2 |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: gen-version |
|
|
|
|
- commands: |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition enterprise --build-id ${DRONE_BUILD_NUMBER} |
|
|
|
|
--no-pull-enterprise --sign |
|
|
|
|
depends_on: |
|
|
|
|
- gen-version |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
@ -3219,7 +3171,7 @@ steps: |
|
|
|
|
- ls dist/*.tar.gz* |
|
|
|
|
- cp dist/*.tar.gz* packaging/docker/ |
|
|
|
|
depends_on: |
|
|
|
|
- end-to-end-tests-server |
|
|
|
|
- package |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
name: copy-packages-for-docker |
|
|
|
|
- depends_on: |
|
|
|
|
@ -3274,7 +3226,7 @@ steps: |
|
|
|
|
- yarn storybook:build |
|
|
|
|
- ./bin/grabpl verify-storybook |
|
|
|
|
depends_on: |
|
|
|
|
- package |
|
|
|
|
- build-frontend |
|
|
|
|
environment: |
|
|
|
|
NODE_OPTIONS: --max_old_space_size=4096 |
|
|
|
|
image: grafana/build-container:1.4.3 |
|
|
|
|
@ -3325,7 +3277,11 @@ steps: |
|
|
|
|
- ./bin/grabpl package --jobs 8 --edition enterprise2 --build-id ${DRONE_BUILD_NUMBER} |
|
|
|
|
--no-pull-enterprise --variants linux-x64 --sign |
|
|
|
|
depends_on: |
|
|
|
|
- gen-version |
|
|
|
|
- build-plugins |
|
|
|
|
- build-backend |
|
|
|
|
- build-frontend |
|
|
|
|
- build-backend-enterprise2 |
|
|
|
|
- test-backend-enterprise2 |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
@ -3406,7 +3362,7 @@ steps: |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- $$ProgressPreference = "SilentlyContinue" |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.2/windows/grabpl.exe |
|
|
|
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v2.5.5/windows/grabpl.exe |
|
|
|
|
-OutFile grabpl.exe |
|
|
|
|
- git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git" |
|
|
|
|
- cd grafana-enterprise |
|
|
|
|
@ -3529,6 +3485,6 @@ kind: secret |
|
|
|
|
name: drone_token |
|
|
|
|
--- |
|
|
|
|
kind: signature |
|
|
|
|
hmac: 96d23b144a0a27bce871f7faf782827c17cc132492fe058a7c56768c543078c9 |
|
|
|
|
hmac: 0d26eda19dc6e530d02c734704c8a9d01beb5082c7e14b2609577b8695ed06f5 |
|
|
|
|
|
|
|
|
|
... |
|
|
|
|
|