Commit Graph

93 Commits

Author SHA1 Message Date
Patrick Lewis
cabe1163d8 fix(CI/macOS): change build type to release (#5466)
* fix(CI/macOS): change build type to release

* fix(CI/macOS): change ccache options

* fix(CI/macOS): test change build type back to debug

* fix(CI/macOS): change build type back to release

* fix(CI/macOS): change ccache size
2021-04-26 16:34:30 -07:00
Rochet2
0b13827e3c fix(CI): disable mac PCH to allow more caching (#5427)
* Update ci-compile.sh

* Update ci-compile.sh

* Update ci-compile.sh
2021-04-24 14:29:11 -07:00
Yehonal
970d371442 fix(bash): bash errors on windows (#5406) 2021-04-23 14:35:41 +02:00
Yehonal
ad5f915277 chore(deno): upgraded v1.9.1 (#5401) 2021-04-22 16:13:47 +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
Kitzunu
ac6a968242 feat(apps): Add a tool to remove trailing whitespaces (#4074) 2021-04-18 14:03:31 +02:00
Kargatum
4af4cbd3d9 feat(Core/Logging): rework logging (#4692)
* feat(Core/Logging): rework logging

* correct level for sql.sql

* del unused config options

* Correct build

* correct after merge

* whitespace

20:29:37 1. 'Player.cpp'. Replace (1)
20:29:37 2. 'ObjectMgr.cpp'. Replace (3)

* 1

* correct logging

* correct affter merge

* 1

* 2

* LOG_LEVEL_WARN

* #include "AppenderDB.h"

* 3

* 4

* 5

* 1. 'WorldSocket.cpp'. Replace (1)

* 6

* 1
2021-04-17 11:20:07 +02:00
Patrick Lewis
81301c67d9 feat(CI): add extra_logs to build matrix and update warden ByteArrayToHexStr (#5102) 2021-04-11 16:08:15 +02:00
Francesco Borzì
cde067390f fix(Bash): client data files version 10 (#5146) 2021-04-09 09:35:19 +02:00
Kitzunu
3a4b99213a feat(Apps): Automatic extractor for windows (#5177) 2021-04-07 19:11:03 +02:00
Patrick Lewis
06ea234efa fix(BASH/INSTALLER): add missing deps for debian 10 (#5019) 2021-04-01 12:22:33 +02:00
Francesco Borzì
b7aa1f301a feat(CI): clang-11 in ubuntu 20.04 (#4891) 2021-03-17 21:39:47 +01:00
Peter
78912075a6 fix(bash): Handle different Debian versions (#4607)
Co-authored-by: locus313 <locus313@users.noreply.github.com>
2021-03-07 13:43:22 -06:00
Yehonal
d88e14be4e Fix: pipeline error after 8 pending sql
bash thinks that 08 is a hex number, so we have to cast the base

More info here: https://stackoverflow.com/questions/24777597/value-too-great-for-base-error-token-is-08
2021-02-14 20:26:29 +01:00
Peter
adc525f813 fix(Bash): Improve db_export script (#4350) 2021-01-28 22:49:28 +01:00
Francesco Borzì
a05ff77ebc feat(CI): deprecate gcc 7 (#4333) 2021-01-23 16:52:41 -08:00
Patrick Lewis
eb9819991e fix(CI): temp restore ci-install.sh (#4325) 2021-01-22 10:25:07 +01:00
Petric
8e06b08416 refactor(db_assembler): Allow connecting to non default mysql ports (#3123) 2021-01-11 20:43:36 +01:00
Patrick Lewis
96a549c559 feat(CI/Ubuntu): use acore.sh to install deps (#4042) 2021-01-09 12:12:38 +01:00
Kargatum
ea93a5c1a1 feat(CI/Codestyle): added codestyle check (#3668) 2021-01-09 11:59:50 +01:00
Patrick Lewis
5e56a288a6 fix(CI/MacOS) workaround for configure os failing (#4234) 2021-01-08 10:06:42 +01:00
Stefano Borzì
fef9260a19 fix(dashboard): check if acore user already exists (#4034) 2020-12-28 17:17:32 +01:00
Patrick Lewis
bc51fbf3f4 fix(apps/scripts): Add quotes for directory paths containing empty spaces (#3716) 2020-12-23 21:17:45 +00:00
Patrick Lewis
0067d45ba4 feat(CI/MacOS): use acore.sh to install deps (#4003) 2020-12-22 17:55:58 +00:00
Francesco Borzì
46d6a4690b fix(Bash/simple-restarter): always show the correct command name (#3996) 2020-12-22 15:54:57 +01:00
Francesco Borzì
eca17381e1 fix(CI/macOS): remove old openssl removal (#3998) 2020-12-17 02:13:17 -08:00
Francesco Borzì
ab72d3ce91 feat(Bash/restarter): add restarter to the available bin/ collection (#3991) 2020-12-15 12:59:18 +01:00
Francesco Borzì
7eb1720d3b fix(Bash/installer): client data version (#3992) 2020-12-15 09:49:04 +01:00
Francesco Borzì
c838b371dd chore(CMake/Tests): use conventional CMake flag to enable tests (#3809) 2020-11-29 19:28:47 +01:00
Kitzunu
9ce76376da refactor(Apps/Defines): Codefactor warning (#3714) 2020-11-19 11:24:38 -06:00
Patrick Lewis
36d4d22fd4 fix(CI): add workaround for configure os (macos-10.15) (#3597) 2020-10-21 10:08:47 +02:00
Francesco Borzì
981ca6cd37 feat(CI/macOS): improve caching level (#3493) 2020-09-19 15:46:46 +02:00
Francesco Borzì
56ca87994b feat(CI): add support for GCC (#3314)
Co-authored-by: Viste <viste02@gmail.com>
2020-09-17 19:03:05 +02:00
Francesco Borzì
1e2ebb3fe1 fix(CI/macos): reduce cache size (#3427)
Prevent macOS to take too much space (we are limited to 5GB in total)
2020-09-04 00:08:07 +02:00
Francesco Borzì
c6b2b4c392 chore(CI): solve (#3322)
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-09-03 12:47:04 +02:00
Francesco Borzì
e06dd5b156 feat(CI/Linux): use compression in ccache (#3425) 2020-09-02 22:06:11 +02:00
Francesco Borzì
f11ddc6575 fix(CI/macOS): ccache issue (#3389)
* fix(CI/macOS): ccache issue

* Update ci-compile.sh

* Update ci-compile.sh

* chore: set cache limit to 5G

Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
2020-08-31 17:50:30 +02:00
Francesco Borzì
2ad98c573a feat(CI): add macOS to our CI (#3321)
Co-Authored-By: Meerd <meerd@users.noreply.github.com>
2020-08-21 12:19:02 +02:00
Petric
07c9debb0d fix(CI): Made test run in relative path (#3319) 2020-08-19 23:28:45 +02:00
Francesco Borzì
2bc832efe3 fix(CI/Core/ArenaSpectator): clang warnings + prevent new warnings (#3317)
Co-authored by @meerd
2020-08-19 19:44:07 +02:00
Francesco Borzì
1854a3a376 feat(CI): add Ubuntu 18.04 to the CI (#3311) 2020-08-18 16:36:16 +02:00
Francesco Borzì
c2b40b126d feature(testing-automation): unit tests with Google Framework (#3273) 2020-08-15 22:34:45 +02:00
Yehonal
cdb499969d chore: Removed unwanted submodule 2020-08-06 03:24:28 +02:00
Yehonal
ad6ad094de feat(bash): support for derivated distro + refactor conf (#3259)
* feat(bash): support for derivated distro

* refactor: refactoring for dist files
2020-08-06 02:37:14 +02:00
Francesco Borzì
c208a1219b feat(CI): update clang-7 to clang-9, add clang-10 build (#3107) 2020-06-03 18:41:02 +02:00
Yehonal
dca02598ba fix(bash): joiner tool has been moved (#3038)
joiner tool has been moved has been moved under azerothcore organization.

I've fixed the url and the path

So it's now available here: 

https://www.azerothcore.org/joiner/   , repo: https://github.com/azerothcore/joiner
2020-05-16 16:56:37 +02:00
Rochet2
1397971943 feat(CI): migrate from Travis to GitHub Actions (#2887)
Co-authored-by: Yehonal <yehonal.azeroth@gmail.com>
2020-04-19 17:33:13 +02:00
aleigood
d22251bcab fix(DB/creature): Add waypoint for Morin Cloudstalker (#2837) 2020-04-04 17:50:24 +02:00
Barbz
ea709de58b fix(app/db_assembler): Allow recursion with bash (#2731)
- Before that commit, the recursion with "**" stopped after the first directory
2020-03-31 23:34:20 +02:00
Barbz
2eeab4c72b fix(apps): Script for default git commit template returns output (#2642)
- Before that, it didn't return anything and could confuse people
2020-03-08 18:21:18 +01:00