mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-22 11:41:38 +00:00
Clean up CircleCI leftovers (#801)
This commit is contained in:
parent
e239fb10f3
commit
3e2bb8bf2f
@ -23,11 +23,10 @@ run](scripts/build-test-lint.sh).
|
|||||||
## Continuous Integration
|
## Continuous Integration
|
||||||
|
|
||||||
When a Pull Request is submitted, continuous integration jobs are run
|
When a Pull Request is submitted, continuous integration jobs are run
|
||||||
automatically to ensure the code builds and is relatively well-written. Checks
|
automatically to ensure the code builds and is relatively well-written. The
|
||||||
are run on [Buildkite](https://buildkite.com/matrix-dot-org/dendrite/) and
|
jobs are run on [Buildkite](https://buildkite.com/matrix-dot-org/dendrite/),
|
||||||
[CircleCI](https://circleci.com/gh/matrix-org/dendrite/). The Buildkite
|
and the Buildkite pipeline configuration can be found in Matrix.org's
|
||||||
pipeline can be found in Matrix.org's [pipelines
|
[pipelines repository](https://github.com/matrix-org/pipelines).
|
||||||
repository](https://github.com/matrix-org/pipelines).
|
|
||||||
|
|
||||||
If a job fails, click the "details" button and you should be taken to the job's
|
If a job fails, click the "details" button and you should be taken to the job's
|
||||||
logs.
|
logs.
|
||||||
@ -44,16 +43,20 @@ To save waiting for CI to finish after every commit, it is ideal to run the
|
|||||||
checks locally before pushing, fixing errors first. This also saves other
|
checks locally before pushing, fixing errors first. This also saves other
|
||||||
people time as only so many PRs can be tested at a given time.
|
people time as only so many PRs can be tested at a given time.
|
||||||
|
|
||||||
To execute what Buildkite tests, simply run `./scripts/build-test-lint.sh`.
|
To execute what Buildkite tests, first run `./scripts/build-test-lint.sh`;
|
||||||
This script will build the code, lint it, and run `go test ./...` with race
|
this script will build the code, lint it, and run `go test ./...` with race
|
||||||
condition checking enabled. If something needs to be changed, fix it and then
|
condition checking enabled. If something needs to be changed, fix it and then
|
||||||
run the script again until it no longer complains. Be warned that the linting
|
run the script again until it no longer complains. Be warned that the linting
|
||||||
can take a significant amount of CPU and RAM.
|
can take a significant amount of CPU and RAM.
|
||||||
|
|
||||||
CircleCI simply runs [Sytest](https://github.com/matrix-org/sytest) with a test
|
Once the code builds, run [Sytest](https://github.com/matrix-org/sytest)
|
||||||
whitelist. See
|
according to the guide in
|
||||||
[docs/sytest.md](https://github.com/matrix-org/dendrite/blob/master/docs/sytest.md#using-a-sytest-docker-image)
|
[docs/sytest.md](https://github.com/matrix-org/dendrite/blob/master/docs/sytest.md#using-a-sytest-docker-image)
|
||||||
for instructions on setting it up to run locally.
|
so you can see whether something is being broken and whether there are newly
|
||||||
|
passing tests.
|
||||||
|
|
||||||
|
If these two steps report no problems, the code should be able to pass the CI
|
||||||
|
tests.
|
||||||
|
|
||||||
|
|
||||||
## Picking Things To Do
|
## Picking Things To Do
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Dendrite [![Build Status](https://badge.buildkite.com/4be40938ab19f2bbc4a6c6724517353ee3ec1422e279faf374.svg?branch=master)](https://buildkite.com/matrix-dot-org/dendrite) [![CircleCI](https://circleci.com/gh/matrix-org/dendrite.svg?style=svg)](https://circleci.com/gh/matrix-org/dendrite) [![Dendrite Dev on Matrix](https://img.shields.io/matrix/dendrite-dev:matrix.org.svg?label=%23dendrite-dev%3Amatrix.org&logo=matrix&server_fqdn=matrix.org)](https://matrix.to/#/#dendrite-dev:matrix.org) [![Dendrite on Matrix](https://img.shields.io/matrix/dendrite:matrix.org.svg?label=%23dendrite%3Amatrix.org&logo=matrix&server_fqdn=matrix.org)](https://matrix.to/#/#dendrite:matrix.org)
|
# Dendrite [![Build Status](https://badge.buildkite.com/4be40938ab19f2bbc4a6c6724517353ee3ec1422e279faf374.svg?branch=master)](https://buildkite.com/matrix-dot-org/dendrite) [![Dendrite Dev on Matrix](https://img.shields.io/matrix/dendrite-dev:matrix.org.svg?label=%23dendrite-dev%3Amatrix.org&logo=matrix&server_fqdn=matrix.org)](https://matrix.to/#/#dendrite-dev:matrix.org) [![Dendrite on Matrix](https://img.shields.io/matrix/dendrite:matrix.org.svg?label=%23dendrite%3Amatrix.org&logo=matrix&server_fqdn=matrix.org)](https://matrix.to/#/#dendrite:matrix.org)
|
||||||
|
|
||||||
Dendrite will be a matrix homeserver written in go.
|
Dendrite will be a matrix homeserver written in go.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user