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 pipeline step from PR pipeline #1310

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
54 changes: 0 additions & 54 deletions .github/workflows/pr_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,57 +91,3 @@ jobs:
workflow_interface_tests:
name: Workflow Interface Tests
uses: ./.github/workflows/experimental_workflow_tests.yml

pipeline_status:
name: Pipeline Status
runs-on: ubuntu-22.04
if: always()
needs: # Ensure to add any job added above to this list as well as the steps below
[
bandit_code_scan,
check_code_format,
docker_bench_security,
double_workspace_export,
gandlf_taskrunner,
fr_301_watermark_nb_run,
hadolint_security_scan,
private_key_infrastructure,
pytest_coverage,
straggler_handling,
task_runner,
taskrunner_eden_compression,
trivy_scan,
tr_docker_gramine_direct,
tr_docker_native,
wf_functional_e2e,
workflow_interface_101_mnist,
workflow_interface_tests,
]
steps:
- name: Fail job if any of the above jobs have failed
if: |
(needs.bandit_code_scan.result != 'success' && needs.bandit_code_scan.result != 'skipped') ||
(needs.check_code_format.result != 'success' && needs.check_code_format.result != 'skipped') ||
(needs.docker_bench_security.result != 'success' && needs.docker_bench_security.result != 'skipped') ||
(needs.double_workspace_export.result != 'success' && needs.double_workspace_export.result != 'skipped') ||
(needs.fr_301_watermark_nb_run.result != 'success' && needs.fr_301_watermark_nb_run.result != 'skipped') ||
(needs.gandlf_taskrunner.result != 'success' && needs.gandlf_taskrunner.result != 'skipped') ||
(needs.hadolint_security_scan.result != 'success' && needs.hadolint_security_scan.result != 'skipped') ||
(needs.private_key_infrastructure.result != 'success' && needs.private_key_infrastructure.result != 'skipped') ||
(needs.pytest_coverage.result != 'success' && needs.pytest_coverage.result != 'skipped') ||
(needs.straggler_handling.result != 'success' && needs.straggler_handling.result != 'skipped') ||
(needs.task_runner.result != 'success' && needs.task_runner.result != 'skipped') ||
(needs.taskrunner_eden_compression.result != 'success' && needs.taskrunner_eden_compression.result != 'skipped') ||
(needs.trivy_scan.result != 'success' && needs.trivy_scan.result != 'skipped') ||
(needs.tr_docker_gramine_direct.result != 'success' && needs.tr_docker_gramine_direct.result != 'skipped') ||
(needs.tr_docker_native.result != 'success' && needs.tr_docker_native.result != 'skipped') ||
(needs.wf_functional_e2e.result != 'success' && needs.wf_functional_e2e.result != 'skipped') ||
(needs.workflow_interface_101_mnist.result != 'success' && needs.workflow_interface_101_mnist.result != 'skipped') ||
(needs.workflow_interface_tests.result != 'success' && needs.workflow_interface_tests.result != 'skipped')
run: |
echo "One or more jobs failed. Exiting pipeline."
exit 1

- name: Print pipeline status
run: |
echo "All jobs passed. Pipeline completed successfully."
Loading