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
31 lines
2.2 KiB
Bash
Executable File
31 lines
2.2 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
# Download cover profiles from all the test containers.
|
|
buildkite-agent artifact download ".coverage/unit_coverprofile.out" . --step ":golang: unit test" --build "${BUILDKITE_BUILD_ID}"
|
|
|
|
# ES8.
|
|
buildkite-agent artifact download ".coverage/integ_cassandra_coverprofile.out" . --step ":golang: integration test with cassandra (ES8)" --build "${BUILDKITE_BUILD_ID}"
|
|
mv ./.coverage/integ_cassandra_coverprofile.out ./.coverage/integ_cassandra_es8_coverprofile.out
|
|
|
|
# Cassandra.
|
|
buildkite-agent artifact download ".coverage/integ_cassandra_coverprofile.out" . --step ":golang: integration test with cassandra" --build "${BUILDKITE_BUILD_ID}"
|
|
buildkite-agent artifact download ".coverage/integ_xdc_cassandra_coverprofile.out" . --step ":golang: integration xdc test with cassandra" --build "${BUILDKITE_BUILD_ID}"
|
|
buildkite-agent artifact download ".coverage/integ_ndc_cassandra_coverprofile.out" . --step ":golang: integration ndc test with cassandra" --build "${BUILDKITE_BUILD_ID}"
|
|
|
|
# MySQL.
|
|
buildkite-agent artifact download ".coverage/integ_mysql_coverprofile.out" . --step ":golang: integration test with mysql" --build "${BUILDKITE_BUILD_ID}"
|
|
buildkite-agent artifact download ".coverage/integ_xdc_mysql_coverprofile.out" . --step ":golang: integration xdc test with mysql" --build "${BUILDKITE_BUILD_ID}"
|
|
buildkite-agent artifact download ".coverage/integ_ndc_mysql_coverprofile.out" . --step ":golang: integration ndc test with mysql" --build "${BUILDKITE_BUILD_ID}"
|
|
|
|
# PostgreSQL.
|
|
buildkite-agent artifact download ".coverage/integ_postgres_coverprofile.out" . --step ":golang: integration test with postgresql" --build "${BUILDKITE_BUILD_ID}"
|
|
buildkite-agent artifact download ".coverage/integ_xdc_postgres_coverprofile.out" . --step ":golang: integration xdc test with postgresql" --build "${BUILDKITE_BUILD_ID}"
|
|
buildkite-agent artifact download ".coverage/integ_ndc_postgres_coverprofile.out" . --step ":golang: integration ndc test with postgresql" --build "${BUILDKITE_BUILD_ID}"
|
|
|
|
# SQLite.
|
|
buildkite-agent artifact download ".coverage/integ_sqlite_coverprofile.out" . --step ":golang: integration test with sqlite" --build "${BUILDKITE_BUILD_ID}"
|
|
|
|
make ci-coverage-report
|