mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
feat(CI): add docker to travis build (#2347)
This commit is contained in:
committed by
Stoabrogga
parent
003e8fa459
commit
4e7e98b542
@@ -11,6 +11,7 @@ addons:
|
||||
|
||||
services:
|
||||
- mysql
|
||||
- docker
|
||||
|
||||
git:
|
||||
depth: 10
|
||||
@@ -73,3 +74,11 @@ jobs:
|
||||
- source ./apps/ci/ci-install-modules.sh
|
||||
script:
|
||||
- source ./apps/ci/ci-compile.sh
|
||||
|
||||
- stage: run
|
||||
env: TRAVIS_BUILD_ID="3"
|
||||
script:
|
||||
- ./apps/ci/docker/ci-docker-config.sh
|
||||
- ./bin/acore-docker-generate-etc
|
||||
- ./bin/acore-docker-build-no-scripts
|
||||
- docker-compose up -d ac-database
|
||||
|
||||
11
apps/ci/docker/.env.dist
Normal file
11
apps/ci/docker/.env.dist
Normal file
@@ -0,0 +1,11 @@
|
||||
WORLDSERVER_DATA=./docker/worldserver/data
|
||||
WORLDSERVER_ETC=./docker/worldserver/etc
|
||||
WORLDSERVER_LOGS=./docker/worldserver/logs
|
||||
|
||||
AUTHSERVER_ETC=./docker/authserver/etc
|
||||
AUTHSERVER_LOGS=./docker/authserver/logs
|
||||
|
||||
WORLD_EXTERNAL_PORT=8085
|
||||
AUTH_EXTERNAL_PORT=3724
|
||||
DB_EXTERNAL_PORT=9000
|
||||
DB_ROOT_PASSWORD=password
|
||||
3
apps/ci/docker/ci-docker-config.sh
Executable file
3
apps/ci/docker/ci-docker-config.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
cp apps/ci/docker/.env.dist .env
|
||||
Reference in New Issue
Block a user