Skip to content

Commit 2b4e93f

Browse files
committed
[#174]: comments addressed
1 parent 8ecc299 commit 2b4e93f

3 files changed

Lines changed: 11 additions & 16 deletions

File tree

build-all.sh

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
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 ""
1111
echo "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 ""
1815
echo "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

2318
sleep 1
2419

core/identity-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33

44
SCRIPT_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"
77
cd "$SCRIPT_DIR"
88

99
docker build -f src/components/identity/Dockerfile -t identity:0.0.1 --provenance=false --sbom=false .

core/metrics-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33

44
SCRIPT_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"
77
cd "$SCRIPT_DIR"
88

99
docker build -f src/components/metrics/Dockerfile -t metrics:0.0.1 --provenance=false --sbom=false .

0 commit comments

Comments
 (0)