44 Commits

Author SHA1 Message Date
Riley S.
97937d1724
request(git): Update .gitignore (#20748)
Update .gitignore

Ignores .vs (Visual Studio) and /out/* (Default build directory when unspecified (Visual Studio).)
2024-12-03 21:02:59 +01:00
Mike Delago
c4dc20a814
refactor(Docker): remove prod container distinction (#17419)
* refactor(Docker): remove prod containers

* workflows: use buildx

* properly set tags

* comment in Dockerfile

* set docker build context

* minor CI changes

* CI: docker build args shouldnt have quotes

* CI: using matrix and caching is too much work

* CI: I hate yaml

* CI: It was a typo

* CI: extra build removed

* CI: appease the linter

* fixup! CI: appease the linter

* fixup! CI: appease the linter

* apps: docker: remove extraneous files
2023-10-15 17:47:09 +02:00
Mike Delago
f241a6e352
feat(Apps/Docker): Use Env Vars for docker configuration (#17040)
* feat(docker): Use Env Vars for docker configuration

use env vars for docker

* simplify docker-compose.yaml
2023-08-20 17:52:38 +02:00
Mike Delago
0f031530cb
chore(Data): Add /data/sql/custom to gitignore (#14735) 2023-03-13 19:23:40 +01:00
Mike Delago
888a718cf3
Fix configs in docker builds (#14747)
<!-- First of all, THANK YOU for your contribution. -->

## Changes Proposed
- This fixes an issue where the .conf files aren't properly generated for the docker build
  - With this issue, the dbimport service in the docker compose file would fail to start due to insufficient config. 
  - related to PR #14707
- create a ".user" file extension for custom configs in `env/docker/etc/`
- Layers the ".dockerdist" file and the ".user" file over the ".dist" file (in that order), and then copies the ".dist" file to the base ".conf" file
- Docker specific config changes go in the ".dockerdist" file and should still be committed to the repo
- User specific config changes go in ".user" file and should not be committed to the repo
- If the ".dist" file and the base ".conf" file are different, the ".conf" will be backed up before the ".dist" file is copied into it

## Issues Addressed:
<!-- If your fix has a relating issue, link it below -->
- There isn't a specific issue, however this was reported and discussed in discord over the course of yesterday and today

## SOURCE:
<!-- If you can, include a source that can strengthen your claim -->

## Tests Performed:
<!-- Does it build without errors? Did you test in-game? What did you test? On which OS did you test? Describe any other tests performed -->
- Executing commands to build and start the game server
- after creating an account, I can log in and play without any issues. 


## How to Test the Changes:
<!-- Describe in a detailed step-by-step order how to test the changes -->

1.  Execute commands
   
    ```bash
    $ ./acore.sh docker clean:build && ./acore.sh docker build:nocache && ./acore.sh docker start:app
    ```
2. Create account and log in as normal

## Known Issues and TODO List:
<!-- Is there anything else left to do after this PR? -->

- The largest issue that comes to mind is this is a breaking change for docker users (though, so was the change that caused this)
  - Docker users (and nobody else, of course) can no longer use the ".conf" for custom changes in docker setups. 
  - Their custom changes will have to be migrated to the ".user" file
  - Since the old ".conf" file is backed up, users should have minimal trouble copying the changes in the old ".conf" file to the new ".user" file

<!-- If you intend to contribute repeatedly to our project, it is a good idea to join our discord channel. We set ranks for our contributors and give them access to special resources or knowledge: https://discord.com/invite/DasJqPba)
     Do not remove the instructions below about testing, they will help users to test your PR -->
## How to Test AzerothCore PRs
 
When a PR is ready to be tested, it will be marked as **[WAITING TO BE TESTED]**.

You can help by testing PRs and writing your feedback here on the PR's page on GitHub. Follow the instructions here:

http://www.azerothcore.org/wiki/How-to-test-a-PR

**REMEMBER**: when testing a PR that changes something **generic** (i.e. a part of code that handles more than one specific thing), the tester should not only check that the PR does its job (e.g. fixing spell XXX) but **especially** check that the PR does not cause any regression (i.e. introducing new bugs).

**For example**: if a PR fixes spell X by changing a part of code that handles spells X, Y, and Z, we should not only test X, but **we should test Y and Z as well**.

edit: link related PR
2023-01-23 18:03:28 +01:00
Kargatum
092710ff19
chore(Gitignore): add ignore all folders cmake-build-* for Clion (#13353) 2022-10-09 08:59:31 -04:00
Angelo Venturini
ad4ce0895f
fix: Qaston revert (#13320)
* Revert "fix(Core/QAston): fixed shields oneshotting (#13271)"

This reverts commit e05f61d1b3873a217798078169455591422a1766.

* Revert "fix(Core): Crash (#13292)"

This reverts commit a818bcf3e20653a52670b7905f004187f883afff.

* Revert "fix: Crash (#13241)"

This reverts commit be423a91b53538c92b28f14759f01c474bb8b277.

* delete sql

* Revert "refactor(Core/Spells): Implement QAston Proc System (#11079)"

This reverts commit cbd3fd0967fd94a2a9eb96aaf55ebd69f32aa918.

* add sql revert

* fix sql

* remove update from world.updates
2022-10-05 21:53:20 +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
IntelligentQuantum
cbd3fd0967
refactor(Core/Spells): Implement QAston Proc System (#11079)
* .

* sql

* .

* .

* 1

* 2

* 3

* 4

* 5

* 6

* 7

* 8

* 9

* 10

* 11

* 12

* 13

* 14

* 15

* Update spell_item.cpp

* Update Unit.cpp

* 16

* 17

* 18

* 19

* 20

* 21

* Update Unit.cpp

* REVERT UltraNIX Commit

* 22

* 23

* .

* .

* .

* warrior

* warlock

* shaman rogue priest paladin mage

* spell item

* hunter

* druid

* dk

* war

* error style

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* Update rev_1647677899565690722.sql

* .

* DOND DEL ME WAD DO DO

* error 2

* .

* .

* .

* FIX

* Update SpellInfoCorrections.cpp

* Update SpellInfoCorrections.cpp

* .

* ja genau

* Update .gitignore

* .

* .

* .,

* .

* .

* .

* .

* Update Unit.cpp
2022-10-02 19:39:34 +02:00
IntelligentQuantum
afe48578d7
feat(Core/Scripts): Added Boundary in Obsidian sanctum (#12158)
* .

* Clion event trace

* Update .gitignore

* feat(Core/Scripts): Added Boundary in Obsidian sanctum

* .
2022-06-26 04:46:06 -03:00
IntelligentQuantum
07a6c17449
feat(Core/Scripts): Added Boundary in Forge of Souls (#11798) 2022-06-24 10:26:10 -04:00
Kargatum
51adbffae4
feat(Core/Modules): add separated lib for modules (#9281) 2021-12-02 20:28:58 +07:00
Yehonal
f6c6123d85
feat(docker): production images, integrated ccache and many other improvements (#5551) 2021-05-04 11:35:24 +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
Francesco Borzì
5244b8d7ad
chore: add ./apps/joiner/ to .gitignore (#3318)
* chore: add apps/joiner/ to .gitignore

* chore(wip): wip

* chore(wip): wip
2020-09-03 12:02:28 +02:00
Erdem MEYDANLI
9e5c3f78af
test: add code coverage report (#3312) 2020-08-18 16:34:45 +02:00
Francesco Borzì
c2b40b126d
feature(testing-automation): unit tests with Google Framework (#3273) 2020-08-15 22:34:45 +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
h0lysp4nk
f72788446f
fix(Docker): Persistent volumes for ac-database (#2947) 2020-05-24 12:35: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ì
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
Francesco Borzì
3e0866cfe1
Added Jetbrains to .gitignore & readme 2019-01-15 21:10:06 +01:00
Francesco Borzì
0e87deb416
Several improvements to Docker:
- ability to reload configuration files without building again the images
- faster images building
- corrected a mistake
- logs are saved to the main host
2019-01-13 02:38:04 +01:00
Francesco Borzì
7bff043a1b
AzerothCore complete Docker solution
Check https://github.com/azerothcore/azerothcore-wotlk/tree/master/docker for all details.
2019-01-12 21:48:33 +01:00
Barbz
51086f2dcd
Modules: Added create_module.sh script to kickstart module creation (#1071)
Helps people to create modules with the right base files.
2018-12-19 18:03:27 +01:00
Yehonal
8d2ff6b9b0
Update .gitignore 2018-01-28 13:42:51 +01:00
Yehonal
0fc4a6a153 Missing folder 2017-10-13 20:20:15 +02:00
Yehonal
bbc9a21e94 Bash: fixing scripts after directory rework 2017-10-13 14:37:37 +02:00
Yehonal
693dc56bf1 Moved uwd modules under drassil 2017-03-26 01:09:42 +01:00
Yehonal
070f15458b improved gitignore for modules 2016-11-18 11:15:57 +01:00
Yehonal
54bd100573 Project restructuring conforming to the new software layers [PART.1] 2016-08-22 12:47:57 +02:00
Yehonal
e1c87e7510 Some minor changes 2016-08-19 09:29:26 +02:00
Yehonal
ff6201921c created hw-core bash libraries
will be traited as a git subtree
2016-08-13 20:32:21 +02:00
Yehonal
0f85ce1c54 Big re-organization of repository [W.I.P] 2016-08-11 20:25:27 +02:00
Yehonal
47c2b72123 Merging 2016-08-07 12:47:10 +02:00
Yehonal
5b824569a9 [CORE] Rewritten ScriptMgr to be initialized before server load
Now ScriptMgr can be initialized before config allowing

to create scripts that can change the behaviour of

server before loading anything
2016-08-07 12:28:17 +02:00
Yehonal
648163a2e0 Fixed .gitignore to support modules inclusion 2016-08-07 12:24:00 +02:00
Yehonal
765fad6133 some fixes to bash config files 2016-08-07 12:10:51 +02:00
Yehonal
d1b8eea42f configuration system for cmake
- moved cmake options under conf
and created default/custom configuration system for cmake
2016-08-07 12:02:55 +02:00
ShinDarth
68e0035ad9 Added VS Code system file to the .gitignore 2016-07-24 16:59:46 +02:00
Yehonal
a816d11f74 ignoring bash compiler configuration 2016-07-10 17:12:50 +02:00
Yehonal
9e19774c45 ignoring IDE & other softwares specific files 2016-07-10 17:11:44 +02:00
mik1893
d8b67c27cc Add GitIgnore 2016-06-26 12:51:16 +01:00