Skip to content

add example helmrelease to install via flux (#215) #243

add example helmrelease to install via flux (#215)

add example helmrelease to install via flux (#215) #243

name: integration
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master, dev ]
jobs:
integration:
runs-on: ubuntu-latest
strategy:
matrix:
namespace: [policy-system, test-system]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install Helm
uses: azure/setup-helm@v3
- name: Install kubectl
uses: azure/setup-kubectl@v3
- name: Install kind
uses: helm/kind-action@v1.3.0
with:
install_only: true
- name: setup go
uses: actions/setup-go@v4
with:
go-version: '1.20.x'
cache: true
- name: Run tests
env:
NAMESPACE: ${{ matrix.namespace }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
make build
export VERSION=test
docker build -t weaveworks/policy-agent:${VERSION} .
cd test/integration
bash deploy.sh
go test -v ./...