Commit c950ccac authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Merge branch 'feat/329-ecoc-2025-hack-your-research' into 'develop'

Resolve "ECOC 2025 Hack-Your-Research"

See merge request !393
parents 45167278 ad1a0593
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -220,8 +220,12 @@ else
fi
printf "\n"

if [[ "$TFS_COMPONENTS" == *"telemetry"* ]]; then
    echo "Configuring Telemetry Service..."

    # Before deployment change the telemetry LOAD_BALANCER_IP
    sed -i "s|_LOAD_BALANCER_IP_|$LOAD_BALANCER_IP|g" manifests/telemetryservice.yaml
fi

for COMPONENT in $TFS_COMPONENTS; do
    echo "Processing '$COMPONENT' component..."
@@ -605,8 +609,12 @@ if [[ "$TFS_COMPONENTS" == *"monitoring"* ]] && [[ "$TFS_COMPONENTS" == *"webui"
    printf "\n\n"
fi

if [[ "$TFS_COMPONENTS" == *"telemetry"* ]]; then
    echo "Deconfiguring Telemetry Service..."

    # Revert _LOAD_BALANCER_IP_ for the next deployment
    sed -i "s|$LOAD_BALANCER_IP|_LOAD_BALANCER_IP_|g" manifests/telemetryservice.yaml
fi

echo "Pruning Docker Images..."
docker image prune --force
+2 −2
Original line number Diff line number Diff line
@@ -21,7 +21,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 pathcomp service slice nbi webui load_generator"
export TFS_COMPONENTS="context device pathcomp service nbi"
export TFS_COMPONENTS="context device pathcomp service nbi webui"

# Uncomment to activate Monitoring
#export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring"
@@ -107,7 +107,7 @@ export CRDB_DEPLOY_MODE="single"
export CRDB_DROP_DATABASE_IF_EXISTS="YES"

# Disable flag for re-deploying CockroachDB from scratch.
export CRDB_REDEPLOY="YES"
export CRDB_REDEPLOY=""


# ----- NATS -------------------------------------------------------------------
+0 −0

File mode changed from 100755 to 100644.

+0 −0

File mode changed from 100755 to 100644.

+0 −0

File mode changed from 100755 to 100644.

Loading