From 45ccf594e9020eeb0f16c27d0d51040da4ca6826 Mon Sep 17 00:00:00 2001 From: Viktor Benei Date: Mon, 7 Sep 2015 12:32:34 +0200 Subject: [PATCH 1/2] goddess update --- Godeps/Godeps.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index c80b4d32..8d5baaa9 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -1,6 +1,6 @@ { "ImportPath": "github.com/bitrise-io/envman", - "GoVersion": "go1.4.2", + "GoVersion": "go1.5", "Deps": [ { "ImportPath": "github.com/Sirupsen/logrus", @@ -9,19 +9,19 @@ }, { "ImportPath": "github.com/bitrise-io/go-utils/cmdex", - "Rev": "0584aca98a0963494a02cdaa2c511302472ac615" + "Rev": "3aa3ad1b857b5e4478d6f974a6201317a0eb0457" }, { "ImportPath": "github.com/bitrise-io/go-utils/fileutil", - "Rev": "0584aca98a0963494a02cdaa2c511302472ac615" + "Rev": "3aa3ad1b857b5e4478d6f974a6201317a0eb0457" }, { "ImportPath": "github.com/bitrise-io/go-utils/pathutil", - "Rev": "0584aca98a0963494a02cdaa2c511302472ac615" + "Rev": "3aa3ad1b857b5e4478d6f974a6201317a0eb0457" }, { "ImportPath": "github.com/bitrise-io/go-utils/pointers", - "Rev": "0584aca98a0963494a02cdaa2c511302472ac615" + "Rev": "3aa3ad1b857b5e4478d6f974a6201317a0eb0457" }, { "ImportPath": "github.com/bitrise-io/goinp/goinp", From ad02218bea73c43a08d9ff331475a10f0828eebf Mon Sep 17 00:00:00 2001 From: Viktor Benei Date: Mon, 7 Sep 2015 13:04:41 +0200 Subject: [PATCH 2/2] docker related updates & changelog for 0.9.8 --- Dockerfile | 27 +++++++++++++++------------ _changelogs/0.9.8.md | 19 +++++++++++++++++++ bitrise.yml | 5 +++++ 3 files changed, 39 insertions(+), 12 deletions(-) create mode 100644 _changelogs/0.9.8.md diff --git a/Dockerfile b/Dockerfile index 6e5f107f..ceab5dd9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,22 +1,25 @@ -FROM ubuntu:14.04.2 +FROM golang:1.5-wheezy + +ENV PROJ_NAME envman RUN apt-get update -RUN DEBIAN_FRONTEND=noninteractive apt-get -y install git mercurial golang +RUN DEBIAN_FRONTEND=noninteractive apt-get -y install git mercurial curl rsync ruby -RUN mkdir /go -RUN mkdir /go/bin -RUN mkdir -p /go/src/github.com/bitrise-io/envman -RUN export GOPATH=/go +# From the official Golang Dockerfile +# https://github.com/docker-library/golang/blob/master/1.4/Dockerfile +RUN mkdir -p /go/src /go/bin && chmod -R 777 /go ENV GOPATH /go -RUN export PATH=$PATH:$GOPATH/bin -ENV PATH $PATH:$GOPATH/bin - -WORKDIR /go/src/github.com/bitrise-io/envman +ENV PATH /go/bin:$PATH -COPY . /go/src/github.com/bitrise-io/envman +RUN mkdir -p /go/src/github.com/bitrise-io/$PROJ_NAME +COPY . /go/src/github.com/bitrise-io/$PROJ_NAME -RUN go get ./... +WORKDIR /go/src/github.com/bitrise-io/$PROJ_NAME +# godep +RUN go get -u github.com/tools/godep +RUN godep restore +# install RUN go install CMD envman --version diff --git a/_changelogs/0.9.8.md b/_changelogs/0.9.8.md new file mode 100644 index 00000000..827e10ed --- /dev/null +++ b/_changelogs/0.9.8.md @@ -0,0 +1,19 @@ +## Changes + +* Internal revisions. +* First version with initial, offical Linux support (built with docker & docker-compose)! + + +## Install + +To install this version, run the following commands (in a bash shell): + +``` +curl -L https://github.com/bitrise-io/envman/releases/download/0.9.8/envman-$(uname -s)-$(uname -m) > /usr/local/bin/envman +``` + +Then: + +``` +chmod +x /usr/local/bin/envman +``` diff --git a/bitrise.yml b/bitrise.yml index 6b8a817f..549d68d1 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -5,6 +5,11 @@ app: - BITRISE_BIN_NAME: envman - GITHUB_RELEASES_URL: https://github.com/bitrise-io/${BITRISE_BIN_NAME}/releases workflows: + docker-cleanup-dangling-images: + steps: + - script: + inputs: + - content: docker rmi $(docker images -f "dangling=true" -q) create-release: steps: - script: