From 2d4e9bc875b005baed3d624e1fe843a13849c662 Mon Sep 17 00:00:00 2001 From: Bertrand Gouny Date: Thu, 6 Jul 2017 09:36:39 +0200 Subject: [PATCH 1/3] [twgit] Init release 'release-0.2.0'. From 2c5e291d9f5380514aa3f7952a33280d51b2ba53 Mon Sep 17 00:00:00 2001 From: Bertrand Gouny Date: Thu, 6 Jul 2017 16:30:18 +0200 Subject: [PATCH 2/3] v0.2.0 --- CHANGELOG.md | 4 ++++ Makefile | 23 ++++++++++++++--------- image/Dockerfile | 4 ++-- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e244f25..b87639d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.2.0 + - etcdctl v3.2.1 + - Upgrade baseimage: tinc:0.2.0 (debian stretch) + ## 0.1.3 - Upgrade baseimage: tinc:0.1.4 diff --git a/Makefile b/Makefile index 2db2de5..c218787 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,7 @@ NAME = osixia/tinc-etcd -VERSION = 0.1.3 +VERSION = 0.2.0 -.PHONY: all build build-nocache test tag_latest release - -all: build +.PHONY: build build-nocache test tag-latest push push-latest release git-tag-version build: docker build -t $(NAME):$(VERSION) --rm image @@ -14,10 +12,17 @@ build-nocache: test: env NAME=$(NAME) VERSION=$(VERSION) bats test/test.bats -tag_latest: +tag-latest: docker tag $(NAME):$(VERSION) $(NAME):latest -release: build test tag_latest - @if ! docker images $(NAME) | awk '{ print $$2 }' | grep -q -F $(VERSION); then echo "$(NAME) version $(VERSION) is not yet built. Please run 'make build'"; false; fi - docker push $(NAME) - @echo "*** Don't forget to run 'twgit release/hotfix finish' :)" +push: + docker push $(NAME):$(VERSION) + +push-latest: + docker push $(NAME):latest + +release: build test tag_latest push push_latest + +git-tag-version: release + git tag -a v$(VERSION) -m "v$(VERSION)" + git push origin v$(VERSION) diff --git a/image/Dockerfile b/image/Dockerfile index 4efb257..7f1c720 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -1,7 +1,7 @@ -FROM osixia/tinc:0.1.4 +FROM osixia/tinc:0.2.0 MAINTAINER Bertrand Gouny -ENV ETCD_VERSION=3.0.4 +ARG ETCD_VERSION=3.2.1 # Install multiple process stack from baseimage # https://github.com/osixia/docker-light-baseimage/blob/stable/image/tool/install-multiple-process-stack From b21e2d49deef9353b158f53d77ac9a7fecb9a77c Mon Sep 17 00:00:00 2001 From: Bertrand Gouny Date: Wed, 19 Jul 2017 22:31:51 +0200 Subject: [PATCH 3/3] Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c218787..05a9265 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ push: push-latest: docker push $(NAME):latest -release: build test tag_latest push push_latest +release: build test tag-latest push push-latest git-tag-version: release git tag -a v$(VERSION) -m "v$(VERSION)"