From 1a046b30af918988be72dd5bd98ccdce1b3ef18e Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Wed, 24 Oct 2018 14:10:39 -0700 Subject: [PATCH] Initial support for australis as a debian package. Sample config file should be added. Using docker to build. --- .gitignore | 6 ++++++ debian/australis.install | 1 + debian/changelog | 10 ++++++++++ debian/compat | 1 + debian/control | 10 ++++++++++ debian/rules | 14 ++++++++++++++ 6 files changed, 42 insertions(+) create mode 100644 .gitignore create mode 100644 debian/australis.install create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100755 debian/rules diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c52da93 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +debian/australis +debian/australis.debhelper.log +debian/debhelper-build-stamp +debian/files +debian/australis.substvars +build/ diff --git a/debian/australis.install b/debian/australis.install new file mode 100644 index 0000000..3189ab7 --- /dev/null +++ b/debian/australis.install @@ -0,0 +1 @@ +build/australis usr/bin \ No newline at end of file diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0ff6e38 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,10 @@ +australis (0.0.5) unstable; urgency=medium + + * Backup and snapshot commands have now been moved to under the force subcommand as these are expensive operations + and the subcommand should reflect that. + * Cobra library upgrade. + * Added version command. + * Added ability to use config config file. By default this file will be located in /etc/aurora/australis.yml + * Changed insecureSkipVerify to skipCertVerification + + -- Renan DelValle Wed, 24 Oct 2018 18:27:19 -0700 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3e8a59f --- /dev/null +++ b/debian/control @@ -0,0 +1,10 @@ +Source: australis +Priority: optional +Maintainer: Renan DelValle +Section: utils +Standards-Version: 4.2.1.3 +Homepage: https://github.com/rdelval/australis + +Package: australis +Architecture: any +Description: A gorealis based client for Apache Aurora \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..76e7d69 --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +%: + dh $@ + +clean: + rm -rf $(CURDIR)/build + +override_dh_auto_build: + mkdir $(CURDIR)/build + docker run --rm -v "$(CURDIR)":/go/src/github.com/rdelval/australis -w /go/src/github.com/rdelval/australis golang:1.11 go build -o build/australis \ No newline at end of file