mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
## ⚠️ATTENTION! ⚠️ Upgrading procedure: **Database:** After this PR will be merged you need to backup your DB first (you can use the db-assembler or any mysql client to generate the dump) and restore it after. The reason is that we use now docker named volumes instead of binded ones to improve performance. **Conf & client data**: if you use the default configuration, both the etc and the data folder are now available inside the **/env/docker**. Finally, you can cleanup the /docker folder previously used by our system. ## Changes Proposed: This PR will implement the [devcontainer ](https://code.visualstudio.com/docs/remote/containers) feature for VSCode. Allowing us to develop and debug directly within the container in the same way on all OSes. * Implemented support for vscode dev-container feature by remote-extension suite * Docker performance optimizations for MacOS and non-linux hosts * Bash system improvements * Implemented first command using Deno runtime environment (typescript) and [commander.js] * Implemented wait mechanism for db_assembler * Implemented db migration command * possibility to run the authserver and worldserver with GDB using the integrated simple-restarter * Implemented docker multi-stage mechanism to use one single Dockerfile for all the services * client-data downloader now creates a placeholder to avoid downloading the same version of data files multiple times * deployment of pre-compiled docker images on [docker hub](https://hub.docker.com/u/acore), you can test them [here](https://github.com/azerothcore/acore-docker)
35 lines
1.1 KiB
Bash
Executable File
35 lines
1.1 KiB
Bash
Executable File
#!/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
|