Skip to content

Commit

Permalink
Redo CI for Hephy
Browse files Browse the repository at this point in the history
  • Loading branch information
n0n0x committed Dec 18, 2017
1 parent 68e8d78 commit 25b9dc6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
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)
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SHORT_NAME ?= builder
include versioning.mk

# dockerized development environment variables
REPO_PATH := github.com/deis/${SHORT_NAME}
REPO_PATH := github.com/teamhephy/${SHORT_NAME}
DEV_ENV_IMAGE := quay.io/deis/go-dev:v0.22.0
DEV_ENV_WORK_DIR := /go/src/${REPO_PATH}
DEV_ENV_PREFIX := docker run --rm -v ${CURDIR}:${DEV_ENV_WORK_DIR} -w ${DEV_ENV_WORK_DIR}
Expand Down 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

0 comments on commit 25b9dc6

Please sign in to comment.