From deaddd29531da8db16a50eff578596f1236a60f4 Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Wed, 30 Sep 2020 16:15:21 -0700 Subject: [PATCH] Bumping up release number in root.go so that version command returns the right version. Fixing some bugs in the debian packaging scripts. Bumping up golang version we're building with to 1.15.2 --- cmd/root.go | 2 +- deb-packaging/Dockerfile | 2 +- deb-packaging/build_deb.sh | 2 +- deb-packaging/entrypoint.sh | 5 +---- debian/changelog | 14 +++++++++++--- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 671cd30..6e503cf 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -49,7 +49,7 @@ var updateID string var monitor bool var log = logrus.New() -const australisVer = "v0.22.0" +const australisVer = "v1.0.0" var forceDrainTimeout time.Duration diff --git a/deb-packaging/Dockerfile b/deb-packaging/Dockerfile index ab6b14e..6088aa8 100644 --- a/deb-packaging/Dockerfile +++ b/deb-packaging/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:16.04 RUN apt-get update -y && \ apt-get install -y build-essential devscripts dh-exec dh-make git lintian wget && \ - wget https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz -O /tmp/go.tar.gz + wget https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz -O /tmp/go.tar.gz RUN tar -C /usr/local -xzf /tmp/go.tar.gz diff --git a/deb-packaging/build_deb.sh b/deb-packaging/build_deb.sh index 6906d3d..958eaa8 100644 --- a/deb-packaging/build_deb.sh +++ b/deb-packaging/build_deb.sh @@ -2,4 +2,4 @@ docker build . -t australis_deb_builder -docker run --rm -v $HOME/go/pkg/mod:/go/pkg/mod -v $(pwd)/..:/australis australis_builder +docker run --rm -v $HOME/go/pkg/mod:/go/pkg/mod -v $(pwd)/..:/australis australis_deb_builder diff --git a/deb-packaging/entrypoint.sh b/deb-packaging/entrypoint.sh index b871d59..601733e 100755 --- a/deb-packaging/entrypoint.sh +++ b/deb-packaging/entrypoint.sh @@ -1,12 +1,9 @@ #!/bin/bash -# Temporary fix for a go mods bug -rm /australis/go.sum - # Build debian package cd /australis debuild -d -us -uc -b # Move resulting packages to the dist folder mkdir -p /australis/dist -mv /australis_*_amd64* /australis/dist \ No newline at end of file +mv /australis_*_amd64* /australis/dist diff --git a/debian/changelog b/debian/changelog index 50dc650..0677aa4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,16 @@ -australis (0.1.2) unstable; urgency=medium +australis (1.0.0) stable; urgency=medium - * Unreleased + * First stable release. - -- Renan DelValle Mon, 19 Feb 2020 12:00:00 -0700 + -- Renan Del Valle Wed, 30 Sep 2020 15:39:29 -0700 + +australis (0.22.0) unstable; urgency=medium + + * Added support for starting job updates. + * Added support for setting SlaAwareness for updates. + * Added upport for scheduling cron jobs. + + -- Renan Del Valle Thu, 07 May 2020 12:00:00 -0700 australis (0.1.1) unstable; urgency=medium