diff --git a/Makefile b/Makefile index 0701533..902ce18 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ PROJECT := rancher-letsencrypt PLATFORMS := linux ARCH := amd64 -DOCKER_IMAGE := janeczku/$(PROJECT) +DOCKER_IMAGE := registry.vxcontrol.com:8443/$(PROJECT) VERSION := $(shell cat VERSION) SHA := $(shell git rev-parse --short HEAD) diff --git a/README.md b/README.md index 2048b83..2fda610 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -![Rancher + Let's Encrypt = Awesome Sauce](https://raw.githubusercontent.com/janeczku/rancher-letsencrypt/master/hero.png) +![Rancher + Let's Encrypt = Awesome Sauce](https://raw.githubusercontent.com/vxcontrol/rancher-letsencrypt/master/hero.png) # Let's Encrypt Certificate Manager for Rancher -[![Latest Version](https://img.shields.io/github/release/janeczku/rancher-letsencrypt.svg?maxAge=8600)][release] -[![Circle CI](https://circleci.com/gh/janeczku/rancher-letsencrypt.svg?style=shield&circle-token=cd06c9a78ae3ef7b6c1387067c36360f62d97b7a)][circleci] -[![Docker Pulls](https://img.shields.io/docker/pulls/janeczku/rancher-letsencrypt.svg?maxAge=8600)][hub] -[![License](https://img.shields.io/github/license/janeczku/rancher-letsencrypt.svg?maxAge=8600)]() +[![Latest Version](https://img.shields.io/github/release/vxcontrol/rancher-letsencrypt.svg?maxAge=8600)][release] +[![Circle CI](https://circleci.com/gh/vxcontrol/rancher-letsencrypt.svg?style=shield&circle-token=cd06c9a78ae3ef7b6c1387067c36360f62d97b7a)][circleci] +[![Docker Pulls](https://img.shields.io/docker/pulls/vxcontrol/rancher-letsencrypt.svg?maxAge=8600)][hub] +[![License](https://img.shields.io/github/license/vxcontrol/rancher-letsencrypt.svg?maxAge=8600)]() -[release]: https://github.com/janeczku/rancher-letsencrypt/releases -[circleci]: https://circleci.com/gh/janeczku/rancher-letsencrypt -[hub]: https://hub.docker.com/r/janeczku/rancher-letsencrypt/ +[release]: https://github.com/vxcontrol/rancher-letsencrypt/releases +[circleci]: https://circleci.com/gh/vxcontrol/rancher-letsencrypt +[hub]: https://hub.docker.com/r/vxcontrol/rancher-letsencrypt/ A [Rancher](http://rancher.com/rancher/) service that obtains free SSL/TLS certificates from the [Let's Encrypt CA](https://letsencrypt.org/), adds them to Rancher's certificate store and manages renewal and propagation of updated certificates to load balancers. diff --git a/circle.yml b/circle.yml index c553ff9..9a44f71 100644 --- a/circle.yml +++ b/circle.yml @@ -1,7 +1,7 @@ machine: environment: IMPORT_PATH: "github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME" - DOCKER_HUB_URI: https://registry.hub.docker.com/u/janeczku/rancher-letsencrypt/trigger + DOCKER_HUB_URI: https://registry.hub.docker.com/u/vxcontrol/rancher-letsencrypt/trigger general: build_dir: ../.go_workspace/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME} @@ -36,7 +36,7 @@ test: deployment: release: tag: /v.*/ - owner: janeczku + owner: vxcontrol commands: - make ci-release - curl --data "docker_tag=latest" -X POST ${DOCKER_HUB_URI}/${DOCKER_HUB_TOKEN}/ diff --git a/context.go b/context.go index 2080450..668d0c7 100644 --- a/context.go +++ b/context.go @@ -8,8 +8,8 @@ import ( "time" "github.com/Sirupsen/logrus" - "github.com/janeczku/rancher-letsencrypt/letsencrypt" - "github.com/janeczku/rancher-letsencrypt/rancher" + "github.com/vxcontrol/rancher-letsencrypt/letsencrypt" + "github.com/vxcontrol/rancher-letsencrypt/rancher" ) const ( diff --git a/package/Dockerfile b/package/Dockerfile index 3990835..6348188 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -10,7 +10,7 @@ RUN wget -O /usr/bin/update-rancher-ssl https://raw.githubusercontent.com/ranche COPY rancher-entrypoint.sh /usr/bin/ -ADD https://github.com/janeczku/rancher-letsencrypt/releases/download/${LETSENCRYPT_RELEASE}/rancher-letsencrypt-linux-amd64.tar.gz /tmp/rancher-letsencrypt.tar.gz +ADD https://github.com/vxcontrol/rancher-letsencrypt/releases/download/${LETSENCRYPT_RELEASE}/rancher-letsencrypt-linux-amd64.tar.gz /tmp/rancher-letsencrypt.tar.gz RUN tar -zxvf /tmp/rancher-letsencrypt.tar.gz -C /usr/bin \ && chmod +x /usr/bin/rancher-letsencrypt diff --git a/scripts/build.sh b/scripts/build.sh new file mode 100644 index 0000000..32eea6d --- /dev/null +++ b/scripts/build.sh @@ -0,0 +1,10 @@ +export GOPATH=/opt +export PROJECT_AUTH=vxcontrol +export PROJECT_NAME=rancher-letsencrypt + +mkdir -p $GOPATH/src/github.com/$PROJECT_AUTH/ +rm -rf $GOPATH/src/github.com/$PROJECT_AUTH/$PROJECT_NAME +ln -s $GOPATH/src/$PROJECT_NAME $GOPATH/src/github.com/$PROJECT_AUTH/$PROJECT_NAME +cd $GOPATH/src/$PROJECT_NAME +make deps && \ +make -j 4 build diff --git a/vendor.conf b/vendor.conf index 73b1160..4fb78cb 100644 --- a/vendor.conf +++ b/vendor.conf @@ -1,5 +1,5 @@ # package -github.com/janeczku/rancher-letsencrypt +github.com/vxcontrol/rancher-letsencrypt github.com/aws/aws-sdk-go v1.8.6 github.com/Azure/azure-sdk-for-go v10.0.2-beta