Commit Graph

82 Commits

Author SHA1 Message Date
Mike Delago
f1b629035f fix(CI/Import SQL): reference previous pending update in header (#20219) 2024-10-15 15:06:43 -04:00
Mike Delago
3ef1a4a22a fix(CI): simplify ci-pending-sql.sh and make it safer (#20209)
* apps: ci: ci-pending-sql.sh: simplify

* ensure proper file header is used
2024-10-14 20:42:04 -04:00
Anton Popovichenko
36a8653c83 fix(CI/macOS): Fix macOS CI dependency installation by updating macOS version. (#19997)
* fix(CI/MacOS): Fix MacOS CI dependency installation.

* Try to use macos 14 version

* Remove brew cleanup and z3 dependency

* Adjust readline lib discovery

* Update macos supported version in SECURITY.md
2024-09-21 11:37:55 -03:00
Grimdhex
574ef5203a chore(Apps/CodeStyle): rewrite Ci-codestyle in python (#19714)
* initial version

* port most current checks

* allow to specify for each checks the exclude files

* Update _ci-codestyle.py

* fix trailing whitespace check and the error_handler logic

* optimize the script to parse all files only one time

* restore the error handling after that all checks are passed

* fix double blank lines at the end of the file

* improve outputs and the codestyle

* .

* update github workflow to the new script

*drop the old ci-codestyle
*move and rename the python script

* use getcwd instead abspath to define src_directory where the script is launch

* test for github workflow

* few cleanup

* fix the logic with the result output

* remove GetTypeId from the output result

* restore GetTypeId() check

* fix reviews

* remove GetTypeId check for gameobjects

*not currently fixed in the core

* fix type hint for file parameters

* remove the test file
2024-08-27 06:19:13 -03:00
Anton Popovichenko
3c4086a5a0 fix(CI/MacOS): Fix macOS mysql setup. (#19634)
* fix(CI/MacOS): Try to fix macOS mysql setup.

* Update ci-compile.sh

* More debug code

* Mooooore debug

* Moooooorreee

* Moooooooooooorereerererer

* m o r e debug

* more debug

* more

* More debug

* 9.0.1.reinstall??? we already had mysql?

* debug

* Debug

* Are we happy now?

* No? And what about now?!

* Adn now?

* Yes, we are happy 😎
2024-08-16 05:07:41 -03:00
Kitzunu
4a25ac665d chore(CI): Make some changes (#17861)
* chore(CI): Make some changes. Less CI's maybe better...

* pendingsql

* FORK TEST - TO BE REVERTED

* changes

* test

* fix

* Revert "FORK TEST - TO BE REVERTED"

This reverts commit 875bc281c5a355cce2ddd8015484e256dbc185cf.

* rename workflow

* rename workflow

* rename workflow

* rename workflow

* I argue windows don't need dry runs

* maybe mac wants to be alive. who knows. When do we drop mac support really...?
2023-11-26 17:27:40 +01:00
Kitzunu
12456b5496 refactor(Misc/Conf): DBErrors is now Errors (#17053)
* refactor(Misc/Conf): DBErrors is now StartupErrors

* pt2

* Update ci-error-check.sh

* Update ci-error-check.sh
2023-08-22 12:08:53 +02:00
Mike Delago
e7b3f5e78a chore(CI): fix ci-pending.sh script for linting SQL (#16913)
* fix Checks for pending sql

* remove strings in general

* Update apps/ci/ci-pending.sh

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-08-06 11:43:51 +02:00
Kitzunu
d341492081 fix(CI): Update macos openssl to 3 (#16846) 2023-07-29 15:26:03 +02:00
Kitzunu
7d40293532 chore(CI): Restore broadcast_text check (#16483) 2023-06-08 22:34:46 -03:00
Kitzunu
099517161c refactor(DB/Misc): Improve loading time (#15433)
* refactor(DB/Misc): Improve loading time

* NOTE: Running these SQL files can take several minutes (up to 30minutes depending on your system!)

* This will improve loading time over 50%

* comment out error on editing broadcast_text tables

* Update data/sql/updates/pending_db_world/rev_1679045387127819800.sql
2023-04-23 18:00:51 -03:00
Foereaper
5fa027a222 refactor(Core/Conf): Removal of unnecessary .dist file loading (#14707)
* Remove .dist file requirement

* Remove unnecessary string cast

* Add required variables for CI build configs

* More required variables

* Add some more default variables to reduce log output

* One last default value to cut down log spam

* Rewrite conf file bash script

This should use the standard .dest file as a template

* Change dir we copy the dest files from

* actually use the correct file name

* need to use double quotes for variables

* add missing username

* set the correct datadir

* Attempt to fix dbimport

Co-authored-by: Foereaper <foereaper@elunatech.com>
2023-01-21 14:48:22 +01:00
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
171df31196 feat(CORE/bash): implemented acore dashboard for Windows (#13476)
+ implemented acore dashboard for windows
+ integrated acore dashboard for windows in our pipeline
+ implemented dry run for windows build
+ fixed permissions issue for all the operating systems
+ code clean
2022-10-22 15:40:13 +02:00
Yehonal
e189caeb76 feat(docker): implemented dbimport (#13308)
## Changes Proposed:

- Implemented dbimport with docker
- deprecated db_assembler
- Fixed deno scripts and integrated them with the CI
2022-10-05 13:15:42 +02:00
Kargatum
94528cd44d feat(Tools/DbImport): implement separated app for importing DB (#11614) 2022-06-09 08:23:38 -03:00
Kargatum
4fbec972a8 refactor(Cmake): add support build selected applications and tools (#11836) 2022-05-31 17:05:39 +07:00
Skjalf
8c154e6ef7 chore(CI): Remove version check (#11572) 2022-04-29 11:41:16 -03:00
Kitzunu
026941c39e refactor(DB): Handle SQL files in a new way (#11494)
* refactor(DB): Handle SQL files in a new way

* remove proof that it works files

* Update rev_1650721405699287200.sql

* Update rev_1650721339143444200.sql

* Update rev_1650721386624384400.sql

* fix build

* fix
2022-04-28 14:37:37 -03:00
Kitzunu
b4bcdd94d1 feat(DB): release ACDB 6.0.0 (#11515) 2022-04-24 15:56:31 +02:00
Kitzunu
b88f442861 fix(CI): Redacted eluna (#11406) 2022-04-15 21:15:40 +02:00
Nefertumm
a054bbeabf feat(CI): add more modules to CI (#11065) 2022-03-18 09:32:42 +01:00
Francesco Borzì
74f84591ce feat(CI): add mod-low-level-rbg module (#10764) 2022-02-21 02:08:30 -03:00
Kitzunu
6f20b9ece7 fix(CI/Misc): Make CodeFactor happy (#10468) 2022-02-01 01:56:10 -03:00
Kargatum
a689775891 feat(DB): release ACDB 5.0.0 (#10292)
* auth

* char

* world

* archive

* new files

* v

* correct auth db

* add support get last file from archive

* correct world updates

* fix auth

* pendinig to normal

* add pending auth

* add pendings

* smallint

* MEDIUMINT
2022-01-29 10:35:10 -03:00
Kitzunu
ea2e24f31b feat(Apps/CI): Add check for broadcast_text (#9771) 2021-12-29 21:18:41 -03:00
Patrick Lewis
2a37003f95 fix(CI): set openssl to use openssl1.1 (#9715) 2021-12-15 10:21:56 +01:00
Kargatum
ce03319cf2 feat(CI/Modules): disable build mod-azerothshard (#9605) 2021-12-09 15:24:24 +01:00
Francesco Borzì
701b288864 feat(CI/Modules): add mod-progression-system (#9188) 2021-11-14 20:09:25 +01:00
Francesco Borzì
dd79b7f63f feat(CI): C++20 build (#8952) 2021-11-05 08:58:17 +01:00
Kargatum
2d38f36555 feat(CI/CheckPending): add check version db line (#8653) 2021-11-02 14:44:17 +01:00
Francesco Borzì
784e567585 feat(CI/Modules): add more modules (#8816) 2021-10-29 14:44:00 +02:00
Kargatum
b680670047 feat(CMake): delete EXTRA_LOGS (#6897) 2021-07-14 23:47:40 +02:00
Francesco Borzì
920825b759 feat(CI): show warnings in macOS run (#6861) 2021-07-10 12:01:45 -07:00
Francesco Borzì
de93120463 feat(CI): add mod-azerothshard to the CI (#6629) 2021-06-28 19:04:29 +02:00
Francesco Borzì
7579dc4689 feat(CI): add modules (#6584) 2021-06-26 14:13:43 +02:00
Francesco Borzì
1e4a73972e fix(CMake/Bash): -DSCRIPTS cmake param (#6522) 2021-06-23 17:25:28 +02:00
Kargatum
5991b2769a feat(Core/Scripts): split the huge scriptloader into smaller pieces (#5346)
* feat(Core/Scripts): split the huge scriptloader into smaller pieces

* AddSC_swamp_of_sorrows del

* 1

* add mod info

* 1

* 039f0e0faa

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-22 23:19:02 +02:00
Francesco Borzì
67b84e0c1e feat(Core): deprecate clang-9 and older (#6406) 2021-06-17 18:30:15 +02:00
Yehonal
d4d2a17a96 fix(bash): restored import sql script
Codacity suggestions are causing bugs here.
It would be better to convert it in Typescript in future.
2021-06-16 17:40:23 +02:00
Yehonal
65d70cadce chore(deno/changelog): fix commit link 2021-06-15 11:09:55 +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
Patrick Lewis
d72375c4eb feat(CI): add clang12 to core_build matrix (#5681) 2021-06-09 21:39:02 +02:00
Kargatum
e3c1e739c6 feat(CI/Codestyle): add check core logs (#6012) 2021-05-31 11:03:00 +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
Yehonal
e4fafc61dd fix(Docker): windows improvements and permissions fix (#5444) 2021-04-28 22:26:39 +02:00
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