diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2021-05-04 11:35:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 11:35:24 +0200 |
commit | f6c6123d85d467134ee24565c9d98efdfc3a0c41 (patch) | |
tree | 2b70863b40601c5f98d2fbe9e8aa51fa150e7ceb /bin | |
parent | a1b0c4541762320867aa7e7150c942224c18753d (diff) |
feat(docker): production images, integrated ccache and many other improvements (#5551)
Diffstat (limited to 'bin')
-rw-r--r-- | bin/README.md | 6 | ||||
-rwxr-xr-x | bin/acore-docker-build | 20 | ||||
-rw-r--r-- | bin/acore-docker-update | 7 | ||||
-rwxr-xr-x | bin/acore-subrepo-update | 34 |
4 files changed, 4 insertions, 63 deletions
diff --git a/bin/README.md b/bin/README.md index 81af2e053f..bbc5785e83 100644 --- a/bin/README.md +++ b/bin/README.md @@ -1,7 +1,9 @@ +The following folder contains scripts aliases. Do not implement scripts here. + All bash script here must be compatible with following environments: -- *linux*: bash 4.x +- *linux*: bash 4.x -- *windows*: git for windows 2.9.3 +- *windows*: git for windows 2.9.3 - *osx* diff --git a/bin/acore-docker-build b/bin/acore-docker-build deleted file mode 100755 index efe890d445..0000000000 --- a/bin/acore-docker-build +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -cd /azerothcore - -bash acore.sh compiler build - -echo "Generating confs..." -cp -n "env/dist/etc/worldserver.conf.dockerdist" "env/dist/etc/worldserver.conf" -cp -n "env/dist/etc/authserver.conf.dockerdist" "env/dist/etc/authserver.conf" - -echo "Fixing EOL..." -# using -n (new file mode) should also fix the issue -# when the file is created with the default acore user but you -# set a different user into the docker configurations -for file in "env/dist/etc/"* -do - dos2unix -n $file $file -done - - diff --git a/bin/acore-docker-update b/bin/acore-docker-update deleted file mode 100644 index 0b91b50fb6..0000000000 --- a/bin/acore-docker-update +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -source "$CUR_PATH/acore-docker-build" - -bash acore.sh db-assembler import-all diff --git a/bin/acore-subrepo-update b/bin/acore-subrepo-update deleted file mode 100755 index bc05e4a042..0000000000 --- a/bin/acore-subrepo-update +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env bash - -####################### -# -# README -# -# This script is used to automatically update -# submodules and subrepos included in this project -# Subrepo are updated in bidirectional way (pull + push) -# because they are intended to be developed by this organization -# -# NOTE: only maintainers and CI should run this script and -# keep it updated -# -####################### - -set -e -ROOT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../" -# update all submodules -git submodule update --init --recursive -git submodule foreach git pull origin master -# include libraries for git subrepo -source "$ROOT_PATH/deps/git-subrepo/.rc" -source "$ROOT_PATH/deps/acore/bash-lib/src/git-utils/subrepo.sh" - -echo "> Pulling and update all subrepos" - -subrepoUpdate https://github.com/azerothcore/bash-lib master deps/acore/bash-lib - -subrepoUpdate https://github.com/azerothcore/cmake-utils master deps/acore/cmake-utils - -subrepoUpdate https://github.com/azerothcore/mysql-tools master deps/acore/mysql-tools - -subrepoUpdate https://github.com/azerothcore/joiner master deps/acore/joiner |