Skip to content

feat: allow to customize the blocked labels #175

feat: allow to customize the blocked labels

feat: allow to customize the blocked labels #175

Workflow file for this run

name: E2E Testing
on: [pull_request]
jobs:
e2e-tests:
runs-on: ubuntu-latest
strategy:
matrix:
kind-node-images:
- kindest/node:v1.31.0@sha256:53df588e04085fd41ae12de0c3fe4c72f7013bba32a20e7325357a1ac94ba865
- kindest/node:v1.30.4@sha256:976ea815844d5fa93be213437e3ff5754cd599b040946b5cca43ca45c2047114
- kindest/node:v1.29.8@sha256:d46b7aa29567e93b27f7531d258c372e829d7224b25e3fc6ffdefed12476d3aa
- kindest/node:v1.28.13@sha256:45d319897776e11167e4698f6b14938eb4d52eb381d9e3d7a9086c16c69a8110
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.12.1
- uses: actions/setup-python@v4
with:
python-version: '3.9'
check-latest: true
cache: 'pip' # caching pip dependencies
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
- name: Build Docker Image
run: docker build -t cluster-secret:${{ github.sha }} .
- name: Create kind cluster
uses: helm/kind-action@v1.8.0
with:
node_image: ${{ matrix.kind-node-images }}
- name: Loading locally build image to kind cluster
run: kind load docker-image cluster-secret:${{ github.sha }} --name=chart-testing
- name: Run helm install
run: helm install cluster-secret ./charts/cluster-secret -n cluster-secret --create-namespace --set image.repository=cluster-secret,image.tag=${{ github.sha }}
- run: pip3 install -r conformance/requirements.txt
name: Install python requirements
- name: Run testing
run: python3 conformance/tests.py