diff --git a/.travis.yml b/.travis.yml index ce3dde9..d8c5868 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,15 @@ -sudo: required -language: go +language: generic +branches: + only: + - master +env: + - DEV_REGISTRY=quay.io DOCKER_BUILD_FLAGS="--pull --no-cache" services: -- docker -script: make test -notifications: - slack: - secure: pWDCV3od8gxvzxh9DrOTvBL54XoCfWYhZZlwd2ZbyyOz6SS12Psg/ZuCT2253p4yMfF/LPlsz76mr7NgcCrMI0ReveTa/rnt3XBZtyY+1rlsQsy2oxgdAzbO587ENCQeMw2F/OWHaixMT8NDqxEqQd6xafK9Zmg6BeBjwgs7XfXKcR3WzNIuCO0ZG05+Yd0FIxmd/8Xm5tGiFEYr05+Ix6MLdF9MSCXZUPeu1EsYXhDljokLq49w63W1UMU10tm4t7VCEdaO+X9w6EJ5Ov8HDxb6L6IviUYY6+IGTZ01nwIoM6OrGQqfEAytYqgTKdehgQzQnAbLI6TW2wJ0twqEsLrlbTa4NW4j0KkazQJkN5kqcKYQvaeKJJhvJIG44Gi/u78pW3S6W7NU5DhrlE6bbxdIBHJW1vJBimkqu2oBNrO5ZoBB9MS9zflBsU5g/pQpVeHWMnWE8fcYDGa1PqAcr7q6wtdPsrVZhnHmmARN3PwZzIVVVsXbaIQG8VLC5grLGnwMf1Y1fz2nK3sVpCftvrYZT3G6CNAASo+eLOwYdZdiJ9jIS7WNLN1GtpIEvjeDt3QRqsDyH8YoAKUvY5h/v8IWPP/BaSwQbJwep4+Dj7xkpXX5/4wm4jEnVFV1p4xE0lD1AXvEMAVHtPhhggvscNhF9j6oeoPju6eTPcxG+5o= + - docker +sudo: required +install: + - make bootstrap +script: + - make test-style test-cover build docker-build +after_success: + - bash <(curl -s https://codecov.io/bash) diff --git a/Makefile b/Makefile index c31d0d0..4bdea1e 100644 --- a/Makefile +++ b/Makefile @@ -56,6 +56,6 @@ check-kubectl: fi deploy: check-kubectl docker-build docker-push - kubectl --namespace=deis patch deployment deis-$(SHORT_NAME) --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/image", "value":"$(IMAGE)"}]' + kubectl --namespace=hephy patch deployment hephy-$(SHORT_NAME) --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/image", "value":"$(IMAGE)"}]' .PHONY: bootstrap glideup build docker-build test test-style test-unit test-cover deploy diff --git a/glide.yaml b/glide.yaml index d1dadb8..ff83fb0 100644 --- a/glide.yaml +++ b/glide.yaml @@ -1,4 +1,4 @@ -package: github.com/deis/builder +package: github.com/teamhephy/builder ignore: - appengine - appengine/memcache @@ -15,7 +15,7 @@ import: - package: gopkg.in/yaml.v2 version: eca94c41d994ae2215d455ce578ae6e2dc6ee516 - package: github.com/pborman/uuid -- package: github.com/deis/pkg +- package: github.com/teamhephy/pkg version: 00e55bded444eea7fadff398f93152e962a0c338 subpackages: - time @@ -41,5 +41,5 @@ import: version: 8e7dc108ab3a1ab6ce6d922bbaff5657b88e8e49 repo: https://github.com/spf13/pflag vcs: git -- package: github.com/deis/controller-sdk-go +- package: github.com/teamhephy/controller-sdk-go version: 27bab7c5535de202635877fa7600d5158b91a757