|
|
|
@ -83,13 +83,6 @@ steps: |
|
|
|
|
- grabpl |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd |
|
|
|
|
depends_on: [] |
|
|
|
|
environment: |
|
|
|
|
CGO_ENABLED: 0 |
|
|
|
|
image: golang:1.19.2 |
|
|
|
|
name: compile-build-cmd |
|
|
|
|
- commands: |
|
|
|
|
- yarn betterer ci |
|
|
|
|
depends_on: |
|
|
|
@ -931,13 +924,6 @@ steps: |
|
|
|
|
- grabpl |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd |
|
|
|
|
depends_on: [] |
|
|
|
|
environment: |
|
|
|
|
CGO_ENABLED: 0 |
|
|
|
|
image: golang:1.19.2 |
|
|
|
|
name: compile-build-cmd |
|
|
|
|
- commands: |
|
|
|
|
- yarn betterer ci |
|
|
|
|
depends_on: |
|
|
|
@ -2263,13 +2249,6 @@ steps: |
|
|
|
|
- grabpl |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd |
|
|
|
|
depends_on: [] |
|
|
|
|
environment: |
|
|
|
|
CGO_ENABLED: 0 |
|
|
|
|
image: golang:1.19.2 |
|
|
|
|
name: compile-build-cmd |
|
|
|
|
- commands: |
|
|
|
|
- yarn betterer ci |
|
|
|
|
depends_on: |
|
|
|
@ -2930,13 +2909,6 @@ steps: |
|
|
|
|
- grabpl |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd |
|
|
|
|
depends_on: [] |
|
|
|
|
environment: |
|
|
|
|
CGO_ENABLED: 0 |
|
|
|
|
image: golang:1.19.2 |
|
|
|
|
name: compile-build-cmd |
|
|
|
|
- commands: |
|
|
|
|
- yarn betterer ci |
|
|
|
|
depends_on: |
|
|
|
@ -2983,13 +2955,39 @@ platform: |
|
|
|
|
os: linux |
|
|
|
|
services: [] |
|
|
|
|
steps: |
|
|
|
|
- commands: |
|
|
|
|
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" |
|
|
|
|
- cd grafana-enterprise |
|
|
|
|
- git checkout ${DRONE_TAG} |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: clone-enterprise |
|
|
|
|
- commands: |
|
|
|
|
- mv bin/grabpl /tmp/ |
|
|
|
|
- rmdir bin |
|
|
|
|
- mv grafana-enterprise /tmp/ |
|
|
|
|
- /tmp/grabpl init-enterprise --github-token $${GITHUB_TOKEN} /tmp/grafana-enterprise |
|
|
|
|
${DRONE_TAG} |
|
|
|
|
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json |
|
|
|
|
- mkdir bin |
|
|
|
|
- mv /tmp/grabpl bin/ |
|
|
|
|
depends_on: |
|
|
|
|
- clone-enterprise |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: init-enterprise |
|
|
|
|
- commands: |
|
|
|
|
- echo $DRONE_RUNNER_NAME |
|
|
|
|
image: alpine:3.15.6 |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd |
|
|
|
|
depends_on: [] |
|
|
|
|
depends_on: |
|
|
|
|
- init-enterprise |
|
|
|
|
environment: |
|
|
|
|
CGO_ENABLED: 0 |
|
|
|
|
image: golang:1.19.2 |
|
|
|
@ -3052,6 +3050,31 @@ platform: |
|
|
|
|
os: linux |
|
|
|
|
services: [] |
|
|
|
|
steps: |
|
|
|
|
- commands: |
|
|
|
|
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" |
|
|
|
|
- cd grafana-enterprise |
|
|
|
|
- git checkout ${DRONE_TAG} |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: clone-enterprise |
|
|
|
|
- commands: |
|
|
|
|
- mv bin/grabpl /tmp/ |
|
|
|
|
- rmdir bin |
|
|
|
|
- mv grafana-enterprise /tmp/ |
|
|
|
|
- /tmp/grabpl init-enterprise --github-token $${GITHUB_TOKEN} /tmp/grafana-enterprise |
|
|
|
|
${DRONE_TAG} |
|
|
|
|
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json |
|
|
|
|
- mkdir bin |
|
|
|
|
- mv /tmp/grabpl bin/ |
|
|
|
|
depends_on: |
|
|
|
|
- clone-enterprise |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: init-enterprise |
|
|
|
|
- commands: |
|
|
|
|
- echo $DRONE_RUNNER_NAME |
|
|
|
|
image: alpine:3.15.6 |
|
|
|
@ -4257,13 +4280,6 @@ steps: |
|
|
|
|
- grabpl |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd |
|
|
|
|
depends_on: [] |
|
|
|
|
environment: |
|
|
|
|
CGO_ENABLED: 0 |
|
|
|
|
image: golang:1.19.2 |
|
|
|
|
name: compile-build-cmd |
|
|
|
|
- commands: |
|
|
|
|
- yarn betterer ci |
|
|
|
|
depends_on: |
|
|
|
@ -4885,13 +4901,6 @@ steps: |
|
|
|
|
- grabpl |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: yarn-install |
|
|
|
|
- commands: |
|
|
|
|
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd |
|
|
|
|
depends_on: [] |
|
|
|
|
environment: |
|
|
|
|
CGO_ENABLED: 0 |
|
|
|
|
image: golang:1.19.2 |
|
|
|
|
name: compile-build-cmd |
|
|
|
|
- commands: |
|
|
|
|
- yarn betterer ci |
|
|
|
|
depends_on: |
|
|
|
@ -4932,13 +4941,36 @@ platform: |
|
|
|
|
os: linux |
|
|
|
|
services: [] |
|
|
|
|
steps: |
|
|
|
|
- commands: |
|
|
|
|
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" |
|
|
|
|
- cd grafana-enterprise |
|
|
|
|
- git checkout ${DRONE_BRANCH} |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: clone-enterprise |
|
|
|
|
- commands: |
|
|
|
|
- mv bin/grabpl /tmp/ |
|
|
|
|
- rmdir bin |
|
|
|
|
- mv grafana-enterprise /tmp/ |
|
|
|
|
- /tmp/grabpl init-enterprise /tmp/grafana-enterprise |
|
|
|
|
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json |
|
|
|
|
- mkdir bin |
|
|
|
|
- mv /tmp/grabpl bin/ |
|
|
|
|
depends_on: |
|
|
|
|
- clone-enterprise |
|
|
|
|
environment: {} |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: init-enterprise |
|
|
|
|
- commands: |
|
|
|
|
- echo $DRONE_RUNNER_NAME |
|
|
|
|
image: alpine:3.15.6 |
|
|
|
|
name: identify-runner |
|
|
|
|
- commands: |
|
|
|
|
- go build -o ./bin/build -ldflags '-extldflags -static' ./pkg/build/cmd |
|
|
|
|
depends_on: [] |
|
|
|
|
depends_on: |
|
|
|
|
- init-enterprise |
|
|
|
|
environment: |
|
|
|
|
CGO_ENABLED: 0 |
|
|
|
|
image: golang:1.19.2 |
|
|
|
@ -4995,6 +5027,28 @@ platform: |
|
|
|
|
os: linux |
|
|
|
|
services: [] |
|
|
|
|
steps: |
|
|
|
|
- commands: |
|
|
|
|
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" |
|
|
|
|
- cd grafana-enterprise |
|
|
|
|
- git checkout ${DRONE_BRANCH} |
|
|
|
|
environment: |
|
|
|
|
GITHUB_TOKEN: |
|
|
|
|
from_secret: github_token |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: clone-enterprise |
|
|
|
|
- commands: |
|
|
|
|
- mv bin/grabpl /tmp/ |
|
|
|
|
- rmdir bin |
|
|
|
|
- mv grafana-enterprise /tmp/ |
|
|
|
|
- /tmp/grabpl init-enterprise /tmp/grafana-enterprise |
|
|
|
|
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json |
|
|
|
|
- mkdir bin |
|
|
|
|
- mv /tmp/grabpl bin/ |
|
|
|
|
depends_on: |
|
|
|
|
- clone-enterprise |
|
|
|
|
environment: {} |
|
|
|
|
image: grafana/build-container:1.6.3 |
|
|
|
|
name: init-enterprise |
|
|
|
|
- commands: |
|
|
|
|
- echo $DRONE_RUNNER_NAME |
|
|
|
|
image: alpine:3.15.6 |
|
|
|
@ -5494,6 +5548,6 @@ kind: secret |
|
|
|
|
name: packages_secret_access_key |
|
|
|
|
--- |
|
|
|
|
kind: signature |
|
|
|
|
hmac: 0a4cc4cfd81481dbb25b9ccfc22ddd4ad23bbaa1b775e5c64aba2533ccfe1676 |
|
|
|
|
hmac: 82dedf98f127a4d16c71b668d9a2df17502c109cc6ff0ab01e770547250135e7 |
|
|
|
|
|
|
|
|
|
... |
|
|
|
|