-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sh
More file actions
74 lines (45 loc) · 2.68 KB
/
Copy pathbuild.sh
File metadata and controls
74 lines (45 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/bin/bash
set -euo pipefail
export BUILDX_BAKE_ENTITLEMENTS_FS=0
#export BAKE_ARGS="--set *.args.PROFILE=dev --set *.args.APP_STAGE_IMAGE=scratch"
export PROFILE="release"
export APP_STAGE_IMAGE="scratch"
export REGISTRY="localhost:5000"
export MOWS_ROOT=$(pwd)
# Bold and green text for info messages
export SCRIPT_INFO_COLOR="\033[1;32m"
# Bold and yellow text for warning messages
export SCRIPT_WARNING_COLOR="\033[1;33m"
# Bold and red text for error messages
export SCRIPT_ERROR_COLOR="\033[1;31m"
# Reset color to default
export SCRIPT_RESET_COLOR="\033[0m"
printf "${SCRIPT_INFO_COLOR}Building all MOWS components...${SCRIPT_RESET_COLOR}\n"
printf "${SCRIPT_INFO_COLOR}Building zitadel-resource-controller...${SCRIPT_RESET_COLOR}\n"
cd ./operators/zitadel-resource-controller && bash build.sh ; cd ../../
printf "${SCRIPT_INFO_COLOR}Building pektin-resource-controller...${SCRIPT_RESET_COLOR}\n"
cd ./operators/pektin-resource-controller && bash build.sh ; cd ../../
printf "${SCRIPT_INFO_COLOR}Building vault-resource-controller...${SCRIPT_RESET_COLOR}\n"
cd ./operators/vault-resource-controller && bash build.sh ; cd ../../
printf "${SCRIPT_INFO_COLOR}Building mows-package-manager...${SCRIPT_RESET_COLOR}\n"
cd ./operators/mows-package-manager && bash build.sh ; cd ../../
printf "${SCRIPT_INFO_COLOR}Building mows-manager-codegen...${SCRIPT_RESET_COLOR}\n"
cd ./manager/ && bash scripts/codegen.sh ; cd ../
printf "${SCRIPT_INFO_COLOR}Building mows-manager...${SCRIPT_RESET_COLOR}\n"
cd ./manager/ && bash build.sh ; cd ../
printf "${SCRIPT_INFO_COLOR}Building pektin-api...${SCRIPT_RESET_COLOR}\n"
cd ./apis/core/pektin/api && bash build.sh ; cd ../../../../
printf "${SCRIPT_INFO_COLOR}Building pektin-feoco...${SCRIPT_RESET_COLOR}\n"
cd ./apis/core/pektin/feoco && bash build.sh ; cd ../../../../
printf "${SCRIPT_INFO_COLOR}Building pektin-server...${SCRIPT_RESET_COLOR}\n"
cd ./apis/core/pektin/server && bash build.sh ; cd ../../../../
printf "${SCRIPT_INFO_COLOR}Building pektin-zertificat...${SCRIPT_RESET_COLOR}\n"
cd ./apis/core/pektin/zertificat && bash build.sh ; cd ../../../../
printf "${SCRIPT_INFO_COLOR}Building filez-server...${SCRIPT_RESET_COLOR}\n"
cd ./apis/cloud/filez/server && bash build.sh ; cd ../../../../
printf "${SCRIPT_INFO_COLOR}Building filez-server-codegen...${SCRIPT_RESET_COLOR}\n"
cd ./apis/cloud/filez/server && bash scripts/codegen.sh ; cd ../../../../
printf "${SCRIPT_INFO_COLOR}Building filez-web...${SCRIPT_RESET_COLOR}\n"
cd ./apis/cloud/filez/web && bash build.sh ; cd ../../../../
printf "${SCRIPT_INFO_COLOR}Building filez-apps-backend-images...${SCRIPT_RESET_COLOR}\n"
cd ./apis/cloud/filez/apps/backend/images && bash build.sh ; cd ../../../../../