Commit 816cf8dc authored by Tim Leers's avatar Tim Leers Committed by Geoff Simmons

improve rules for go tests, remove useless cache

parent 93edfb88
......@@ -6,17 +6,12 @@ stages:
test:
image: golang:1.11.6
stage: test
cache:
paths:
- /apt-cache
- /go/bin
- /go/pkg
- /go/src/code.uplex.de
- /go/src/github.com
- /go/src/golang.org
- /go/src/google.golang.org
- /go/src/gopkg.in
- /go/src/k8s.io
rules:
- changes:
- cmd/**.go
- pkg/**.go
- go.mod
- go.sum
before_script:
- GO111MODULE=off go get -d github.com/slimhazard/gogitversion
- pushd $GOPATH/src/github.com/slimhazard/gogitversion*
......
#!/bin/bash -x
#! /bin/bash -x
function killforward {
kill $KUBEPID
......
#!/bin/bash
#
# Make sure the Kind local registry works as expected.
set -ex
cd $(dirname $0)
kind load docker-image varnish-ingress/varnish
kind load docker-image varnish-ingress/controller
../test/e2e.sh
......@@ -34,10 +34,9 @@ cd ${MYPATH}/../examples/varnish_pod_template/
./deploy_cli-args.sh
./verify_cli-args.sh
# TODO: fix current bug when deleting services. in CI this example doesnt work
# echo Varnish Pod template with PROXY protocol example
# ./deploy_proxy.sh
# ./verify_proxy.sh
echo Varnish Pod template with PROXY protocol example
./deploy_proxy.sh
./verify_proxy.sh
echo Varnish Pod template with env settings example
./deploy_env.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment