mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
CI: Update Circle CI for wotlk_classic
This commit is contained in:
@@ -2,7 +2,7 @@ version: 2
|
||||
jobs:
|
||||
codestyle_and_sql:
|
||||
docker:
|
||||
- image: trinitycore/circle-ci:master-base-22.04
|
||||
- image: trinitycore/circle-ci:wotlk_classic-base-22.04
|
||||
auth:
|
||||
username: $DOCKERHUB_USERNAME
|
||||
password: $DOCKERHUB_PASSWORD
|
||||
@@ -31,20 +31,20 @@ jobs:
|
||||
dockerize -wait tcp://127.0.0.1:3306 -timeout 120s
|
||||
mysql -h 127.0.0.1 -uroot < sql/create/create_mysql.sql
|
||||
mysql -h 127.0.0.1 -uroot auth < sql/base/auth_database.sql
|
||||
./contrib/check_updates.sh auth master auth 127.0.0.1
|
||||
./contrib/check_updates.sh auth wotlk_classic auth 127.0.0.1
|
||||
mysql -h 127.0.0.1 -uroot characters < sql/base/characters_database.sql
|
||||
./contrib/check_updates.sh characters master characters 127.0.0.1
|
||||
./contrib/check_updates.sh characters wotlk_classic characters 127.0.0.1
|
||||
echo "Importing world database structure"
|
||||
mysql -h 127.0.0.1 -uroot world < sql/base/dev/world_database.sql
|
||||
echo "Importing hotfixes database structure"
|
||||
mysql -h 127.0.0.1 -uroot hotfixes < sql/base/dev/hotfixes_database.sql
|
||||
echo "Importing world database updates"
|
||||
cat sql/updates/world/master/*.sql | mysql -h 127.0.0.1 -uroot world
|
||||
cat sql/updates/world/wotlk_classic/*.sql | mysql -h 127.0.0.1 -uroot world
|
||||
echo "Importing hotfixes database updates"
|
||||
cat sql/updates/hotfixes/master/*.sql | mysql -h 127.0.0.1 -uroot hotfixes
|
||||
cat sql/updates/hotfixes/wotlk_classic/*.sql | mysql -h 127.0.0.1 -uroot hotfixes
|
||||
pch:
|
||||
docker:
|
||||
- image: trinitycore/circle-ci:master-base-22.04
|
||||
- image: trinitycore/circle-ci:wotlk_classic-base-22.04
|
||||
auth:
|
||||
username: $DOCKERHUB_USERNAME
|
||||
password: $DOCKERHUB_PASSWORD
|
||||
@@ -103,7 +103,7 @@ jobs:
|
||||
path: docker.tar.gz
|
||||
nopch:
|
||||
docker:
|
||||
- image: trinitycore/circle-ci:master-base-22.04
|
||||
- image: trinitycore/circle-ci:wotlk_classic-base-22.04
|
||||
auth:
|
||||
username: $DOCKERHUB_USERNAME
|
||||
password: $DOCKERHUB_PASSWORD
|
||||
@@ -119,9 +119,9 @@ jobs:
|
||||
/scripts/checkout.sh
|
||||
- restore_cache:
|
||||
keys:
|
||||
- master-nopch-{{ .Branch }}-{{ .Revision }}
|
||||
- master-nopch-{{ .Branch }}
|
||||
- master-nopch-master
|
||||
- wotlk_classic-nopch-{{ .Branch }}-{{ .Revision }}
|
||||
- wotlk_classic-nopch-{{ .Branch }}
|
||||
- wotlk_classic-nopch-wotlk_classic
|
||||
- run:
|
||||
name: Setup
|
||||
command: |
|
||||
|
||||
Reference in New Issue
Block a user