File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
2- set -e
2+ set -euo pipefail
33
4- echo " Building CortexFlow Agent"
5- pushd ./core
6- ./agent-api-build.sh
7- popd
4+ ROOT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
5+ CORE_DIR=" $ROOT_DIR /core"
86
9- sleep 1
7+ echo " Building CortexFlow Agent"
8+ " $CORE_DIR /agent-api-build.sh"
109
10+ echo " "
1111echo " Building CortexFlow Identity"
12- pushd ./core/src/components/identity
13- ./build-identity.sh
14- popd
15-
16- sleep 1
12+ " $CORE_DIR /src/components/identity/build-identity.sh"
1713
14+ echo " "
1815echo " Building CortexFlow Metrics"
19- pushd ./core/src/components/metrics
20- ./build-metrics.sh
21- popd
16+ " $CORE_DIR /src/components/metrics/build-metrics.sh"
2217
2318sleep 1
2419
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ set -euo pipefail
33
44SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
55
6- echo " Building cortexflow-agent image from core workspace context"
6+ echo " Building cortexflow-identity image from core workspace context"
77cd " $SCRIPT_DIR "
88
99docker build -f src/components/identity/Dockerfile -t identity:0.0.1 --provenance=false --sbom=false .
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ set -euo pipefail
33
44SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
55
6- echo " Building cortexflow-agent image from core workspace context"
6+ echo " Building cortexflow-metrics image from core workspace context"
77cd " $SCRIPT_DIR "
88
99docker build -f src/components/metrics/Dockerfile -t metrics:0.0.1 --provenance=false --sbom=false .
You can’t perform that action at this time.
0 commit comments