Skip to content

Added chart install GHA workflow #11

Added chart install GHA workflow

Added chart install GHA workflow #11

Workflow file for this run

name: Charts
on:
pull_request:
branches: [ main, release/**, 7-add-workflow-chart-install]
push:
branches: [ main, release/*]
tags: [ v* ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install ct
uses: helm/[email protected]
- name: Run lint
run: ct lint --config .github/ct.yaml --all
install:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install k3d
run: curl --retry 3 -fsL https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
- name: Create k3d cluster
run: k3d cluster create hedera-graph-node --agents 1 --timeout 5m --registry-create registry:0.0.0.0:5001 --image rancher/k3s:v1.25.9-k3s1
timeout-minutes: 3
- name: Set up Docker Qemu
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver-opts: network=host
- name: Build and push images
uses: docker/build-push-action@v4
with:
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64
push: true
tags: localhost:5001/${{ github.repository }}:test
- name: Install ct
uses: helm/[email protected]
- name: Install chart
run: ct install --helm-extra-args="--timeout 10m" --all