Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: move flask suite to GitLab #10469

Merged
merged 15 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .circleci/config.templ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -668,17 +668,6 @@ jobs:
snapshot: true
docker_services: "redis"

flask:
<<: *machine_executor
parallelism: 10
steps:
- run_test:
# Run both flask and flask_cache test suites
# TODO: Re-enable coverage for Flask tests
snapshot: true
pattern: "flask"
docker_services: "memcached redis"

httplib:
<<: *machine_executor
steps:
Expand Down
5 changes: 4 additions & 1 deletion .gitlab/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
PORT: 9126
DD_POOL_TRACE_CHECK_FAILURES: true
DD_DISABLE_ERROR_RESPONSES: true
ENABLED_CHECKS: trace_content_length,trace_stall,meta_tracer_version_header,trace_count_header,trace_peer_service,trace_dd_service
ENABLED_CHECKS: trace_content_length,trace_stall,meta_tracer_version_header,trace_count_header,trace_peer_service,trace_dd_service
mongo:
name: registry.ddbuild.io/images/mirror/mongo:6.0.5
alias: mongo
Expand All @@ -48,6 +48,9 @@
alias: httpbin-local
variables:
PORT: 8001
memcached:
name: registry.ddbuild.io/images/mirror/library/memcached:1.5-alpine
alias: memcached
rediscluster:
name: registry.ddbuild.io/images/mirror/grokzen/redis-cluster:6.2.0
alias: rediscluster
Expand Down
12 changes: 12 additions & 0 deletions .gitlab/tests/contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ fastapi:
variables:
SUITE_NAME: "fastapi"

flask:
extends: .test_base_riot_snapshot
parallel: 14
services:
- !reference [.test_base_riot_snapshot, services]
- !reference [.services, memcached]
- !reference [.services, redis]
variables:
SUITE_NAME: "flask"
TEST_MEMCACHED_HOST: "memcached"
TEST_REDIS_HOST: "redis"

urllib3:
extends: .test_base_riot_snapshot
services:
Expand Down
Loading