chore(buil): Cherrypicking build script
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
65c497f902
commit
b39a2dbaa9
1 changed files with 11 additions and 0 deletions
|
|
@ -10,6 +10,9 @@
|
|||
|
||||
ARCH=${ARCH:-amd64}
|
||||
|
||||
GIT_ROOT=$(git rev-parse --show-toplevel)
|
||||
source $GIT_ROOT/scripts/lib/_docker.sh
|
||||
|
||||
git_sha=$(git rev-parse --short HEAD)
|
||||
image_tag=${IMAGE_TAG:-$git_sha}
|
||||
check_prereq() {
|
||||
|
|
@ -19,6 +22,14 @@ check_prereq() {
|
|||
}
|
||||
}
|
||||
|
||||
# Sourcing init scripts
|
||||
for file in ./build_init_*; do
|
||||
if [ -f "$file" ]; then
|
||||
echo "Sourcing $file"
|
||||
source "$file"
|
||||
fi
|
||||
done
|
||||
|
||||
chart=frontend
|
||||
[[ $1 == ee ]] && ee=true
|
||||
[[ $PATCH -eq 1 ]] && {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue