Skip to content
Open
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
5 changes: 4 additions & 1 deletion .gitlab/templates/build-base-venvs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ build_base_venvs:
artifacts:
name: venv_$PYTHON_VERSION
when: always
paths: !reference [.riot_job_artifacts, artifacts, paths]
paths:
- core.*
- ddtrace/**/*.so*
- .riot/venv_*
13 changes: 0 additions & 13 deletions .gitlab/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ include:
- local: ".gitlab/services.yml"
- local: ".gitlab/testrunner.yml"

.riot_job_artifacts:
artifacts:
when: always
paths:
- core.*
- .riot/venv_*
- ddtrace/**/*.so*

# Do not define a `needs:` in order to depend on the whole `precheck` stage
.test_base_riot:
Expand All @@ -28,12 +21,6 @@ include:
parallel: 4
services:
- !reference [.services, ddagent]
artifacts:
when: always
paths: !reference [.riot_job_artifacts, artifacts, paths]
reports:
junit: test-results/junit*.xml
expire_in: 1 week
# DEV: This is the max retries that GitLab currently allows for
before_script:
- !reference [.testrunner, before_script]
Expand Down
11 changes: 0 additions & 11 deletions scripts/gen_gitlab_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class JobSpec:
only: t.Optional[set[str]] = None # ignored
gpu: bool = False
type: str = "test" # ignored
skip_venv_artifacts: bool = False
skip_pip_cache: bool = False

python_versions: t.Optional[set[str]] = None
Expand Down Expand Up @@ -155,16 +154,6 @@ def __str__(self) -> str:
if self.allow_failure:
lines.append(" allow_failure: true")

if self.skip_venv_artifacts:
lines.append(" artifacts:")
lines.append(" when: always")
lines.append(" paths:")
lines.append(" - core.*")
lines.append(" - ddtrace/**/*.so*")
lines.append(" reports:")
lines.append(" junit: test-results/junit*.xml")
lines.append(" expire_in: 1 week")

return "\n".join(lines)


Expand Down
1 change: 0 additions & 1 deletion tests/contrib/suitespec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,6 @@ suites:
snapshot: true
pytorch:
venvs_per_job: 1
skip_venv_artifacts: true
skip_pip_cache: true
paths:
- '@bootstrap'
Expand Down
Loading