49 Commits

Author SHA1 Message Date
Yehonal
e4016823d7
feat(CORE): docker permissions and rework (#13454)
- fix docker permissions with mounted volumes on new docker versions (https://github.com/docker/desktop-linux/issues/31)
- fix ac-tools image
- cleanup unused env
- add  `cap_add: SYS_NICE` to allow setting process high priority
- fix ccache in docker
- allow to switch between root user (default) to acore user in any container
- fix cache of the downloaded client data
- split docker github actions in 2 parts
- versioning mysql images
- performance improvements
2022-11-07 13:20:48 +01:00
Yehonal
c855e8d227
fix(CORE/dbupdate)): allow to pass MySQL password via env (#13404)
* fix(CORE/dbupdate)): allow to pass MySQL password via env

+ fixed devContainer override file issue
+ added authserver dry-run in our CI
2022-10-17 10:53:42 +02:00
Kargatum
4fbec972a8
refactor(Cmake): add support build selected applications and tools (#11836) 2022-05-31 17:05:39 +07:00
Francesco Borzì
35d208efb3
feat(CI): process pending SQL file in PRs (#9887) 2021-12-27 10:28:27 +01:00
Francesco Borzì
7cd03f1429
feat(CI): skip matrix builds for non-C++ changes (#9008) 2021-11-07 10:11:13 +01:00
Kitzunu
54cf80bf29
chore(CI/Ubuntu): remove unused code (#8703) 2021-11-01 10:13:00 +01:00
Kargatum
b680670047
feat(CMake): delete EXTRA_LOGS (#6897) 2021-07-14 23:47:40 +02:00
Patrick Lewis
6be8fa2c73
fix(CI): workflow updates (#6439) 2021-06-20 13:09:42 +02:00
Patrick Lewis
fc10f1a72d
fix(CI): limit concurrency group to PR's (#6419) 2021-06-19 14:10:43 +02:00
Patrick Lewis
d0c6e137fa
feat(CI): move modules build into separate workflow (#6277) 2021-06-17 23:54:39 +02:00
Francesco Borzì
67b84e0c1e
feat(Core): deprecate clang-9 and older (#6406) 2021-06-17 18:30:15 +02:00
Patrick Lewis
ec2d155094
feat(CI): limit workflow concurrency (#6332) 2021-06-14 11:05:48 +02:00
Patrick Lewis
d72375c4eb
feat(CI): add clang12 to core_build matrix (#5681) 2021-06-09 21:39:02 +02:00
Kargatum
d0a259d6ee
feat(Cmake/Compiler): deprecated clang6 and gcc 7 (#5671) 2021-05-17 01:50:03 +02:00
Francesco Borzì
8168f9aea0
fix(CI): replace clang-9 with clang-8 (#5877) 2021-05-16 02:25:29 +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
b71a5b6f94
fix(CI): change on: push to only run on master branch (#5591) 2021-05-02 05:09:42 -07:00
Patrick Lewis
2d1e2f255f
chore(CI): move docker build to separate workflow (#5548) 2021-04-30 19:09:28 +02:00
Patrick Lewis
ecb59db050
chore(CI): move windows build to separate workflow (#5405)
* chore(CI): move windows build to separate workflow

* chore(README): add status badge
2021-04-23 13:47:16 -07:00
Patrick Lewis
362b66547c
chore(CI): move macos build to separate workflow (#5416)
* chore(CI): move macos build to separate workflow

* chore(README): add status badge

* fix(CI): remove needs dependency

* fix(CI/macOS): update ccache path

Co-Authored-By: Rochet2 <rochet2@post.com>

* fix(CI): remove space

Co-authored-by: Rochet2 <rochet2@post.com>
2021-04-23 12:25:33 -07: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
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ì
b7aa1f301a
feat(CI): clang-11 in ubuntu 20.04 (#4891) 2021-03-17 21:39:47 +01:00
Francesco Borzì
e75961756d
Revert "feat(CI): use acore-core-build-action (#4326)" (#4543) 2021-02-11 18:25:50 +01:00
Patrick Lewis
2bbfb20d6f
feat(CI): use acore-core-build-action (#4326) 2021-02-02 00:34:36 +01:00
Patrick Lewis
356a623b70
fix(CI/macOS): solve ccache issue (#4378) 2021-01-30 12:04:43 +01:00
Francesco Borzì
a05ff77ebc
feat(CI): deprecate gcc 7 (#4333) 2021-01-23 16:52:41 -08:00
Patrick Lewis
8e0a48d43d
fix(CI): disable macos-11.0 (#4283) 2021-01-15 01:48:28 -08:00
Patrick Lewis
96a549c559
feat(CI/Ubuntu): use acore.sh to install deps (#4042) 2021-01-09 12:12:38 +01:00
Patrick Lewis
389227e4f7
fix(CI): Only run macos build if ubuntu build is successful (#4044)
* make macos build dependant on ubuntu build success

* test

* test2

* remove test
2020-12-30 09:31:51 -08:00
Patrick Lewis
0067d45ba4
feat(CI/MacOS): use acore.sh to install deps (#4003) 2020-12-22 17:55:58 +00:00
Patrick Lewis
6f214ab089
feat(CI/macOS): add macos-11.0 Big Sur to CI build (#4001) 2020-12-17 15:42:26 +01:00
Patrick Lewis
6b163290b1
fix(CI): do not run core_build on forks 2020-11-02 09:09:46 -06:00
Kargatum
11bbabc2ac
chore(CI): fix Trailing spaces (#3481) 2020-10-19 10:16:52 +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ì
bbb4af3405
feat(CI): actions/cache@v2 (#3416) 2020-08-31 19:46:44 +02:00
Francesco Borzì
0ff3f84f99
chore(CI/Docker): skip Scripts for shorter build times (#3415) 2020-08-31 19:25:14 +02:00
Rochet2
1dd9965da8
feat(CI): add Windows to the CI (#3324) 2020-08-21 22:20:29 +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
Francesco Borzì
1854a3a376
feat(CI): add Ubuntu 18.04 to the CI (#3311) 2020-08-18 16:36:16 +02:00
Francesco Borzì
95dff359be
feat(CI/Docker): build all containers in CI (#3289) 2020-08-15 23:33:57 +02:00
Francesco Borzì
c2b40b126d
feature(testing-automation): unit tests with Google Framework (#3273) 2020-08-15 22:34:45 +02:00
Francesco Borzì
d2cc3fcbc2
feat(Docker): update to Ubuntu 20.04 + more improvements (#3277) 2020-08-13 00:25:20 +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
Francesco Borzì
3526d3afc6
feat(CI): upgrade to Ubuntu 20.04 (#3106) 2020-06-02 19:44:18 +02:00
Rochet2
7c1da6c5a3
feat(CI): refine cache usage in gh-actions (#3101) 2020-06-01 19:42:26 +02:00
Yehonal
4266d1f764 fix(CI): core_build on coverity_scan is not needed 2020-05-07 10:35:19 +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