Skip to content
Open
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
39 changes: 0 additions & 39 deletions .circleci/real_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -647,9 +647,6 @@ commands:
echo Pytest exited with $pytest_status
exit $pytest_status

- upload-test-job:
only_on_branch: main
test_results_path: <<parameters.junit-path>>
- when:
condition: <<parameters.collect-det-job-logs>>
steps:
Expand Down Expand Up @@ -1279,42 +1276,6 @@ commands:
steps:
- run: python .circleci/scripts/wait_for_master.py <<parameters.scheme>>://<<parameters.host>>:<<parameters.port>>

upload-test-job:
parameters:
only_on_branch:
type: string
default: ""
test_results_path:
type: string
default: ""
steps:
- when:
condition:
equal: [<<parameters.only_on_branch>>, << pipeline.git.branch >>]
steps:
- run:
name: Test run success -> uploading results to Determined CI
command: |
python .circleci/scripts/upload_test_results.py \
'success' \
${CIRCLE_NODE_INDEX} \
<<parameters.test_results_path>> \
${CIRCLE_BUILD_NUM} \
${DET_CI_ACCESS_KEY} \
${DET_CI_URL}
when: on_success
- run:
name: Test run failed -> uploading results to Determined CI
command: |
python .circleci/scripts/upload_test_results.py \
'failed' \
${CIRCLE_NODE_INDEX} \
<<parameters.test_results_path>> \
${CIRCLE_BUILD_NUM} \
${DET_CI_ACCESS_KEY} \
${DET_CI_URL}
when: on_fail

locate-cloudwatch-logs:
parameters:
cluster-id:
Expand Down
Loading