Commit aff5a971 authored by kesnar's avatar kesnar
Browse files

refactor: change ztp naming for oeccpsc22 scripts

parent a8dec4ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/"

# Set the list of components, separated by spaces, you want to build images for, and deploy.
#export TFS_COMPONENTS="context device automation monitoring pathcomp service slice compute webui interdomain load_generator"
#export TFS_COMPONENTS="context device ztp monitoring pathcomp service slice compute webui interdomain load_generator"
export TFS_COMPONENTS="context device pathcomp service slice interdomain webui"

# Set the tag you want to use for your images.
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/"

# Set the list of components, separated by spaces, you want to build images for, and deploy.
#export TFS_COMPONENTS="context device automation monitoring pathcomp service slice compute webui interdomain load_generator"
#export TFS_COMPONENTS="context device ztp monitoring pathcomp service slice compute webui interdomain load_generator"
export TFS_COMPONENTS="context device pathcomp service slice interdomain webui"

# Set the tag you want to use for your images.
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ for COMPONENT in $COMPONENTS; do
    echo "  Building Docker image..."
    BUILD_LOG="$TMP_LOGS_FOLDER/build_${COMPONENT}.log"

    if [ "$COMPONENT" == "automation" ] || [ "$COMPONENT" == "policy" ]; then
    if [ "$COMPONENT" == "ztp" ] || [ "$COMPONENT" == "policy" ]; then
        docker build -t "$IMAGE_NAME" -f ./src/"$COMPONENT"/Dockerfile ./src/"$COMPONENT"/ > "$BUILD_LOG"
    else 
        docker build -t "$IMAGE_NAME" -f ./src/"$COMPONENT"/Dockerfile ./src/ > "$BUILD_LOG"