Avoid running traffic increase hooks when waiting for promotion or promoting #1489
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
e2e-test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
provider: | |
# service mesh | |
- istio | |
- linkerd | |
- kuma | |
# ingress controllers | |
- contour | |
- nginx | |
- traefik | |
- gloo | |
- skipper | |
- kubernetes | |
- gatewayapi | |
- keda | |
- apisix | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Kubernetes | |
uses: helm/[email protected] | |
with: | |
version: v0.18.0 | |
cluster_name: kind | |
node_image: kindest/node:v1.24.12@sha256:0bdca26bd7fe65c823640b14253ea7bac4baad9336b332c94850f84d8102f873 | |
- name: Build container image | |
run: | | |
docker build -t test/flagger:latest . | |
kind load docker-image test/flagger:latest | |
- name: Run tests | |
run: | | |
./test/${{ matrix['provider'] }}/run.sh |