Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CICD-01

on:
workflow_dispatch:
inputs:
image:
description: 'image tag'
required: true
default: latest

jobs:
deploy:
runs-on: self-hosted

steps:
- uses: actions/checkout@v2
- uses: azure/setup-helm@v1
with:
version: 'v3.2.2'
- name: Setup helm repo
run: |
helm repo add blobber http://0chain-helm-chart.s3-website.us-east-2.amazonaws.com/helmCharts/blobber
helm repo upgrade
- name: Setup kubeconfig
run: |
mkdir -p ~/.kube
echo "${{ secrets.CICD01KC }}" | base64 -d > ~/.kube/config
- name: Setup chain
run: |
helm upgrade --install blobber -n helmtest --set blobber.blobberImage.tag=${{ github.event.inputs.image }} --set validator.validatorImage.tag=${{ github.event.inputs.image }} zchain/helm