test/make-tags.sh: KOJI_SERVER env variable

Introduce KOJI_SERVER that can be set outside, defaulting to
http://localhost:8080/kojihub for local testing.
This commit is contained in:
Christian Kellner 2020-09-28 16:32:26 +02:00 committed by Tom Gundersen
parent 30aa71563c
commit b1b7425ca6

View file

@ -1,7 +1,9 @@
#!/usr/bin/sh
set -ux
KOJI="koji --server=http://localhost:8080/kojihub --user=kojiadmin --password=kojipass --authtype=password"
KOJI_SERVER=${KOJI_SERVER:-http://localhost:8080/kojihub}
KOJI="koji --server=${KOJI_SERVER} --user=kojiadmin --password=kojipass --authtype=password"
$KOJI add-tag f32
$KOJI add-tag --parent f32 f32-candidate