1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

ci: Use Github Actions to run integration tests and push Docker images

We're running against the usage limits in Gitlab CI (500), and Github
Actions should have more (2000).

So this patch replaces Gitlab CI with Github actions for running
integration tests, and build and push Docker images (to Dockerhub and
Gitlab registry).

We'll see how the usage levels are in a few months.
This commit is contained in:
Alberto Bertogli
2022-11-13 11:33:56 +00:00
parent 948cee1ce1
commit 795f2a7ceb
5 changed files with 120 additions and 113 deletions

View File

@@ -93,16 +93,13 @@ constrained or non supported environments.
There are two sets of automated tests which are run on every commit to
upstream, and weekly:
* [GitLab CI](https://gitlab.com/albertito/chasquid/commits/master),
configured in the `.gitlab-ci.yml` file, runs the Go tests and the
integration tests (using [docker](#docker)).
The integration tests are run twice: once against the dependencies listed in
`go.mod`, and once against the latest version of the dependencies.
It also builds the [public Docker images](docker.md).
* [Github Actions](https://github.com/albertito/chasquid/actions),
configured in the `.github` directory, runs the Go tests, the integration
tests, checks for vulnerabilities, and finally
also builds the [public Docker images](docker.md).
* [Cirrus CI](https://gitlab.com/albertito/chasquid/pipelines),
configured in the `.cirrus.yml` file, runs Go tests on FreeBSD, and a
comprehensive linter.
* [Cirrus CI](https://cirrus-ci.com/github/albertito/chasquid),
configured in the `.cirrus.yml` file, runs Go tests on FreeBSD.
## Coverage