feat(plugins): add nginx plugin (#122)

Docker and Docker Swarm mode are supported
Kubernetes is not supported yet
This commit is contained in:
Alexis Couvreur
2023-02-19 00:41:17 -05:00
committed by GitHub
parent 51f6c57bd3
commit c55ace183c
16 changed files with 863 additions and 6 deletions

View File

@@ -80,4 +80,39 @@ jobs:
run: docker load --input /tmp/sablier.tar
- name: Test ${{ matrix.provider }}
run: cd plugins/traefik/e2e && bash ./${{ matrix.provider }}.sh
run: cd plugins/traefik/e2e && bash ./${{ matrix.provider }}.sh
nginx_e2e:
name: Run Sablier E2E tests for Nginx NJS module with Sablier
runs-on: ubuntu-latest
needs: build
strategy:
fail-fast: false
matrix:
provider: [docker_classic, docker_swarm, kubernetes]
steps:
- name: Set up Go 1.18
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Checkout code
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: sablier-image-tar
path: /tmp
- name: Load Docker image
run: docker load --input /tmp/sablier.tar
- name: Test ${{ matrix.provider }}
run: cd plugins/nginx/e2e && bash ./${{ matrix.provider }}.sh