chore(ci): changes after peer review

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2022-09-27 11:34:00 +02:00
parent 837a6085c2
commit edcbff8f58
8 changed files with 32 additions and 14 deletions
+1 -5
View File
@@ -20,13 +20,9 @@ if [[ -v USE_VOLUMED_CONF ]]; then cp $PREFIX/etc/mounted.conf $PREFIX/etc/gnb.c
# Defualt Parameters
GNB_ID=${GNB_ID:-e00}
NSSAI_SD=${NSSAI_SD:-ffffff}
USE_FQDN=${USE_FQDN:-false}
AMF_FQDN=${AMF_FQDN:-oai-amf-svc}
# if you explicitly want to use an SD, it should be added in the docker-compose or the helm chart
# if you want to support more than 1 NSSAI, then you need to mount a more-complex conf file
if [[ -v NSSAI_SST ]] && [[ -v NSSAI_SD ]] then
NSSAI_SST=$NSSAI_SST" , sd = "$NSSAI_SD
fi
# Resolve AMF FQDN
if ($USE_FQDN); then AMF_IP_ADDRESS=(`getent hosts $AMF_FQDN | awk '{print $1}'`); fi