From a4037a10a1cc03b6713558a97d603180f905c79b Mon Sep 17 00:00:00 2001 From: Markus Frosch <markus.frosch@icinga.com> Date: Thu, 10 Jan 2019 15:12:40 +0100 Subject: [PATCH] scripts: Add examples for upload --- README.md | 2 +- scripts.md | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 scripts.md diff --git a/README.md b/README.md index 9731214..e8047c3 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Image | Task ## Other documentation * [Development](development.md) -* [Scripts](scripts.md) (TODO) +* [Scripts](scripts.md) * [Packages](packages.md) (TODO) ## License diff --git a/scripts.md b/scripts.md new file mode 100644 index 0000000..2fff804 --- /dev/null +++ b/scripts.md @@ -0,0 +1,27 @@ +Scripts +======= + +## Upload + +### Examples + +``` +export APTLY_SERVER=http://172.17.0.1:8080/api +export APTLY_USERNAME=icingaadmin +export APTLY_PASSWORD=icinga + +# automatic repo name in aptly +icinga-build-upload-aptly --target debian --release icinga-stretch + +# staying conform with old repo names +icinga-build-upload-aptly --target debian --release icinga-stretch-snapshots --repo icinga-raspbian-stretch-snapshot +icinga-build-upload-aptly --target debian --release icinga-stretch --repo icinga-raspbian-stretch-release + +# architectures, e.g. for raspbian +icinga-build-upload-aptly --target raspbian \ + --release icinga-stretch --repo icinga-raspbian-stretch-release --architectures armhf + +# for rpms +icinga-build-upload-aptly --target epel --release 7/release +icinga-build-upload-aptly --target epel --release 7/snapshot +``` -- GitLab