Commit Graph

15 Commits

Author SHA1 Message Date
Giacomo Pozzoni
8b1be7bbfc CI/CircleCI: Force ccache directory (#26625)
(cherry picked from commit 6c5b641dd4)
2022-03-11 13:31:18 +01:00
Giacomo Pozzoni
83ca66cd40 CI/CircleCI: Switch to Ubuntu 21.04 (#26476)
(cherry picked from commit 5991dcb12b)
2022-03-09 12:22:32 +01:00
Giacomo Pozzoni
72bb73b246 Push docker images to DockerHub (#26177)
* CI/CircleCI: Push docker images to DockerHub

Push docker image to DockerHub is DOCKERHUB_PUSH_IMAGES environmental variable is set to "TRUE".

* Build in Release only if pushing the images to dockerhub

* Move branch from repository name to tag name

* Update docker readme

Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com>
(cherry picked from commit 84ad438d15)
2022-03-06 23:59:14 +01:00
jackpoz
4b91670ed6 CI/CircleCI: Show at the end of the build ccache stats of current build
(cherry picked from commit 0dee695f3b)
2022-03-06 19:39:34 +01:00
Giacomo Pozzoni
c2068bd423 CI/CircleCI: Expose binaries built on Circle CI as docker images in the Circle CI artifacts (#25832)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 9af6bf15aa)
2022-03-06 00:24:04 +01:00
Giacomo Pozzoni
a7473f1a91 CI/CircleCI: Authenticate to DockerHub when pulling the docker image (#25581)
For more information see the following links:
- https://www.docker.com/blog/scaling-docker-to-serve-millions-more-developers-network-egress/
- https://docs.docker.com/docker-hub/download-rate-limit/
- https://circleci.com/docs/2.0/private-images/

Add DOCKERHUB_USERNAME and DOCKERHUB_PASSWORD secrets to CircleCI Environment Variables. DOCKERHUB_PASSWORD can be either the password or an access token.

(cherry picked from commit e3da1ed245)
2022-02-28 21:47:38 +01:00
Giacomo Pozzoni
7bb03fab51 CI/CircleCI: Attempt using cache from master in PRs
(cherry picked from commit 6ed1810abc)
2022-02-05 22:28:03 +01:00
Shauren
f39e61078f CI/CircleCI: Fix invalid merge conflict resolution 2022-01-24 16:47:44 +01:00
Giacomo Pozzoni
9c85aee239 CI/CircleCI: Move codestyle and sql checks to their own step (#25175)
(cherry picked from commit f35582f98a)
2022-01-24 15:02:17 +01:00
Carbenium
f837f28171 dep: Add catch2 unit test framework and wire it up
To enable the test suite, make sure to configure CMake with -DBUILD_TESTING=1 , since it is disabled by default. The catch2 dependency will be downloaded during configure time.

Also add a new target "tests-common", which includes unit tests for the "common" project. To finally run the tests use the "test" target.

CircleCI: Run unit tests
(cherry picked from commit 6a28ee7b2a)
2022-01-23 22:48:35 +01:00
jackpoz
79250cb0df CI/CircleCI: Switch to Ubuntu 20.04 and MySQL 8
(cherry picked from commit e3dfab52a6)
2022-01-02 21:29:32 +01:00
jackpoz
8878ba2dca CI/Circle CI: Enforce codestyle checks
(cherry picked from commit 32c9f1c7a2)
2021-12-31 21:56:38 +01:00
jackpoz
c9a97ea895 CI/CircleCI: Fix typo 2021-07-04 11:52:54 +02:00
jackpoz
91153e8b64 CI/CircleCI: Try to avoid timeout when checking sql updates 2021-07-04 11:48:23 +02:00
funjoker
6e324632bc CI/Circle CI: Prepare master for circle ci (#24386)
* Circle CI (#22982)

* Build/CI: Add Circle CI

* Fix travis

(cherry picked from commit cb6439bacd)

* CI/CircleCI: Add parallel no-pch build

(cherry picked from commit 33c58b4aaf)

* CI/CircleCI: Use ccache for nopch

(cherry picked from commit 6bcf5c64c4)

* CI/CircleCI: Change base docker image to custom-built trinitycore one

(cherry picked from commit 37beeb1282)

* CI/CircleCI: Switch to Ubuntu 18.10

(cherry picked from commit 6dfb4fde07)

* CI/CircleCI: Switch to Ubuntu 19.04

(cherry picked from commit 9009c82a8d)

* CI/Circle CI: Reduce ccache size from 5G to 1G

This should speedup Circle CI cache saving and in turn no-pch build

(cherry picked from commit 1b543ac16d)

* CI/Circle CI: Adjust config for master branch

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-04-04 14:58:56 +02:00