mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
* Remove support for ES6 * Remove ES6 index templates and remove ES6 support from scripts
209 lines
5.2 KiB
YAML
209 lines
5.2 KiB
YAML
steps:
|
|
- label: ":golang: build"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make ci-build"
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: build
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|
|
- wait
|
|
|
|
- label: ":golang: unit test"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make unit-test-coverage"
|
|
artifact_paths:
|
|
- ".coverage/*.out"
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: unit-test
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|
|
- label: ":golang: integration test with cassandra"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make integration-test-coverage"
|
|
artifact_paths:
|
|
- ".coverage/*.out"
|
|
retry:
|
|
automatic:
|
|
limit: 1
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: integration-test-cassandra
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|
|
- label: ":golang: integration test with cassandra (ES8)"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make integration-test-coverage"
|
|
artifact_paths:
|
|
- ".coverage/*.out"
|
|
retry:
|
|
automatic:
|
|
limit: 1
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: integration-test-cassandra
|
|
config: ./develop/buildkite/docker-compose-es8.yml
|
|
|
|
- label: ":golang: integration xdc test with cassandra"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make integration-test-xdc-coverage"
|
|
artifact_paths:
|
|
- ".coverage/*.out"
|
|
retry:
|
|
automatic:
|
|
limit: 1
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: integration-test-xdc-cassandra
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|
|
- label: ":golang: integration ndc test with cassandra"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make integration-test-ndc-coverage"
|
|
artifact_paths:
|
|
- ".coverage/*.out"
|
|
retry:
|
|
automatic:
|
|
limit: 1
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: integration-test-xdc-cassandra
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|
|
- label: ":golang: integration test with mysql"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make integration-test-coverage"
|
|
artifact_paths:
|
|
- ".coverage/*.out"
|
|
retry:
|
|
automatic:
|
|
limit: 1
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: integration-test-mysql
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|
|
- label: ":golang: integration xdc test with mysql"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make integration-test-xdc-coverage"
|
|
artifact_paths:
|
|
- ".coverage/*.out"
|
|
retry:
|
|
automatic:
|
|
limit: 1
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: integration-test-xdc-mysql
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|
|
- label: ":golang: integration ndc test with mysql"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make integration-test-ndc-coverage"
|
|
artifact_paths:
|
|
- ".coverage/*.out"
|
|
retry:
|
|
automatic:
|
|
limit: 1
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: integration-test-xdc-mysql
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|
|
- label: ":golang: integration test with postgresql"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make integration-test-coverage"
|
|
artifact_paths:
|
|
- ".coverage/*.out"
|
|
retry:
|
|
automatic:
|
|
limit: 1
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: integration-test-postgresql
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|
|
- label: ":golang: integration xdc test with postgresql"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make integration-test-xdc-coverage"
|
|
artifact_paths:
|
|
- ".coverage/*.out"
|
|
retry:
|
|
automatic:
|
|
limit: 1
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: integration-test-xdc-postgresql
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|
|
- label: ":golang: integration ndc test with postgresql"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make integration-test-ndc-coverage"
|
|
artifact_paths:
|
|
- ".coverage/*.out"
|
|
retry:
|
|
automatic:
|
|
limit: 1
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: integration-test-xdc-postgresql
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|
|
- label: ":golang: integration test with sqlite"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "make integration-test-coverage"
|
|
artifact_paths:
|
|
- ".coverage/*.out"
|
|
retry:
|
|
automatic:
|
|
limit: 1
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: integration-test-sqlite
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|
|
- wait
|
|
|
|
- label: ":coverage: coverage-report"
|
|
agents:
|
|
queue: "default"
|
|
docker: "*"
|
|
command: "./develop/buildkite/scripts/coverage-report.sh"
|
|
artifact_paths:
|
|
- ".coverage/summary.out"
|
|
- ".coverage/summary.out.html"
|
|
retry:
|
|
automatic:
|
|
limit: 2
|
|
plugins:
|
|
- docker-compose#v3.8.0:
|
|
run: coverage-report
|
|
config: ./develop/buildkite/docker-compose.yml
|
|
|