From 99ba23f7cce5c2dc4d8e61f01590ab0896ebdb85 Mon Sep 17 00:00:00 2001 From: Ivan Agapitov <115108988+ivanayx@users.noreply.github.com> Date: Wed, 13 Nov 2024 10:36:39 -0800 Subject: [PATCH] Deactivate GitHub Action that triggers LG tests in Airflow (#4461) Delete evalml_main_airflow_performance_tests.yaml --- ...evalml_main_airflow_performance_tests.yaml | 56 ------------------- 1 file changed, 56 deletions(-) delete mode 100644 .github/workflows/evalml_main_airflow_performance_tests.yaml diff --git a/.github/workflows/evalml_main_airflow_performance_tests.yaml b/.github/workflows/evalml_main_airflow_performance_tests.yaml deleted file mode 100644 index 0fcd92e4ee..0000000000 --- a/.github/workflows/evalml_main_airflow_performance_tests.yaml +++ /dev/null @@ -1,56 +0,0 @@ -name: Run looking glass performance tests via Airflow - -on: - push: - branches: - - main - -jobs: - performance_tests: - name: Run looking glass performance tests - runs-on: ubuntu-latest - strategy: - fail-fast: true - steps: - - name: Generate default ISO timestamp - run: | - echo "DEFAULT_TIMESTAMP=$(date +"%Y-%m-%dT%H:%M:%S.%3NZ")" >> $GITHUB_ENV - - name: Checkout evalml - uses: actions/checkout@v3 - with: - fetch-depth: 2 - - name: Get commit hashes - id: get_hashes - run: | - echo "CURRENT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - echo "Latest commit hash: ${{ env.CURRENT_HASH }}" - echo "PREVIOUS_HASH=$(git rev-parse --short HEAD~1)" >> $GITHUB_ENV - echo "Previous commit hash: ${{ env.PREVIOUS_HASH }}" - - name: Run default algorithm performance test - id: current_default - run: | - curl --location --request POST '${{ secrets.AIRFLOW_BASE_URL }}dags/evalml_automl_run_tests_generate_report/dagRuns' \ - -u '${{ secrets.AIRFLOW_USER }}:${{ secrets.AIRFLOW_PASS }}' \ - --header 'Content-Type: application/json' \ - --data-raw '{ - "conf": { - "description": "${{ env.CURRENT_HASH }}_default )", - "n_trials": 1, - "pytest_args": { - "automl-algo": "default", - "ensembling": false, - "max-batches": 0, - "max-iterations": 0, - "holdout-size": 0.5, - "pred-vs-actual": false - }, - "python_version": "3.9", - "scenarios_yaml": "release.yaml", - "evalml_branch_previous": "${{ env.PREVIOUS_HASH }}", - "evalml_branch_new": "${{ env.CURRENT_HASH }}", - "username": "${{ secrets.AIRFLOW_USER }}", - "author": "${{ github.event.head_commit.author.name }}" - }, - "logical_date": "${{ env.DEFAULT_TIMESTAMP }}", - "dag_run_id": "api_evalml_automl_run_tests_generate_report_default_${{ env.DEFAULT_TIMESTAMP }}" - }'