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