Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
pull_request:
branches:
- master
push:
branches:
- master
- release/*
- actions # for testing this build spec

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v1
with:
go-version: '1.13.3'
- uses: actions/checkout@v2
- name: build container
run: docker build --file Dockerfile --tag chrishirsch:$GITHUB_RUN_ID .
- uses: engineerd/[email protected]
with:
version: "v0.7.0"

- name: Testing
run: |
kubectl cluster-info
kubectl get pods -n kube-system
kubectl get nodes
echo "current-context:" $(kubectl config current-context)
echo "environment-kubeconfig:" ${KUBECONFIG}
kind load docker-image chrishirsch:$GITHUB_RUN_ID
- name: "running end to end test"
run: ./.ci/e2e.sh