diff --git a/.github/actions/create_workflow_report/action.yml b/.github/actions/create_workflow_report/action.yml index 5e0f517c35a0..7ede97fbaed1 100644 --- a/.github/actions/create_workflow_report/action.yml +++ b/.github/actions/create_workflow_report/action.yml @@ -1,9 +1,6 @@ name: Create and Upload Combined Report description: Create and upload a combined CI report inputs: - workflow_config: - description: "Workflow config" - required: true final: description: "Control whether the report is final or a preview" required: false @@ -11,14 +8,6 @@ inputs: runs: using: "composite" steps: - - name: Create workflow config - shell: bash - run: | - mkdir -p ./ci/tmp - cat > ./ci/tmp/workflow_status.json << 'EOF' - ${{ inputs.workflow_config }} - EOF - - name: Create and upload workflow report env: PR_NUMBER: ${{ github.event.pull_request.number || 0 }} @@ -30,7 +19,7 @@ runs: pip install clickhouse-driver==0.2.8 numpy==1.26.4 pandas==2.0.3 jinja2==3.1.5 CMD="python3 .github/actions/create_workflow_report/create_workflow_report.py" - ARGS="--actions-run-url $ACTIONS_RUN_URL --known-fails tests/broken_tests.yaml --cves --pr-number $PR_NUMBER" + ARGS="--actions-run-url $ACTIONS_RUN_URL --known-fails --cves --pr-number $PR_NUMBER" set +e -x if [[ "$FINAL" == "false" ]]; then diff --git a/.github/actions/create_workflow_report/ci_run_report.html.jinja b/.github/actions/create_workflow_report/ci_run_report.html.jinja index 92af0fab1cf0..48ae95cefba1 100644 --- a/.github/actions/create_workflow_report/ci_run_report.html.jinja +++ b/.github/actions/create_workflow_report/ci_run_report.html.jinja @@ -243,6 +243,9 @@ {%- if pr_number == 0 %}
See the PRs on GitHub
+ {%- endif %} {{ prs_in_release_html }}PR details are not loaded during preview.
" if mark_preview or pr_number != 0 - else format_results_as_html_table(results_dfs["prs_in_release"]) + else format_results_as_html_table( + results_dfs["prs_in_release"], + branch_name=branch_name, + ) ), "ci_jobs_status_html": format_results_as_html_table( results_dfs["job_statuses"] diff --git a/.github/actions/create_workflow_report/workflow_report_hook.sh b/.github/actions/create_workflow_report/workflow_report_hook.sh index 04a09a9ee3ca..06edf8867fb8 100755 --- a/.github/actions/create_workflow_report/workflow_report_hook.sh +++ b/.github/actions/create_workflow_report/workflow_report_hook.sh @@ -1,7 +1,7 @@ #!/bin/bash # This script is for generating preview reports when invoked as a post-hook from a praktika job pip install clickhouse-driver==0.2.8 numpy==1.26.4 pandas==2.0.3 jinja2==3.1.5 -ARGS="--mark-preview --known-fails tests/broken_tests.yaml --cves --actions-run-url $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID --pr-number $PR_NUMBER" +ARGS="--mark-preview --known-fails --cves --actions-run-url $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID --pr-number $PR_NUMBER" CMD="python3 .github/actions/create_workflow_report/create_workflow_report.py" $CMD $ARGS diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index f42c1cf56e74..3955c93f8096 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -6335,5 +6335,4 @@ jobs: if: ${{ !cancelled() }} uses: ./.github/actions/create_workflow_report with: - workflow_config: ${{ toJson(needs) }} final: true diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index f130e38a4cad..a1ad9b881c06 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -5807,5 +5807,4 @@ jobs: if: ${{ !cancelled() }} uses: ./.github/actions/create_workflow_report with: - workflow_config: ${{ toJson(needs) }} final: true diff --git a/.github/workflows/release_builds.yml b/.github/workflows/release_builds.yml index 2722350cf997..d5638ba27e93 100644 --- a/.github/workflows/release_builds.yml +++ b/.github/workflows/release_builds.yml @@ -1347,5 +1347,4 @@ jobs: if: ${{ !cancelled() }} uses: ./.github/actions/create_workflow_report with: - workflow_config: ${{ toJson(needs) }} final: true diff --git a/ci/praktika/yaml_additional_templates.py b/ci/praktika/yaml_additional_templates.py index 200e75495dea..774b7a5f6aa2 100644 --- a/ci/praktika/yaml_additional_templates.py +++ b/ci/praktika/yaml_additional_templates.py @@ -101,7 +101,6 @@ class AltinityWorkflowTemplates: if: ${{ !cancelled() }} uses: ./.github/actions/create_workflow_report with: - workflow_config: ${{ toJson(needs) }} final: true """, }