Skip to content

✨ feat: Implement feedback ingestion service #303

✨ feat: Implement feedback ingestion service

✨ feat: Implement feedback ingestion service #303

Workflow file for this run

name: Run Skaffold Pipeline, Deploy to Minikube Cluster and run Unguard Helm Test
on:
pull_request:
paths:
- src/**
- skaffold.yaml
- chart/**
jobs:
lint-build-run-test-unguard:
runs-on: ubuntu-22.04
timeout-minutes: 45
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@v1.3.1
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- name: Checkout sources
uses: actions/checkout@v3
- name: Check disk space
run: df . -h
- name: Set up Helm
uses: azure/setup-helm@v3.5
with:
version: v3.12.3
- name: Kubectl tool installer
uses: Azure/setup-kubectl@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
check-latest: true
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1
- name: Run chart-testing (lint)
run: ct lint --chart-dirs . --charts ./chart --validate-maintainers=false --check-version-increment=false --target-branch ${{ github.event.repository.default_branch }}
- name: Set up Minikube
uses: medyagh/setup-minikube@v0.0.14
with:
addons: ingress
start-args: --memory=6144 --cpus=4 --disk-size=20g
- name: Cache Skaffold layers
uses: actions/cache@v3
with:
path: ~/.skaffold/
key: fixed-${{ github.sha }}
- name: Install and Run Skaffold and Deploy to Minikube Cluster
run: |
curl -fsSL -o /usr/local/bin/skaffold https://storage.googleapis.com/skaffold/releases/v2.17.1/skaffold-linux-amd64
chmod +x /usr/local/bin/skaffold
skaffold version
skaffold run --skip-tests=true
- name: Run chart-testing
run: helm test unguard --namespace unguard --timeout 10m0s --logs