From 27f5c3438918aade699be0618b3a136b433c021c Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Wed, 16 Dec 2020 10:03:19 +0000 Subject: [PATCH] Remove CI tests for Swarm Unit tests will be covered through the faas-netes certifier and through the Docker build of the gateway. Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- .github/workflows/build.yml | 46 +------------------------------------ 1 file changed, 1 insertion(+), 45 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e1c5ded4..24293d6a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: