gopidesupavan commented on code in PR #50689: URL: https://github.com/apache/airflow/pull/50689#discussion_r2093564481
########## .github/workflows/publish-docs-to-s3.yml: ########## @@ -204,57 +197,33 @@ jobs: - name: "Cleanup repo" shell: bash run: docker run -v "${GITHUB_WORKSPACE}:/workspace" -u 0:0 bash -c "rm -rf /workspace/*" - - name: "Checkout ${{ github.ref }} " + # We are checking repo for both - breeze and docs from the "workflow' branch + # This will take longer as we need to rebuild CI image and it will not use cache + # but it will build the CI image from the version of Airflow that is used to check out things + - name: "Checkout ${{ inputs.ref }} " uses: actions/checkout@v4 with: persist-credentials: false - - name: "Checkout ${{ inputs.ref }}" - run: | - git clone https://github.com/apache/airflow.git "${AIRFLOW_ROOT_PATH}" - cd "${AIRFLOW_ROOT_PATH}" && git checkout ${REF} - env: - REF: ${{ inputs.ref }} - - name: "Prepare breeze & CI image: 3.9" - uses: ./.github/actions/prepare_breeze_and_image + - name: "Prepare and cleanup runner" + run: ./scripts/ci/prepare_and_cleanup_runner.sh + - name: "Install Breeze" + uses: ./.github/actions/breeze with: - platform: "linux/amd64" - python: 3.9 - use-uv: true + use-uv: ${{ inputs.use-uv }} - name: "Download docs prepared as artifacts" uses: actions/download-artifact@v4 with: name: airflow-docs - path: ${{ env.AIRFLOW_ROOT_PATH }}/generated/_build - - name: Check disk space available - run: df -H - # Here we will create temp airflow-site dir to publish - # docs and for back-references - - name: Create /mnt/airflow-site directory - run: | - sudo mkdir -p /mnt/airflow-site && sudo chown -R "${USER}" /mnt/airflow-site - echo "AIRFLOW_SITE_DIRECTORY=/mnt/airflow-site/" >> "$GITHUB_ENV" - - name: "Publish docs to tmp directory" - env: - INCLUDE_DOCS: ${{ needs.build-info.outputs.include-docs }} - run: > - breeze release-management publish-docs --override-versioned --run-in-parallel - ${INCLUDE_DOCS} + path: /mnt/airflow-site - name: Check disk space available run: df -H - - name: "Generate back references for providers" Review Comment: Back reference not required? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org