mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Tweak config management to allow defining parameters through inline bash variables
This commit is contained in:
parent
e3506a3208
commit
6cc335eafe
1 changed files with 8 additions and 11 deletions
|
@ -1,25 +1,22 @@
|
|||
#!/bin/bash
|
||||
|
||||
ARCH="amd64"
|
||||
DIST="buster"
|
||||
|
||||
# Yunohost version: stable, testing or unstable
|
||||
YNH_BRANCH="stable"
|
||||
|
||||
# Admin password
|
||||
# Yunohost install parameters
|
||||
YUNO_PWD="admin"
|
||||
|
||||
# Domaines de test
|
||||
DOMAIN="domain.tld"
|
||||
SUBDOMAIN="sub.$DOMAIN"
|
||||
|
||||
# User de test
|
||||
TEST_USER="package_checker"
|
||||
|
||||
[[ -e "./config" ]] && source "./config"
|
||||
|
||||
ARCH=${ARCH:-amd64}
|
||||
DIST=${DIST:-buster}
|
||||
|
||||
# Yunohost version: stable, testing or unstable
|
||||
YNH_BRANCH=${YNH_BRANCH:-stable}
|
||||
|
||||
LXC_BASE="ynh-appci-$DIST-$ARCH-$YNH_BRANCH-base"
|
||||
LXC_NAME="ynh-appci-$DIST-$ARCH-$YNH_BRANCH-test"
|
||||
YNH_BRANCH="-d $YNH_BRANCH"
|
||||
|
||||
readonly lock_file="./pcheck.lock"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue