* CI: Use full `dockerhub` repository name (#57979)
* Add full dockerhub repo name
* Update grabpl version
(cherry picked from commit 57ee0e4a4b)
* sign drone.yml
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
This commit is contained in:
co-authored by
Marcus Efraimsson
parent
d38ac63f22
commit
7382b1be90
+59
-58
@@ -19,7 +19,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -73,7 +73,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -323,7 +323,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -589,7 +589,7 @@ services:
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -694,7 +694,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -807,7 +807,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -882,7 +882,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -1119,7 +1119,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -1407,8 +1407,8 @@ steps:
|
|||||||
- name: docker
|
- name: docker
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
- commands:
|
- commands:
|
||||||
- ./bin/grabpl artifacts docker publish --dockerhub-repo grafana --base alpine --base
|
- ./bin/grabpl artifacts docker publish --dockerhub-repo grafana/grafana --base
|
||||||
ubuntu --arch amd64 --arch arm64 --arch armv7
|
alpine --base ubuntu --arch amd64 --arch arm64 --arch armv7
|
||||||
depends_on:
|
depends_on:
|
||||||
- build-docker-images
|
- build-docker-images
|
||||||
- build-docker-images-ubuntu
|
- build-docker-images-ubuntu
|
||||||
@@ -1420,7 +1420,7 @@ steps:
|
|||||||
GCP_KEY:
|
GCP_KEY:
|
||||||
from_secret: gcp_key
|
from_secret: gcp_key
|
||||||
image: google/cloud-sdk
|
image: google/cloud-sdk
|
||||||
name: publish-images-grafana
|
name: publish-images-grafana/grafana
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker
|
- name: docker
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
@@ -1428,8 +1428,8 @@ steps:
|
|||||||
repo:
|
repo:
|
||||||
- grafana/grafana
|
- grafana/grafana
|
||||||
- commands:
|
- commands:
|
||||||
- ./bin/grabpl artifacts docker publish --dockerhub-repo grafana-oss --base alpine
|
- ./bin/grabpl artifacts docker publish --dockerhub-repo grafana/grafana-oss --base
|
||||||
--base ubuntu --arch amd64 --arch arm64 --arch armv7
|
alpine --base ubuntu --arch amd64 --arch arm64 --arch armv7
|
||||||
depends_on:
|
depends_on:
|
||||||
- build-docker-images
|
- build-docker-images
|
||||||
- build-docker-images-ubuntu
|
- build-docker-images-ubuntu
|
||||||
@@ -1441,7 +1441,7 @@ steps:
|
|||||||
GCP_KEY:
|
GCP_KEY:
|
||||||
from_secret: gcp_key
|
from_secret: gcp_key
|
||||||
image: google/cloud-sdk
|
image: google/cloud-sdk
|
||||||
name: publish-images-grafana-oss
|
name: publish-images-grafana/grafana-oss
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker
|
- name: docker
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
@@ -1545,7 +1545,7 @@ services:
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -1651,7 +1651,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- $$ProgressPreference = "SilentlyContinue"
|
- $$ProgressPreference = "SilentlyContinue"
|
||||||
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/windows/grabpl.exe
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/windows/grabpl.exe
|
||||||
-OutFile grabpl.exe
|
-OutFile grabpl.exe
|
||||||
image: grafana/ci-wix:0.1.1
|
image: grafana/ci-wix:0.1.1
|
||||||
name: windows-init
|
name: windows-init
|
||||||
@@ -1748,7 +1748,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -1899,7 +1899,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -2208,7 +2208,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -2354,7 +2354,7 @@ services:
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -2455,7 +2455,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- $$ProgressPreference = "SilentlyContinue"
|
- $$ProgressPreference = "SilentlyContinue"
|
||||||
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/windows/grabpl.exe
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/windows/grabpl.exe
|
||||||
-OutFile grabpl.exe
|
-OutFile grabpl.exe
|
||||||
image: grafana/ci-wix:0.1.1
|
image: grafana/ci-wix:0.1.1
|
||||||
name: windows-init
|
name: windows-init
|
||||||
@@ -2515,7 +2515,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -2894,7 +2894,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -2963,7 +2963,7 @@ steps:
|
|||||||
name: clone-enterprise
|
name: clone-enterprise
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -3065,7 +3065,7 @@ steps:
|
|||||||
name: clone-enterprise
|
name: clone-enterprise
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -3184,7 +3184,7 @@ services:
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -3329,7 +3329,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- $$ProgressPreference = "SilentlyContinue"
|
- $$ProgressPreference = "SilentlyContinue"
|
||||||
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/windows/grabpl.exe
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/windows/grabpl.exe
|
||||||
-OutFile grabpl.exe
|
-OutFile grabpl.exe
|
||||||
- git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git"
|
- git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git"
|
||||||
- cd grafana-enterprise
|
- cd grafana-enterprise
|
||||||
@@ -3407,7 +3407,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -3435,8 +3435,8 @@ steps:
|
|||||||
- name: docker
|
- name: docker
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
- commands:
|
- commands:
|
||||||
- ./bin/grabpl artifacts docker publish --dockerhub-repo grafana --base alpine --base
|
- ./bin/grabpl artifacts docker publish --dockerhub-repo grafana/grafana --base
|
||||||
ubuntu --arch amd64 --arch arm64 --arch armv7 --version-tag ${TAG}
|
alpine --base ubuntu --arch amd64 --arch arm64 --arch armv7 --version-tag ${TAG}
|
||||||
depends_on:
|
depends_on:
|
||||||
- fetch-images-oss
|
- fetch-images-oss
|
||||||
environment:
|
environment:
|
||||||
@@ -3447,13 +3447,13 @@ steps:
|
|||||||
GCP_KEY:
|
GCP_KEY:
|
||||||
from_secret: gcp_key
|
from_secret: gcp_key
|
||||||
image: google/cloud-sdk
|
image: google/cloud-sdk
|
||||||
name: publish-images-grafana
|
name: publish-images-grafana/grafana
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker
|
- name: docker
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
- commands:
|
- commands:
|
||||||
- ./bin/grabpl artifacts docker publish --dockerhub-repo grafana-oss --base alpine
|
- ./bin/grabpl artifacts docker publish --dockerhub-repo grafana/grafana-oss --base
|
||||||
--base ubuntu --arch amd64 --arch arm64 --arch armv7 --version-tag ${TAG}
|
alpine --base ubuntu --arch amd64 --arch arm64 --arch armv7 --version-tag ${TAG}
|
||||||
depends_on:
|
depends_on:
|
||||||
- fetch-images-oss
|
- fetch-images-oss
|
||||||
environment:
|
environment:
|
||||||
@@ -3464,7 +3464,7 @@ steps:
|
|||||||
GCP_KEY:
|
GCP_KEY:
|
||||||
from_secret: gcp_key
|
from_secret: gcp_key
|
||||||
image: google/cloud-sdk
|
image: google/cloud-sdk
|
||||||
name: publish-images-grafana-oss
|
name: publish-images-grafana/grafana-oss
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker
|
- name: docker
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
@@ -3495,7 +3495,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -3523,8 +3523,9 @@ steps:
|
|||||||
- name: docker
|
- name: docker
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
- commands:
|
- commands:
|
||||||
- ./bin/grabpl artifacts docker publish --dockerhub-repo grafana-enterprise --base
|
- ./bin/grabpl artifacts docker publish --dockerhub-repo grafana/grafana-enterprise
|
||||||
alpine --base ubuntu --arch amd64 --arch arm64 --arch armv7 --version-tag ${TAG}
|
--base alpine --base ubuntu --arch amd64 --arch arm64 --arch armv7 --version-tag
|
||||||
|
${TAG}
|
||||||
depends_on:
|
depends_on:
|
||||||
- fetch-images-enterprise
|
- fetch-images-enterprise
|
||||||
environment:
|
environment:
|
||||||
@@ -3535,7 +3536,7 @@ steps:
|
|||||||
GCP_KEY:
|
GCP_KEY:
|
||||||
from_secret: gcp_key
|
from_secret: gcp_key
|
||||||
image: google/cloud-sdk
|
image: google/cloud-sdk
|
||||||
name: publish-images-grafana-enterprise
|
name: publish-images-grafana/grafana-enterprise
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker
|
- name: docker
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
@@ -3566,7 +3567,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -3594,7 +3595,7 @@ steps:
|
|||||||
- name: docker
|
- name: docker
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
- commands:
|
- commands:
|
||||||
- ./bin/grabpl artifacts docker publish --security --dockerhub-repo grafana-enterprise
|
- ./bin/grabpl artifacts docker publish --security --dockerhub-repo grafana/grafana-enterprise
|
||||||
--base alpine --base ubuntu --arch amd64 --arch arm64 --arch armv7 --version-tag
|
--base alpine --base ubuntu --arch amd64 --arch arm64 --arch armv7 --version-tag
|
||||||
${TAG}
|
${TAG}
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -3607,7 +3608,7 @@ steps:
|
|||||||
GCP_KEY:
|
GCP_KEY:
|
||||||
from_secret: gcp_key
|
from_secret: gcp_key
|
||||||
image: google/cloud-sdk
|
image: google/cloud-sdk
|
||||||
name: publish-images-grafana-enterprise
|
name: publish-images-grafana/grafana-enterprise
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker
|
- name: docker
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
@@ -3638,7 +3639,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -3680,7 +3681,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -3722,7 +3723,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -3783,7 +3784,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -3896,7 +3897,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -4006,7 +4007,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -4051,7 +4052,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -4329,7 +4330,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -4463,7 +4464,7 @@ services:
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -4558,7 +4559,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- $$ProgressPreference = "SilentlyContinue"
|
- $$ProgressPreference = "SilentlyContinue"
|
||||||
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/windows/grabpl.exe
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/windows/grabpl.exe
|
||||||
-OutFile grabpl.exe
|
-OutFile grabpl.exe
|
||||||
image: grafana/ci-wix:0.1.1
|
image: grafana/ci-wix:0.1.1
|
||||||
name: windows-init
|
name: windows-init
|
||||||
@@ -4608,7 +4609,7 @@ services: []
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -4977,7 +4978,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -5040,7 +5041,7 @@ steps:
|
|||||||
name: clone-enterprise
|
name: clone-enterprise
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -5135,7 +5136,7 @@ steps:
|
|||||||
name: clone-enterprise
|
name: clone-enterprise
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -5247,7 +5248,7 @@ services:
|
|||||||
steps:
|
steps:
|
||||||
- commands:
|
- commands:
|
||||||
- mkdir -p bin
|
- mkdir -p bin
|
||||||
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/grabpl
|
- curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/grabpl
|
||||||
- chmod +x bin/grabpl
|
- chmod +x bin/grabpl
|
||||||
image: byrnedo/alpine-curl:0.1.8
|
image: byrnedo/alpine-curl:0.1.8
|
||||||
name: grabpl
|
name: grabpl
|
||||||
@@ -5385,7 +5386,7 @@ steps:
|
|||||||
name: identify-runner
|
name: identify-runner
|
||||||
- commands:
|
- commands:
|
||||||
- $$ProgressPreference = "SilentlyContinue"
|
- $$ProgressPreference = "SilentlyContinue"
|
||||||
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.14/windows/grabpl.exe
|
- Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.15/windows/grabpl.exe
|
||||||
-OutFile grabpl.exe
|
-OutFile grabpl.exe
|
||||||
- git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git"
|
- git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git"
|
||||||
- cd grafana-enterprise
|
- cd grafana-enterprise
|
||||||
@@ -5626,6 +5627,6 @@ kind: secret
|
|||||||
name: packages_secret_access_key
|
name: packages_secret_access_key
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: b07e2a342c25cd77d02ebaaa1dcf0bba4829096c9079658478ac3873c1571f5e
|
hmac: cfb6cc1cafb8123bc6a676b37fcd989de64bef962027cc8d39af3789a581a3a0
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
@@ -89,8 +89,8 @@ def build_e2e(trigger, ver_mode, edition):
|
|||||||
build_steps.extend([
|
build_steps.extend([
|
||||||
build_docker_images_step(edition=edition, ver_mode=ver_mode, publish=False),
|
build_docker_images_step(edition=edition, ver_mode=ver_mode, publish=False),
|
||||||
build_docker_images_step(edition=edition, ver_mode=ver_mode, ubuntu=True, publish=False),
|
build_docker_images_step(edition=edition, ver_mode=ver_mode, ubuntu=True, publish=False),
|
||||||
publish_images_step(edition=edition, ver_mode=ver_mode, mode='', docker_repo='grafana', trigger=trigger_oss),
|
publish_images_step(edition=edition, ver_mode=ver_mode, mode='', docker_repo='grafana/grafana', trigger=trigger_oss),
|
||||||
publish_images_step(edition=edition, ver_mode=ver_mode, mode='', docker_repo='grafana-oss', trigger=trigger_oss),
|
publish_images_step(edition=edition, ver_mode=ver_mode, mode='', docker_repo='grafana/grafana-oss', trigger=trigger_oss),
|
||||||
release_canary_npm_packages_step(edition, trigger=trigger_oss),
|
release_canary_npm_packages_step(edition, trigger=trigger_oss),
|
||||||
upload_packages_step(edition=edition, ver_mode=ver_mode, trigger=trigger_oss),
|
upload_packages_step(edition=edition, ver_mode=ver_mode, trigger=trigger_oss),
|
||||||
upload_cdn_step(edition=edition, ver_mode=ver_mode, trigger=trigger_oss)
|
upload_cdn_step(edition=edition, ver_mode=ver_mode, trigger=trigger_oss)
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ load(
|
|||||||
def publish_image_steps(edition, mode, docker_repo):
|
def publish_image_steps(edition, mode, docker_repo):
|
||||||
additional_docker_repo = ""
|
additional_docker_repo = ""
|
||||||
if edition == 'oss':
|
if edition == 'oss':
|
||||||
additional_docker_repo='grafana-oss'
|
additional_docker_repo='grafana/grafana-oss'
|
||||||
steps = [
|
steps = [
|
||||||
download_grabpl_step(),
|
download_grabpl_step(),
|
||||||
compile_build_cmd(),
|
compile_build_cmd(),
|
||||||
@@ -34,9 +34,9 @@ def publish_image_pipelines_public():
|
|||||||
'target': [mode],
|
'target': [mode],
|
||||||
}
|
}
|
||||||
return [pipeline(
|
return [pipeline(
|
||||||
name='publish-docker-oss-{}'.format(mode), trigger=trigger, steps=publish_image_steps(edition='oss', mode=mode, docker_repo='grafana'), edition=""
|
name='publish-docker-oss-{}'.format(mode), trigger=trigger, steps=publish_image_steps(edition='oss', mode=mode, docker_repo='grafana/grafana'), edition=""
|
||||||
), pipeline(
|
), pipeline(
|
||||||
name='publish-docker-enterprise-{}'.format(mode), trigger=trigger, steps=publish_image_steps(edition='enterprise', mode=mode, docker_repo='grafana-enterprise'), edition=""
|
name='publish-docker-enterprise-{}'.format(mode), trigger=trigger, steps=publish_image_steps(edition='enterprise', mode=mode, docker_repo='grafana/grafana-enterprise'), edition=""
|
||||||
),]
|
),]
|
||||||
|
|
||||||
def publish_image_pipelines_security():
|
def publish_image_pipelines_security():
|
||||||
@@ -46,5 +46,5 @@ def publish_image_pipelines_security():
|
|||||||
'target': [mode],
|
'target': [mode],
|
||||||
}
|
}
|
||||||
return [pipeline(
|
return [pipeline(
|
||||||
name='publish-docker-enterprise-{}'.format(mode), trigger=trigger, steps=publish_image_steps(edition='enterprise', mode=mode, docker_repo='grafana-enterprise'), edition=""
|
name='publish-docker-enterprise-{}'.format(mode), trigger=trigger, steps=publish_image_steps(edition='enterprise', mode=mode, docker_repo='grafana/grafana-enterprise'), edition=""
|
||||||
),]
|
),]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
load('scripts/drone/vault.star', 'from_secret', 'github_token', 'pull_secret', 'drone_token', 'prerelease_bucket')
|
load('scripts/drone/vault.star', 'from_secret', 'github_token', 'pull_secret', 'drone_token', 'prerelease_bucket')
|
||||||
|
|
||||||
grabpl_version = 'v3.0.14'
|
grabpl_version = 'v3.0.15'
|
||||||
build_image = 'grafana/build-container:1.6.4'
|
build_image = 'grafana/build-container:1.6.4'
|
||||||
publish_image = 'grafana/grafana-ci-deploy:1.3.3'
|
publish_image = 'grafana/grafana-ci-deploy:1.3.3'
|
||||||
deploy_docker_image = 'us.gcr.io/kubernetes-dev/drone/plugins/deploy-image'
|
deploy_docker_image = 'us.gcr.io/kubernetes-dev/drone/plugins/deploy-image'
|
||||||
|
|||||||
Reference in New Issue
Block a user