33 lines
741 B
YAML
33 lines
741 B
YAML
name: Integration tests (K8s)
|
|
|
|
# Triggers the workflow on pull request events
|
|
on: [pull_request]
|
|
|
|
concurrency:
|
|
group: int-test-k8s${{ github.head_ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-executor:
|
|
env:
|
|
IMAGE_REPO: 'localhost:5000'
|
|
REGISTRY: 'localhost:5000'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.14
|
|
id: go
|
|
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Run build-image-and-k8s-integration-test
|
|
run: |
|
|
make travis-setup
|
|
make minikube-setup
|
|
make k8s-executor-build-push
|
|
make integration-test-k8s |