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

git init

parents
No related branches found
No related tags found
No related merge requests found
icinga_snapshotter.secrets.yml
#!/bin/sh
: "${ICINGA_TOKEN:=}"
: "${GITHUB_TOKEN:=}"
if [ -z "${ICINGA_TOKEN}" ]; then
echo "Environment var ICINGA_TOKEN is not set!" >&1
exit 1
fi
if [ -z "${GITHUB_TOKEN}" ]; then
echo "Environment var GITHUB_TOKEN is not set!" >&1
exit 1
fi
export ICINGA_TOKEN GITHUB_TOKEN
echo "Replacing vars from icinga_snapshotter.yml to icinga_snapshotter.secrets.yml"
envsubst < icinga_snapshotter.yml > icinga_snapshotter.secrets.yml
hosts:
github.com:
token: ${GITHUB_TOKEN}
git.icinga.com:
token: ${ICINGA_TOKEN}
username: icinga-snapshots
type: gitlab
defaults:
source:
host: github.com
build:
host: git.icinga.com
triggers:
rpm-icinga2:
source:
project: Icinga/icinga2
build:
project: packaging/rpm-icinga2
deb-icinga2:
source:
project: Icinga/icinga2
build:
project: packaging/deb-icinga2
windows-icinga2:
source:
project: Icinga/icinga2
build:
project: packaging/windows-icinga2
raspbian-icinga2:
source:
project: Icinga/icinga2
build:
project: packaging/raspbian-icinga2
rpm-icingaweb2:
source:
project: Icinga/icingaweb2
build:
project: packaging/rpm-icingaweb2
deb-icingaweb2:
source:
project: Icinga/icingaweb2
build:
project: packaging/deb-icingaweb2
raspbian-icingaweb2:
source:
project: Icinga/icingaweb2
build:
project: packaging/raspbian-icingaweb2
rpm-icingaweb2-module-director:
source:
project: Icinga/icingaweb2-module-director
build:
project: packaging/rpm-icingaweb2-module-director
deb-icingaweb2-module-director:
source:
project: Icinga/icingaweb2-module-director
build:
project: packaging/deb-icingaweb2-module-director
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