Skip to content

Commit 6e93a2d

Browse files
authored
fix tc task (env vars must be str) (#922)
1 parent 664e6f4 commit 6e93a2d

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

choose_ci_set.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -172,22 +172,6 @@ def convert_manifest_to_list(manifest_loc):
172172

173173
if __name__ == "__main__":
174174
print("Selecting test set...")
175-
if os.path.exists(".env"):
176-
with open(".env") as fh:
177-
contents = fh.read()
178-
if "TESTRAIL_REPORT='true'" in contents:
179-
os.environ["TESTRAIL_REPORT"] = "true"
180-
if "RUN_ALL='true'" in contents:
181-
os.environ["MANUAL"] = "true"
182-
183-
if os.environ.get("TESTRAIL_REPORT"):
184-
# Run all tests if this is a scheduled run
185-
run_list = convert_manifest_to_list("manifests/smoke.yaml")
186-
run_list = dedupe(run_list)
187-
with open(OUTPUT_FILE, "w") as fh:
188-
fh.write("\n".join(run_list))
189-
sys.exit(0)
190-
191175
if os.environ.get("STARFOX_MANIFEST"):
192176
run_list = convert_manifest_to_list(os.environ["STARFOX_MANIFEST"])
193177
run_list = dedupe(run_list)

taskcluster/kinds/new-beta-func/kind.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ task-defaults:
1616
env:
1717
TESTRAIL_REPORT: "true"
1818
STARFOX_MANIFEST: "./manifests/functional.yaml"
19-
TESTRAIL_FUNCTIONAL_SPLIT: 1
19+
TESTRAIL_FUNCTIONAL_SPLIT: "1"
2020
routes:
2121
- notify.slack-channel.C07AHPJ525V.on-resolved
2222
scopes:

0 commit comments

Comments
 (0)