Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redo CI - First iteration #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
21 changes: 14 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package: github.com/deis/builder
package: github.com/teamhephy/builder
ignore:
- appengine
- appengine/memcache
Expand All @@ -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
Expand All @@ -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