mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
CircleCI: Deploy master builds to Kubernetes (#23034)
This commit is contained in:
parent
b8018fad34
commit
35ecf79ae5
@ -48,7 +48,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Install Grafana Build Pipeline
|
name: Install Grafana Build Pipeline
|
||||||
command: |
|
command: |
|
||||||
curl -fLO https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.2.0/grabpl
|
curl -fLO https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.2.1/grabpl
|
||||||
chmod +x grabpl
|
chmod +x grabpl
|
||||||
mkdir bin
|
mkdir bin
|
||||||
mv grabpl bin/
|
mv grabpl bin/
|
||||||
@ -843,6 +843,15 @@ jobs:
|
|||||||
command: "docker stop docs-website && docker rm docs-website && ./scripts/ci-job-succeeded.sh"
|
command: "docker stop docs-website && docker rm docs-website && ./scripts/ci-job-succeeded.sh"
|
||||||
when: on_success
|
when: on_success
|
||||||
|
|
||||||
|
deploy-to-kubernetes:
|
||||||
|
description: "Deploy Grafana master Docker image to Kubernetes"
|
||||||
|
executor: grafana-build
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: Deploy to Kubernetes
|
||||||
|
command: |
|
||||||
|
/tmp/workspace/bin/grabpl deploy-to-k8s $CIRCLE_WORKFLOW_ID
|
||||||
|
|
||||||
release-packages:
|
release-packages:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:12
|
- image: circleci/node:12
|
||||||
@ -1230,6 +1239,10 @@ workflows:
|
|||||||
- end-to-end-tests
|
- end-to-end-tests
|
||||||
- build-docs-website:
|
- build-docs-website:
|
||||||
filters: *filter-not-release-or-master
|
filters: *filter-not-release-or-master
|
||||||
|
- deploy-to-kubernetes:
|
||||||
|
filters: *filter-only-master
|
||||||
|
requires:
|
||||||
|
- publish-oss-docker-images
|
||||||
|
|
||||||
nightly:
|
nightly:
|
||||||
triggers:
|
triggers:
|
||||||
|
Loading…
Reference in New Issue
Block a user