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: ...@@ -6,17 +6,12 @@ stages:
test: test:
image: golang:1.11.6 image: golang:1.11.6
stage: test stage: test
cache: rules:
paths: - changes:
- /apt-cache - cmd/**.go
- /go/bin - pkg/**.go
- /go/pkg - go.mod
- /go/src/code.uplex.de - go.sum
- /go/src/github.com
- /go/src/golang.org
- /go/src/google.golang.org
- /go/src/gopkg.in
- /go/src/k8s.io
before_script: before_script:
- GO111MODULE=off go get -d github.com/slimhazard/gogitversion - GO111MODULE=off go get -d github.com/slimhazard/gogitversion
- pushd $GOPATH/src/github.com/slimhazard/gogitversion* - pushd $GOPATH/src/github.com/slimhazard/gogitversion*
......
#!/bin/bash -x #! /bin/bash -x
function killforward { function killforward {
kill $KUBEPID 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/ ...@@ -34,10 +34,9 @@ cd ${MYPATH}/../examples/varnish_pod_template/
./deploy_cli-args.sh ./deploy_cli-args.sh
./verify_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
# echo Varnish Pod template with PROXY protocol example ./deploy_proxy.sh
# ./deploy_proxy.sh ./verify_proxy.sh
# ./verify_proxy.sh
echo Varnish Pod template with env settings example echo Varnish Pod template with env settings example
./deploy_env.sh ./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