90 Commits

Author SHA1 Message Date
Yehonal
8b6d7cb2ff fix(bash): pending sql script path 2021-06-15 11:02:48 +02:00
Yehonal
3f70d0b80f
feat(doc): changelog system (#6350)
This system provides rules and automatizes (Deno-typescript) the creation of a changelog file to help developers to adapt their code and know what is new with every (pre)release
2021-06-15 11:04:29 +02:00
Yehonal
ff2737fee8
feat(bash): Improved support for gperftools (#5769) 2021-05-10 22:21:23 +02:00
Yehonal
f6c6123d85
feat(docker): production images, integrated ccache and many other improvements (#5551) 2021-05-04 11:35:24 +02:00
Patrick Lewis
e02d5f4ae4
fix(BASH): cp docker configs (#5536)
* fix(BASH): cp docker configs

* fix(DOCKER): typo
2021-04-29 01:31:17 -07:00
Yehonal
e4fafc61dd
fix(Docker): windows improvements and permissions fix (#5444) 2021-04-28 22:26:39 +02:00
Yehonal
380f406248
Feat(Docker/bash): docker-compose system rework (#4488)
## ⚠️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)
2021-04-22 09:57:05 +02:00
Patrick Lewis
db6018aa38
fix(DOCKER): add dos2unix conversion when generating config files (#4697) 2021-03-05 05:17:47 -08:00
Francesco Borzì
ab72d3ce91
feat(Bash/restarter): add restarter to the available bin/ collection (#3991) 2020-12-15 12:59:18 +01:00
Patrick Lewis
55af77dbf9
fix(bin/scripts): Allow script work with git bash (#3841) 2020-12-02 16:24:20 -06:00
Patrick Lewis
b83650842a
fix(Core/bin): Add quotes to pwd in docker build scripts (#3701) 2020-11-18 11:03:49 -06:00
Francesco Borzì
d2cc3fcbc2
feat(Docker): update to Ubuntu 20.04 + more improvements (#3277) 2020-08-13 00:25:20 +02:00
Francesco Borzì
0651e77123 feat(docker): allow script-less build (#2337) 2019-10-09 08:02:55 +02:00
Francesco Borzì
1b62af3e14
fix(Docker): no need to duplicate *.dist files (#1551) 2019-03-03 02:00:22 +01:00
Francesco Borzì
e659ca5fe9
feat(docker): add cache for faster rebuild (#1507)
- Closes #1502
2019-02-23 17:34:56 +01:00
Francesco Borzì
2bcedc2859
fix(Bash/Exporter): fix path + add prompt to prevent wrong usage (#1477) 2019-02-17 10:04:09 +01:00
Francesco Borzì
f2a37485fa
Docker/Scripts: fix file permissions 2019-01-17 19:00:58 +01:00
Francesco Borzì
b578bce1d1
Make the Docker installation easy
See: https://github.com/azerothcore/azerothcore-wotlk/wiki/Install-with-Docker
2019-01-16 20:44:02 +01:00
Yehonal
85388901cf Rewrite of bash system
+ Implemented new dashboard menu
+ some fixes for db_assembler
+ new module installation process with version check via json files
+ some fixes to modules installer
+ implemented simple crossplatform worldserver and authserver restarters
+ new compiler script
+ client data downloader (beta)
+ various other fixes
2018-07-15 22:51:17 +02:00
Yehonal
b24a2ea13e Bash: exec permission for bin files 2017-10-13 14:38:14 +02:00
Yehonal
bbc9a21e94 Bash: fixing scripts after directory rework 2017-10-13 14:37:37 +02:00
Yehonal
f06f32849f Directory Structure [step 1]: moving files
working on #672

NOTE: This commit can't be compiled!!
2017-10-12 20:00:52 +02:00
Yehonal
0f5ff1db7e Bash: Removed compilation type suffix on build/bin path
if you need to differentiate it you can add $CTYPE variable as suffix of bin/build path conf
2017-10-09 10:13:51 +00:00
Yehonal
eb78254579 Bash: Various improvement for compiler and db_assembler
Now db_assembler also creates the users specified in conf.sh files if not exists

+ Simplified some paths for compilation
2017-09-26 12:53:46 +02:00
Yehonal
69b7d77161 Bash: Minor fixes for installer 2017-09-25 18:15:47 +02:00
Yehonal
da45fbf75c Db_Assembler: hide mysql password in prompt 2017-09-25 02:21:18 +02:00
Yehonal
c42ec97bb0 Various fixes for installer script and db_assembler 2017-09-25 02:15:22 +02:00
Yehonal
dc15319625 Installer: differentiate linux distro 2017-09-22 01:19:20 +02:00
Yehonal
31848f9a66 Installer: minor fix 2017-09-21 18:59:29 +02:00
Yehonal
22c6ba9fa6 Bash: implemented installer script for server and modules (beta)
+ minor fixes
2017-09-21 18:52:20 +02:00
Yehonal
afebf1a1ca Improved db assembler, now can create DBs 2017-09-21 17:04:08 +02:00
Yehonal
70ab2a8771 Bash: Allow action non-interactive selection
You can directly run a specific action from command lines
useful for cronjobs for example

+ splitted db_assembler in more files ready to be included
from other bash scripts
2017-09-20 01:18:20 +02:00
Yehonal
477321be4d Bash: Fixed Quit option 2017-09-20 00:08:57 +02:00
Yehonal
c592aca103 Implemented sql importing for db_assembler script
It includes a backup system that saves your day if you
push the "red button" (importing bases on a production db)
2017-09-20 00:02:24 +02:00
Yehonal
22a5408999 Removed useless code from db_assembler 2017-05-01 21:53:03 +02:00
Yehonal
8836d161ff Improved db_assembler simplifying updating process
Implemented a check for versioning column to skip already applied updates
In this way the script can combine all updates under a single sql file
that can be imported directly in any case
2017-05-01 21:17:26 +02:00
Yehonal
603753dfff CMAKE: implemented method to disable a module via cmake
use -DDISABLED_AC_MODULES or config.cmake file to define it
2017-03-26 01:09:44 +01:00
Yehonal
693dc56bf1 Moved uwd modules under drassil 2017-03-26 01:09:42 +01:00
Yehonal
b94531b191 Created needed files for "sql pending system"
+ added README file to db_exporter
2016-11-18 13:28:25 +01:00
Yehonal
001af4e85b custom files must be always resetted on full db_assembling 2016-11-17 19:28:25 +01:00
ShinDarth
9d11582283 Bin/DB-Assembler: fixed bug in Mac OS X md5 generation
- IMPORTANT NOTE: new dependency for Mac users: brew install md5sha1sum
2016-10-25 22:35:14 +02:00
ShinDarth
47d1ee4f55 Bin: fix db_pendings import.sh script 2016-10-23 13:13:16 +02:00
yehonal
e06bdd2132 bin folder creation for startup-scripts on after_build event 2016-09-24 14:46:02 +02:00
Yehonal
9466e0c21c Improved run engine and moved on separated module
+ Also added some example script to create your own
restart script
2016-09-02 00:21:02 +02:00
Yehonal
88b1881d22 [BASH/DB] Fixed importing script with revisioned sql 2016-08-30 15:41:59 +02:00
Yehonal
925defe406 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk.git 2016-08-30 15:28:01 +02:00
Yehonal
2cf4e06e01 [BASH] separated -wipe from -ls for run engine 2016-08-30 13:10:34 +02:00
Yehonal
cb375d00ad [BASH] Removed _timed_ files for custom sql
use updates instead.
2016-08-30 02:02:08 +02:00
Yehonal
5fd543e1f5 Fixed db_assembler DB path variable expanding
+ code indentation
2016-08-30 01:26:13 +02:00
Yehonal
453338a1dd [BASH] fix run-engine issue with destroyed screen sessions 2016-08-29 13:39:53 +02:00