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

Remove TERCC variable check for v1alpha+ ETOS #78

Merged
merged 1 commit into from
Dec 4, 2024
Merged
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 projects/etos_suite_runner/src/etos_suite_runner/esr.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,10 @@ def run_suites(self, triggered: EiffelActivityTriggeredEvent):
def verify_input() -> None:
"""Verify that the data input to ESR are correct."""
assert os.getenv("SOURCE_HOST"), "SOURCE_HOST environment variable not provided."
assert os.getenv("TERCC"), "TERCC environment variable not provided."

if os.getenv("TESTRUN") is None:
# TERCC variable is set only in v0 ETOS, TESTRUN in v1 and onwards.
assert os.getenv("TERCC"), "TERCC environment variable not provided."

def _send_tercc(self, testrun_id: str, iut_id: str) -> None:
"""Send tercc will publish the TERCC event for this testrun."""
Expand Down
Loading