test: mini branding test

This commit is contained in:
Aliberk Sandıkçı 2023-12-20 20:30:19 +03:00
parent 77d212c1e8
commit 39f56fe05d
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -4,6 +4,7 @@
# First setup docker and install alpine image
# Approximately 10min (tested with 4vcpu / 8GB RAM / 30Mbps network speed)
# IFLRANDEVU_VER="test"
IFLRANDEVU_VER="1.4.3-ifl.2" # UPDATE MANUALLY !
@ -19,6 +20,7 @@ if [[ $1 != "docker" ]]; then
echo -e "RUN COMMANDS IN ALPINE DOCKER"
echo -e "RUN SCRIPT: \`${_RED}apk add bash && bash /link/docker.sh docker${_NC}\`"
docker attach IFLRANDEVU_BUILDER --detach-keys="ctrl-k"
echo "EXIT"
exit
elif [[ $1 == "docker" ]]; then
set -ex
@ -38,6 +40,8 @@ elif [[ $1 == "docker" ]]; then
npm install && composer install
npm run build
echo -e "${_RED}!SEE RESULT ABOVE!${_NC}"
sleep 10
apk add zip
if [[ -f "/link/iflrandevu-$IFLRANDEVU_VER.zip" ]]; then
echo "THIS VERSION ALREADY EXIST"