mirror of
https://github.com/sablierapp/sablier.git
synced 2026-01-03 11:34:58 +01:00
feat(plugins): add nginx plugin (#122)
Docker and Docker Swarm mode are supported Kubernetes is not supported yet
This commit is contained in:
37
.github/workflows/plugins.yml
vendored
37
.github/workflows/plugins.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user