ClickHouse/ci/settings/definitions.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

234 lines
6.9 KiB
Python
Raw Normal View History

2024-09-28 05:46:19 +00:00
from praktika import Docker, Secret
S3_BUCKET_NAME = "clickhouse-builds"
S3_BUCKET_HTTP_ENDPOINT = "clickhouse-builds.s3.amazonaws.com"
class RunnerLabels:
CI_SERVICES = "ci_services"
CI_SERVICES_EBS = "ci_services_ebs"
2024-10-01 19:19:35 +00:00
BUILDER = "builder"
2024-09-28 05:46:19 +00:00
BASE_BRANCH = "master"
SECRETS = [
Secret.Config(
name="dockerhub_robot_password",
type=Secret.Type.AWS_SSM_VAR,
),
Secret.Config(
name="woolenwolf_gh_app.clickhouse-app-id",
type=Secret.Type.AWS_SSM_SECRET,
),
Secret.Config(
name="woolenwolf_gh_app.clickhouse-app-key",
type=Secret.Type.AWS_SSM_SECRET,
),
]
DOCKERS = [
# Docker.Config(
# name="clickhouse/binary-builder",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/packager/binary-builder",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=[],
# ),
# Docker.Config(
# name="clickhouse/cctools",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/packager/cctools",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=[],
# ),
# Docker.Config(
# name="clickhouse/test-old-centos",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/compatibility/centos",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=[],
# ),
# Docker.Config(
# name="clickhouse/test-old-ubuntu",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/compatibility/ubuntu",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=[],
# ),
# Docker.Config(
# name="clickhouse/test-util",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/util",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=[],
# ),
# Docker.Config(
# name="clickhouse/integration-test",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/integration/base",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/test-base"],
# ),
# Docker.Config(
# name="clickhouse/fuzzer",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/fuzzer",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/test-base"],
# ),
# Docker.Config(
# name="clickhouse/performance-comparison",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/performance-comparison",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=[],
# ),
2024-09-30 18:14:56 +00:00
Docker.Config(
name="clickhouse/fasttest",
2024-10-24 11:17:00 +00:00
path="./ci/docker/fasttest",
2024-09-30 18:14:56 +00:00
platforms=Docker.Platforms.arm_amd,
depends_on=[],
),
2024-09-28 05:46:19 +00:00
# Docker.Config(
# name="clickhouse/test-base",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/base",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/test-util"],
# ),
# Docker.Config(
# name="clickhouse/clickbench",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/clickbench",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/test-base"],
# ),
# Docker.Config(
# name="clickhouse/keeper-jepsen-test",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/keeper-jepsen",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/test-base"],
# ),
# Docker.Config(
# name="clickhouse/server-jepsen-test",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/server-jepsen",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/test-base"],
# ),
# Docker.Config(
# name="clickhouse/sqllogic-test",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/sqllogic",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/test-base"],
# ),
# Docker.Config(
# name="clickhouse/sqltest",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/sqltest",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/test-base"],
# ),
# Docker.Config(
# name="clickhouse/stateless-test",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/stateless",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/test-base"],
# ),
# Docker.Config(
# name="clickhouse/stateful-test",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/stateful",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/stateless-test"],
# ),
# Docker.Config(
# name="clickhouse/stress-test",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/stress",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/stateful-test"],
# ),
# Docker.Config(
# name="clickhouse/unit-test",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/unit",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/test-base"],
# ),
# Docker.Config(
# name="clickhouse/integration-tests-runner",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/test/integration/runner",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/test-base"],
# ),
Docker.Config(
name="clickhouse/style-test",
2024-10-24 11:17:00 +00:00
path="./ci/docker/style-test",
2024-09-28 05:46:19 +00:00
platforms=Docker.Platforms.arm_amd,
depends_on=[],
),
# Docker.Config(
# name="clickhouse/docs-builder",
2024-10-24 11:17:00 +00:00
# path="./ci/docker/docs/builder",
2024-09-30 18:14:56 +00:00
# platforms=Docker.Platforms.arm_amd,
2024-09-28 05:46:19 +00:00
# depends_on=["clickhouse/test-base"],
# ),
]
# TODO:
# "docker/test/integration/s3_proxy": {
# "name": "clickhouse/s3-proxy",
# "dependent": []
# },
# "docker/test/integration/resolver": {
# "name": "clickhouse/python-bottle",
# "dependent": []
# },
# "docker/test/integration/helper_container": {
# "name": "clickhouse/integration-helper",
# "dependent": []
# },
# "docker/test/integration/mysql_golang_client": {
# "name": "clickhouse/mysql-golang-client",
# "dependent": []
# },
# "docker/test/integration/dotnet_client": {
# "name": "clickhouse/dotnet-client",
# "dependent": []
# },
# "docker/test/integration/mysql_java_client": {
# "name": "clickhouse/mysql-java-client",
# "dependent": []
# },
# "docker/test/integration/mysql_js_client": {
# "name": "clickhouse/mysql-js-client",
# "dependent": []
# },
# "docker/test/integration/mysql_php_client": {
# "name": "clickhouse/mysql-php-client",
# "dependent": []
# },
# "docker/test/integration/postgresql_java_client": {
# "name": "clickhouse/postgresql-java-client",
# "dependent": []
# },
# "docker/test/integration/kerberos_kdc": {
# "only_amd64": true,
# "name": "clickhouse/kerberos-kdc",
# "dependent": []
# },
# "docker/test/integration/kerberized_hadoop": {
# "only_amd64": true,
# "name": "clickhouse/kerberized-hadoop",
# "dependent": []
# },
# "docker/test/sqlancer": {
# "name": "clickhouse/sqlancer-test",
# "dependent": []
# },
# "docker/test/install/deb": {
# "name": "clickhouse/install-deb-test",
# "dependent": []
# },
# "docker/test/install/rpm": {
# "name": "clickhouse/install-rpm-test",
# "dependent": []
# },
# "docker/test/integration/nginx_dav": {
# "name": "clickhouse/nginx-dav",
# "dependent": []
# }
class JobNames:
STYLE_CHECK = "Style Check"
2024-09-30 18:14:56 +00:00
FAST_TEST = "Fast test"
2024-10-24 11:17:00 +00:00
BUILD_AMD_DEBUG = "Build amd64 debug"