Skip to content

Commit

Permalink
Avoid auto-detection of Airflow Sources during breeze installation (a…
Browse files Browse the repository at this point in the history
…pache#36792)

In some circumstances, when breeze is installed in CI (when we
update to newer breeze version in "build-info" workflow in old
branches) breeze is not able to auto-detect sources it was installed
from.

This PR changes it by passing the sources via environment variable.
  • Loading branch information
potiuk authored Jan 15, 2024
1 parent c2fee42 commit e8080b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/breeze/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ runs:
- name: "Free space"
shell: bash
run: breeze ci free-space
env:
AIRFLOW_SOURCES_ROOT: "${{ github.workspace }}"
- name: "Get Python version"
shell: bash
run: >
Expand All @@ -54,3 +56,5 @@ runs:
- name: "Disable cheatsheet"
shell: bash
run: breeze setup config --no-cheatsheet --no-asciiart
env:
AIRFLOW_SOURCES_ROOT: "${{ github.workspace }}"
1 change: 1 addition & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ jobs:
PR_LABELS: "${{ steps.get-latest-pr-labels.outputs.pull-request-labels }}"
COMMIT_REF: "${{ env.TARGET_COMMIT_SHA }}"
VERBOSE: "false"
AIRFLOW_SOURCES_ROOT: "${{ github.workspace }}"
run: breeze ci selective-check 2>> ${GITHUB_OUTPUT}
- name: env
run: printenv
Expand Down

0 comments on commit e8080b8

Please sign in to comment.