Commit 35ecf79a by Arve Knudsen Committed by GitHub

CircleCI: Deploy master builds to Kubernetes (#23034)

parent b8018fad
...@@ -48,7 +48,7 @@ jobs: ...@@ -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: ...@@ -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: ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment