Skip to content
Snippets Groups Projects
Commit a4037a10 authored by Markus Frosch's avatar Markus Frosch
Browse files

scripts: Add examples for upload

parent f326d499
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ Image | Task ...@@ -64,7 +64,7 @@ Image | Task
## Other documentation ## Other documentation
* [Development](development.md) * [Development](development.md)
* [Scripts](scripts.md) (TODO) * [Scripts](scripts.md)
* [Packages](packages.md) (TODO) * [Packages](packages.md) (TODO)
## License ## License
......
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
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment