mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Adds Gateway API as a provider for progressive traffic shifting, A/B testing and Blue-Green testing. Adds a new field in the Canary `spec.service.gatewayRefs` which specifies the Gateway that Flagger should use. Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
name: e2e
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read # for actions/checkout to fetch code
|
|
|
|
jobs:
|
|
kind:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
provider:
|
|
# service mesh
|
|
- istio
|
|
- linkerd
|
|
- osm
|
|
- kuma
|
|
# ingress controllers
|
|
- contour
|
|
- nginx
|
|
- traefik
|
|
- gloo
|
|
- skipper
|
|
- kubernetes
|
|
- gatewayapi
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Setup Kubernetes
|
|
uses: engineerd/setup-kind@v0.5.0
|
|
with:
|
|
version: "v0.11.1"
|
|
image: kindest/node:v1.21.1@sha256:fae9a58f17f18f06aeac9772ca8b5ac680ebbed985e266f711d936e91d113bad
|
|
- 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
|