Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Bug 1873897 - remove testing values
Browse files Browse the repository at this point in the history
  • Loading branch information
jjSDET authored and mergify[bot] committed Feb 6, 2024
1 parent a98f3f8 commit d5fa393
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
22 changes: 8 additions & 14 deletions taskcluster/ci/release-notify-testrail/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,11 @@ task-defaults:

tasks:
create-milestone-focus:
# disable for testing
# dependencies:
# ui-test-apk: ui-test-apk-focus-arm-beta
dependencies:
ui-test-apk: ui-test-apk-focus-arm-beta
description: Create Testrail Milestone for Focus
# run-on-tasks-for: [github-push]
# run-on-git-branches: [releases_v]
run-on-tasks-for: [github-pull-request] # use this for testing
run-on-git-branches: [mte-2053]
run-on-tasks-for: [github-push]
run-on-git-branches: [releases_v]
run:
pre-commands:
# get-secrets is called from '..' directory so we need to cd into any directory to make it work
Expand All @@ -54,14 +51,11 @@ tasks:
TESTRAIL_TEST_SUITE_ID: '49386' # Test Automation Release Milestone - Focus

create-milestone-fenix:
# disable for testing
# dependencies:
# ui-test-apk: ui-test-apk-fenix-arm-beta
dependencies:
ui-test-apk: ui-test-apk-fenix-arm-beta
description: Create Testrail Milestone for Fenix
# run-on-tasks-for: [github-push]
# run-on-git-branches: [releases_v]
run-on-tasks-for: [github-pull-request] # use this for testing
run-on-git-branches: [mte-2053]
run-on-tasks-for: [github-push]
run-on-git-branches: [releases_v]
run:
pre-commands:
# get-secrets is called from '..' directory so we need to cd into any directory to make it work
Expand Down
7 changes: 2 additions & 5 deletions taskcluster/scripts/testrail_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ def main():
raise ValueError(f"ERROR: Missing Environment Variable: {e}")

# Release information
# release_version = get_release_version() # disable for testing
release_version = "125.0b6"
release_version = get_release_version()
release_type = get_release_type(release_version)

# Build milestone information
Expand Down Expand Up @@ -89,9 +88,7 @@ def main():
"TESTRAIL_PROJECT_ID": testrail_project_id,
"TESTRAIL_PRODUCT_TYPE": testrail_product_type,
}
# disable for testing
# send_success_notification(success_values, SUCCESS_CHANNEL_ID, options)
send_success_notification(success_values, ERROR_CHANNEL_ID, options)
send_success_notification(success_values, SUCCESS_CHANNEL_ID, options)

except Exception as error_message:
send_error_notification(str(error_message), ERROR_CHANNEL_ID, options)
Expand Down

0 comments on commit d5fa393

Please sign in to comment.