mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
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) <alexellis2@gmail.com>
This commit is contained in:
parent
e341cbeb76
commit
27f5c34389
46
.github/workflows/build.yml
vendored
46
.github/workflows/build.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user