From f1a86f271bee7d27b9cd32a2b977375c38daad76 Mon Sep 17 00:00:00 2001 From: jtsodapop <67922677+jtsodapop@users.noreply.github.com> Date: Tue, 7 Jun 2022 12:52:26 -0400 Subject: [PATCH] removal of cf pipeline code as it will need consistent maintenance and we do not need to keep this updated in the sdk --- e2e_tests_codefresh_pipeline.yaml | 71 ------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 e2e_tests_codefresh_pipeline.yaml diff --git a/e2e_tests_codefresh_pipeline.yaml b/e2e_tests_codefresh_pipeline.yaml deleted file mode 100644 index 027b6cc8c..000000000 --- a/e2e_tests_codefresh_pipeline.yaml +++ /dev/null @@ -1,71 +0,0 @@ -version: "1.0" -stages: - - "clone" - - "build" - - "e2e_test" -steps: - main_clone: - title: "Cloning repository" - type: "git-clone" - repo: "Labelbox/labelbox-python" - stage: "clone" - revision: "${{CF_BRANCH}}" - parallel_build: - type: "parallel" - stage: "build" - steps: - build_sdk_test: - description: "Building Docker image for sdk tests" - tag: "testing" - type: "build" - image_name: "sdk-tests" - disable_push: true - working_directory: "${{main_clone}}" - dockerfile: "Dockerfile" - e2e_test: - title: "Python SDK e2e tests" - description: "Running Python SDK e2e tests" - fail_fast: false - stage: "e2e_test" - image: "${{build_sdk_test}}" - working_directory: "IMAGE_WORK_DIR" - commands: - - pytest - send_slack_success_to_pages_active_learning: - title: "Alert on success to pages active learning" - type: slack-message-sender - arguments: - WEBHOOK_URL: "${{slack_webhook_url}}" - MESSAGE: "SDK Tests have succeeded-- ${{CF_BUILD_URL}}" - when: - condition: - all: - succeeded: e2e_test.result == 'success' - send_slack_failure_to_e2e: - title: "Alert on failure to e2e channel" - type: slack-message-sender - arguments: - WEBHOOK_URL: "${{slack_webhook_e2e}}" - MESSAGE: "SDK Tests have failed-- ${{CF_BUILD_URL}}" - when: - condition: - all: - failed: e2e_test.result == 'failure' - send_slack_failure_to_deploy_prod: - title: "Alert on failure to deployments prod channel" - type: slack-message-sender - arguments: - WEBHOOK_URL: "${{slack_webhook_deployments_prod}}" - MESSAGE: "SDK Tests have failed-- ${{CF_BUILD_URL}}" - when: - condition: - all: - failed: e2e_test.result == 'failure' - check_for_failures: - image: alpine - commands: - - exit 1 - when: - condition: - any: - myCondition: e2e_test.result == 'failure'