Remove CI tests for Swarm
Unit tests will be covered through the faas-netes certifier
and through the Docker build of the gateway.
@@ -10,51 +10,6 @@ on:
jobs:
- # Run the CI tests
- build-test:
- strategy:
- matrix:
- go-version: [1.13.x]
- os: [ubuntu-latest]
- runs-on: ${{ matrix.os }}
- steps:
- - uses: actions/checkout@master
- with:
- fetch-depth: 1
- - name: Install Go
- uses: actions/setup-go@v2
- with:
- go-version: ${{ matrix.go-version }}
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
- - name: Get TAG
- id: get_tag
- run: echo ::set-output name=TAG::latest-dev
- - name: Get Repo Owner
- id: get_repo_owner
- run: echo ::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')
- - name: Get Commit Message
- id: get_commit_message
- run: echo ::set-output name=commit_message::$(git log -1 --pretty=%B 2>&1 | head -n 1)
- - name: Build Gateway
- uses: docker/build-push-action@v2
- with:
- context: ./gateway
- file: ./gateway/Dockerfile
- platforms: linux/amd64
- load: true
- push: false
- build-args: |
- VERSION=${{ steps.get_tag.outputs.TAG }}
- GIT_COMMIT=${{ github.sha }}
- GIT_COMMIT_MESSAGE=${{ steps.get_commit_message.outputs.commit_message }}
- tags: |
- ghcr.io/openfaas/gateway:latest-dev
- - name: Run CI
- run: make test-ci
-
build-gateway:
runs-on: ubuntu-latest
strategy:
@@ -92,6 +47,7 @@ jobs:
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/gateway:${{ steps.get_tag.outputs.TAG }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/gateway:${{ github.sha }}
ghcr.io/${{ steps.get_repo_owner.outputs.repo_owner }}/gateway:latest
+
build-auth-plugins:
runs-on: ubuntu-latest
strategy:
