Skip to content

Commit b527395

Browse files
ci: move the pygoat test to gitlab and hatch and make it faster [backport 3.3] (#13019)
Backport 5b3a8f2 from #13002 to 3.3. ## Description - Moves from riot + CircleCI to hatch + gitlab. - Remove the docker stuff. - Faster: from 10-12 minutes to 5-7. ## Checklist - [X] PR author has checked that all the criteria below are met - The PR description includes an overview of the change - The PR description articulates the motivation for the change - The change includes tests OR the PR description describes a testing strategy - The PR description notes risks associated with the change, if any - Newly-added code is easy to change - The change follows the [library release note guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html) - The change includes or references documentation updates if necessary - Backport labels are set (if [applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)) ## Reviewer Checklist - [x] Reviewer has checked that all the criteria below are met - Title is accurate - All changes are related to the pull request's stated goal - Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes - Testing strategy adequately addresses listed risks - Newly-added code is easy to change - Release note makes sense to a user of the library - If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment - Backport labels are set in a manner that is consistent with the [release branch maintenance policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting) Co-authored-by: Juanjo Alvarez Martinez <[email protected]>
1 parent beaceb3 commit b527395

23 files changed

+168
-312
lines changed

.circleci/config.templ.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -382,16 +382,6 @@ jobs:
382382
paths:
383383
- "."
384384

385-
appsec_integrations_pygoat:
386-
<<: *machine_executor
387-
parallelism: 13
388-
steps:
389-
- run_test:
390-
pattern: 'appsec_integrations_pygoat'
391-
snapshot: true
392-
run_agent_checks: false
393-
docker_services: "pygoat"
394-
395385
requires_pre_check: &requires_pre_check
396386
requires:
397387
- pre_check

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ ddtrace/internal/datadog/profiling/crashtracker/crashtracker_exe*
1818
ddtrace/internal/_encoding.c
1919
ddtrace/internal/_rand.c
2020
ddtrace/internal/_tagset.c
21+
pygoat/*
2122
*.so
2223
*.dylib
2324
*.a

.riot/requirements/15efbfc.txt

Lines changed: 0 additions & 27 deletions
This file was deleted.

.riot/requirements/21acb0e.txt

Lines changed: 0 additions & 29 deletions
This file was deleted.

.riot/requirements/107c269.txt renamed to .riot/requirements/285d807.txt

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,26 @@
22
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --no-annotate .riot/requirements/107c269.in
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/285d807.in
66
#
7-
attrs==25.1.0
8-
bytecode==0.16.1
9-
certifi==2025.1.31
10-
charset-normalizer==3.4.1
11-
coverage[toml]==7.6.12
7+
attrs==25.3.0
8+
coverage[toml]==7.8.0
129
exceptiongroup==1.2.2
10+
gunicorn==23.0.0
1311
hypothesis==6.45.0
14-
idna==3.10
15-
iniconfig==2.0.0
16-
mock==5.1.0
12+
iniconfig==2.1.0
13+
mock==5.2.0
1714
opentracing==2.4.0
1815
packaging==24.2
1916
pluggy==1.5.0
20-
protobuf==5.29.3
21-
pytest==8.3.4
22-
pytest-cov==6.0.0
17+
protobuf==6.30.2
18+
py-cpuinfo==8.0.0
19+
pytest==8.3.5
20+
pytest-asyncio==0.21.1
21+
pytest-benchmark==5.1.0
22+
pytest-cov==6.1.0
2323
pytest-mock==3.14.0
24-
requests==2.32.3
24+
pytest-randomly==3.16.0
2525
sortedcontainers==2.4.0
2626
tomli==2.2.1
27-
typing-extensions==4.12.2
28-
urllib3==2.3.0
29-
xmltodict==0.14.2
27+
uwsgi==2.0.28

.riot/requirements/363e03d.txt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.9
3+
# by the following command:
4+
#
5+
# pip-compile --allow-unsafe --no-annotate .riot/requirements/363e03d.in
6+
#
7+
attrs==25.3.0
8+
coverage[toml]==7.8.0
9+
exceptiongroup==1.2.2
10+
gunicorn==23.0.0
11+
hypothesis==6.45.0
12+
importlib-metadata==8.6.1
13+
iniconfig==2.1.0
14+
mock==5.2.0
15+
opentracing==2.4.0
16+
packaging==24.2
17+
pluggy==1.5.0
18+
protobuf==6.30.2
19+
py-cpuinfo==8.0.0
20+
pytest==8.3.5
21+
pytest-asyncio==0.21.1
22+
pytest-benchmark==5.1.0
23+
pytest-cov==6.1.0
24+
pytest-mock==3.14.0
25+
pytest-randomly==3.16.0
26+
sortedcontainers==2.4.0
27+
tomli==2.2.1
28+
uwsgi==2.0.28
29+
zipp==3.21.0

.riot/requirements/401494c.txt

Lines changed: 0 additions & 27 deletions
This file was deleted.

.riot/requirements/42d803c.txt

Lines changed: 0 additions & 27 deletions
This file was deleted.

.riot/requirements/b0c2747.txt

Lines changed: 0 additions & 27 deletions
This file was deleted.

.riot/requirements/e768555.txt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.8
3+
# by the following command:
4+
#
5+
# pip-compile --no-annotate .riot/requirements/e768555.in
6+
#
7+
attrs==25.3.0
8+
coverage[toml]==7.6.1
9+
exceptiongroup==1.2.2
10+
gunicorn==23.0.0
11+
hypothesis==6.45.0
12+
importlib-metadata==8.5.0
13+
iniconfig==2.1.0
14+
mock==5.2.0
15+
opentracing==2.4.0
16+
packaging==24.2
17+
pluggy==1.5.0
18+
protobuf==5.29.4
19+
py-cpuinfo==8.0.0
20+
pytest==8.3.5
21+
pytest-asyncio==0.21.1
22+
pytest-benchmark==4.0.0
23+
pytest-cov==5.0.0
24+
pytest-mock==3.14.0
25+
pytest-randomly==3.15.0
26+
sortedcontainers==2.4.0
27+
tomli==2.2.1
28+
uwsgi==2.0.28
29+
zipp==3.20.2

0 commit comments

Comments
 (0)