Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase #1

Merged
merged 166 commits into from
Jun 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
29afd35
Enable clicking on DAG owner in autocomplete dropdown (#23804)
norm May 24, 2022
cac7ab5
Document LocalKubernetesExecutor support in chart (#23876)
jedcunningham May 24, 2022
90940b5
Avoid extra questions in `breeze build image` command. (#23898)
potiuk May 24, 2022
e08b59d
Update INTHEWILD.md (#23892)
May 24, 2022
1bf6dde
Split contributor's quick start into separate guides. (#23762)
potiuk May 24, 2022
d788f4b
Avoid printing exception when exiting tests command (#23897)
potiuk May 24, 2022
47fc253
Move string arg evals to `execute()` in `EksCreateClusterOperator` (#…
josh-fell May 25, 2022
5258836
Update .readthedocs.yml (#23903)
May 25, 2022
1d53bec
Make --file command in static-checks autocomplete file name (#23896)
potiuk May 25, 2022
3aec3aa
Chart: Update default airflow version to `2.3.1` (#23913)
ephraimbuddy May 25, 2022
2e95153
Fix Breeze documentation typo (#23919)
igorborgest May 25, 2022
d55df99
Update environments documentation links (#23920)
igorborgest May 25, 2022
423b905
`2.3.1` has been released (#23912)
ephraimbuddy May 25, 2022
30262b1
Make CI and PROD image builds consistent (#23841)
jedcunningham May 26, 2022
ef3f530
Alphabetizes two tables (#23923)
mfjackson May 26, 2022
6bbe015
Use "remote" pod when patching KPO pod as "checked" (#23676)
dstandish May 26, 2022
bfe51ea
Clarify manual merging of PR in release doc (#23928)
ephraimbuddy May 26, 2022
86d40a9
Fix broken main (#23940)
eladkal May 26, 2022
f7c4804
Update INSTALL_PROVIDERS_FROM_SOURCES instructions. (#23938)
igorborgest May 26, 2022
3393647
Add typing to Azure Cosmos Client Hook (#23941)
potiuk May 26, 2022
db890df
Remove redundant register exit signals in `dag-processor` command (#2…
Taragolis May 26, 2022
1748876
Disable rebase workflow (#23943)
potiuk May 26, 2022
9314a4a
Prevent UI from crashing if grid task instances are null (#23939)
bbovenzi May 26, 2022
5ab58d0
Grid fix details button truncated and small UI tweaks (#23934)
pierrejeambrun May 26, 2022
1cf483f
Fix and speed up grid view (#23947)
jedcunningham May 26, 2022
b170dc7
Removes duplicate code block (#23952)
mfjackson May 27, 2022
80c3fcd
Update dep for databricks #23917 (#23927)
May 27, 2022
188ec4a
Use '--subdir' argument value for standalong dag processor. (#23864)
mhenc May 27, 2022
45b5cf0
Revert "Add limit for JPype1 (#23847)" (#23953)
potiuk May 27, 2022
c9b21b8
Faster grid view (#23951)
jedcunningham May 27, 2022
9214018
Disallow calling expand with no arguments (#23463)
uranusjr May 27, 2022
e240132
[FEATURE] KPO use K8S hook (#22086)
raphaelauv May 27, 2022
8ccff92
Add cascade to `dag_tag` to `dag` foreignkey (#23444)
ephraimbuddy May 27, 2022
9216489
DagFileProcessorManager: Start a new process group only if current pr…
Taragolis May 27, 2022
92ddcf4
Introduce `flake8-implicit-str-concat` plugin to static checks (#23873)
josh-fell May 27, 2022
b7c3c96
Fix UnboundLocalError when sql is empty list in ExasolHook (#23812)
kazanzhy May 27, 2022
8e7b76d
Fix inverted section levels in best-practices.rst (#23968)
sekikn May 27, 2022
6962d8a
Add support to specify language name in PapermillOperator (#23916)
nhojjohn May 27, 2022
d470a8e
[23945] Icons in grid view for different dag types (#23970)
dskoda1 May 27, 2022
af23a01
Helm logo no longer a link (#23977)
jedcunningham May 28, 2022
33eef7b
Fix links in documentation (#23975)
edithturn May 28, 2022
73446f2
Add TaskInstance State 'REMOVED' to finished states and success state…
ephraimbuddy May 28, 2022
97b443a
Remove `xcom_push` from `DockerOperator` (#23981)
eladkal May 28, 2022
fc17fbf
Fix missing shorthand for docker buildx rm -f (#23984)
potiuk May 28, 2022
4936764
use explicit --mount with types of mounts rather than --volume flags …
potiuk May 28, 2022
230a737
Force colors in yarn test output in CI (#23986)
potiuk May 28, 2022
148013b
Fix breeze failures when there is no buildx installed on Mac (#23988)
potiuk May 28, 2022
882535a
Replace generation of docker volumes to be done from python (#23985)
potiuk May 28, 2022
614b232
Replace `use_task_execution_date` with `use_task_logical_date` (#23983)
eladkal May 28, 2022
eec85d3
Remove pinning for xmltodict (#23992)
potiuk May 28, 2022
9a9c400
Remove fixing cncf.kubernetes provider when generating constraints (#…
potiuk May 29, 2022
5af83ce
Add better diagnostics capabilities for pre-commits run via CI image …
potiuk May 29, 2022
ae343fa
Disable fail-fast on pushing images to docker cache (#24005)
potiuk May 29, 2022
7cf0e43
Add automated retries on retryable condition for building images in C…
potiuk May 29, 2022
e589855
Ensure @contextmanager decorates generator func (#23103)
uranusjr May 30, 2022
0f7dbef
Revert "Add automated retries on retryable condition for building ima…
potiuk May 30, 2022
56fd040
Cleanup `BranchDayOfWeekOperator` example dag (#24007)
eladkal May 30, 2022
4a52507
Added missing project_id to the wait_for_job (#24020)
May 30, 2022
5d05fcd
Only run separate per-platform build when preparing build cache (#24023)
potiuk May 30, 2022
8f3a9b8
Preparing buildx cache is allowed without --push-image flag (#24028)
potiuk May 30, 2022
94f2ce9
Add partition related methods to GlueCatalogHook: (#23857)
gmcrocetti May 30, 2022
d135ffc
Adds foldable CI group for command output (#24026)
potiuk May 31, 2022
2551acb
Add foldable groups in CI outputs in commands that need it (#24035)
potiuk May 31, 2022
b55e4c3
Increase size of ARM build instance (#24036)
potiuk May 31, 2022
ff10304
Remove unused [github_enterprise] from ref docs (#24033)
mik-laj May 31, 2022
7c7dbfe
Add enum validation for [webserver]analytics_tool (#24032)
mik-laj May 31, 2022
41e94b4
Support impersonation service account parameter for Dataflow runner (…
May 31, 2022
ab1f637
Fix closing connection dbapi.get_pandas_df (#23452)
hubert-pietron May 31, 2022
595981c
Light Refactor and Clean-up AWS Provider (#23907)
May 31, 2022
375673a
Removing magic numbers from exceptions (#23997)
bernardocouto May 31, 2022
2247b6d
Upgrade to pip 22.1.2 (#24043)
potiuk May 31, 2022
8804b1a
Shaves-off about 3 minutes from usage of ARM instances on CI (#24052)
potiuk May 31, 2022
d19cb86
SSL Bucket, Light Logic Refactor and Docstring Update for Alibaba Pro…
May 31, 2022
60eb9e1
Use KubernetesHook to create api client in KubernetesPodOperator (#20…
dstandish May 31, 2022
5005ff2
Re-add --force-build flag (#24061)
potiuk May 31, 2022
6e96f04
Fix grid view for mapped tasks (#24059)
jedcunningham Jun 1, 2022
1507ca4
Fix StatD timing metric units (#21106)
viktorvia Jun 1, 2022
1dccaad
Drop Python 3.6 compatibility objects/modules (#24048)
Taragolis Jun 1, 2022
fedab9d
Remove hack from BigQuery DTS hook (#23887)
henriqueribeiro Jun 1, 2022
841ed27
Spanner assets & system tests migration (AIP-47) (#23957)
wojsamjan Jun 1, 2022
84d7b5b
Run the `check_migration` loop at least once (#24068)
ephraimbuddy Jun 1, 2022
7f264f0
Bump eventsource from 1.0.7 to 1.1.1 in /airflow/ui (#24062)
dependabot[bot] Jun 1, 2022
e41b5a0
Remove certifi limitations from eager upgrade limits (#23995)
potiuk Jun 1, 2022
5087f96
fix style of example block (#24078)
ishiis Jun 1, 2022
d86ae09
Handle occasional deadlocks in trigger with retries (#24071)
potiuk Jun 1, 2022
fb3e84f
Adds Pura Scents, edits The Dyrt (#24086)
mfjackson Jun 1, 2022
65ad2ae
Migrate Yandex example DAGs to new design AIP-47 (#24082)
chenglongyan Jun 1, 2022
3dd7b1d
set color to operators in cloud_sql.py (#24000)
ishiis Jun 1, 2022
9398586
Migrate HTTP example DAGs to new design AIP-47 (#23991)
chenglongyan Jun 1, 2022
1394b1a
Make expand() error vague so it's not misleading (#24018)
uranusjr Jun 2, 2022
90ff36a
Use github for postgres chart index (#24089)
jedcunningham Jun 2, 2022
96e8fb4
Fix the link to google workplace (#24080)
francois2metz Jun 2, 2022
c0e9daa
Bring MappedOperator members in sync with BaseOperator (#24034)
uranusjr Jun 2, 2022
382c636
Add note about Docker volume remount issues in WSL 2 (#24094)
pauldalewilliams Jun 2, 2022
719c2d4
Convert Athena Sample DAG to System Test (#24058)
ferruzzi Jun 2, 2022
e804173
Self-update pre-commit to latest versions (#24106)
potiuk Jun 2, 2022
a34ef24
Temporarily fix bitnami index problem (#24112)
potiuk Jun 2, 2022
b7ff518
Fix small typos in static code checks doc (#24113)
josh-fell Jun 2, 2022
1c680e4
Really workaround bitnami chart problem (#24115)
potiuk Jun 2, 2022
035553c
Reduce grid view API calls (#24083)
bbovenzi Jun 2, 2022
f2e6452
Removing magic status code numbers from api_connecxion (#24050)
bernardocouto Jun 2, 2022
75fdbf0
Do not support MSSQL less than v2017 in code (#24095)
ephraimbuddy Jun 2, 2022
be21e08
Rename Permissions to Permission Pairs. (#24065)
jhtimmins Jun 2, 2022
3120576
Note that yarn dev needs webserver in debug mode (#24119)
bbovenzi Jun 2, 2022
ddb2a4f
fixing SSHHook bug when using allow_host_key_change param (#24116)
alexkruc Jun 2, 2022
572112b
Adds mssql volumes to "all" backends selection (#24123)
potiuk Jun 2, 2022
d0a295c
Breeze must create `hooks\` and `dags\` directories for bind mounts (…
o-nikolas Jun 2, 2022
7489962
AIP-47 | Migrate Trino example DAGs to new design (#24118)
chethanuk Jun 2, 2022
f294a26
Update production-deployment.rst (#24121)
Jun 2, 2022
1965bf0
Migrate Zendesk example DAGs to new design #22471 (#24129)
chethanuk Jun 3, 2022
9f7ab0d
Migrate JDBC example DAGs to new design #22450 (#24137)
chethanuk Jun 3, 2022
5bd6418
Migrate Jenkins example DAGs to new design #22451 (#24138)
chethanuk Jun 3, 2022
478459f
Migrate Microsoft example DAGs to new design #22452 - mssql (#24139)
chethanuk Jun 3, 2022
3df8ff7
Migrate MySQL example DAGs to new design #22453 (#24142)
chethanuk Jun 3, 2022
f822334
Migrate Opsgenie example DAGs to new design #22455 (#24144)
chethanuk Jun 3, 2022
c3e24c9
Migrate Presto example DAGs to new design #22459 (#24145)
chethanuk Jun 3, 2022
8825892
Migrate Plexus example DAGs to new design #22457 (#24147)
chethanuk Jun 3, 2022
32a158a
Migrate SQLite example DAGs to new design #22461 (#24150)
chethanuk Jun 3, 2022
2f0ee38
Migrate Telegram example DAGs to new design #22468 (#24126)
chethanuk Jun 3, 2022
23f367a
AIP-47 - Migrate Tableau DAGs to new design (#24125)
chethanuk Jun 3, 2022
fdf5185
Migrate Salesforce example DAGs to new design #22463 (#24127)
chethanuk Jun 3, 2022
368f292
Update credentials when using ADC in Compute Engine (#23773)
MaksYermak Jun 3, 2022
da2e98a
Improve Windows development compatibility for breeze (#24098)
uranusjr Jun 3, 2022
45fcfd3
Migrate Asana example DAGs to new design #22440 (#24131)
chethanuk Jun 3, 2022
b5218de
Migrate Neo4j example DAGs to new design #22454 (#24143)
chethanuk Jun 3, 2022
e13b159
Workflows assets & system tests migration (AIP-47) (#24105)
wojsamjan Jun 3, 2022
fb1187d
Add disabled_algorithms as an extra parameter for SSH connections (#2…
pauldalewilliams Jun 3, 2022
c60bb9e
Migrate Postgres example DAGs to new design #22458 (#24148)
chethanuk Jun 3, 2022
c2f10a4
Migrate Snowflake system tests to new design #22434 (#24151)
chethanuk Jun 3, 2022
e3824ce
Migrate Qubole example DAGs to new design #22460 (#24149)
chethanuk Jun 3, 2022
6e83885
Migrate Microsoft example DAGs to new design #22452 - azure (#24141)
chethanuk Jun 3, 2022
fcf47e1
Migrate Microsoft example DAGs to new design #22452 - winrm (#24140)
chethanuk Jun 3, 2022
d4aca43
Migrate Influx example DAGs to new design #22449 (#24136)
chethanuk Jun 3, 2022
942e126
Migrate DingTalk example DAGs to new design #22443 (#24133)
chethanuk Jun 3, 2022
7ad4e67
Migrate Cncf.Kubernetes example DAGs to new design #22441 (#24132)
chethanuk Jun 3, 2022
c887275
Migrate Alibaba example DAGs to new design #22437 (#24130)
chethanuk Jun 3, 2022
389e858
Pass connection extra parameters to wasb BlobServiceClient (#24154)
tanelk Jun 3, 2022
a597a76
fix BigQueryInsertJobOperator (#24165)
raphaelauv Jun 3, 2022
f3285bd
Migrate Singularity example DAGs to new design #22464 (#24128)
chethanuk Jun 3, 2022
bcb77c9
Better summary of status of AIP-47 (#24169)
potiuk Jun 3, 2022
5b32966
Remove old Athena Sample DAG (#24170)
ferruzzi Jun 3, 2022
cba3c17
removed old files (#24172)
Bowrna Jun 4, 2022
3852ede
Chart: Default to Airflow 2.3.2 (#24184)
ephraimbuddy Jun 4, 2022
13c62b5
Update 'rich' to latest version across the board. (#24186)
potiuk Jun 4, 2022
c01a5a5
Fix BigQuery system tests (#24013)
bhirsz Jun 4, 2022
183e75a
`2.3.2` has been released (#24182)
ephraimbuddy Jun 4, 2022
5d5598e
Add verification step to image release process (#24177)
potiuk Jun 4, 2022
90233bc
Added impersonation_chain for DataflowStartFlexTemplateOperator and D…
Jun 4, 2022
55fd02a
Add key_secret_project_id parameter which specifies a project with Ke…
MaksYermak Jun 4, 2022
84c9f4b
Add built-in Extrenal Link for ExternalTaskMarker operator (#23964)
Taragolis Jun 4, 2022
acf8951
fix: DatabricksSubmitRunOperator and DatabricksRunNowOperator cannot …
jonathansp Jun 4, 2022
daa138c
fix: StepFunctionHook ignores explicit set `region_name` (#23976)
Taragolis Jun 5, 2022
82d5f7c
Remove `GithubOperator` use in `GithubSensor.__init__()`` (#24214)
josh-fell Jun 5, 2022
4e92876
Mac M1 postgress and doc fix (#24200)
chethanuk Jun 5, 2022
8f2213f
AIP-47 - Migrate dbt DAGs to new design #22472 (#24202)
chethanuk Jun 5, 2022
ddf9013
AIP-47 - Migrate databricks DAGs to new design #22442 (#24203)
chethanuk Jun 5, 2022
100ea9d
AIP-47 - Migrate hive DAGs to new design #22439 (#24204)
chethanuk Jun 5, 2022
4b2d522
AIP-47 - Migrate kylin DAGs to new design #22439 (#24205)
chethanuk Jun 5, 2022
a272069
AIP-47 - Migrate drill DAGs to new design #22439 (#24206)
chethanuk Jun 5, 2022
ddc26c4
AIP-47 - Migrate druid DAGs to new design #22439 (#24207)
chethanuk Jun 5, 2022
eee6bc9
AIP-47 - Migrate cassandra DAGs to new design #22439 (#24209)
chethanuk Jun 5, 2022
a2bfc0e
AIP-47 - Migrate spark DAGs to new design #22439 (#24210)
chethanuk Jun 5, 2022
0046f12
AIP-47 - Migrate apache pig DAGs to new design #22439 (#24212)
chethanuk Jun 5, 2022
5f6d7d2
Migrate GitHub example DAGs to new design #22446 (#24134)
chethanuk Jun 5, 2022
ac8a790
Remove warnings when starting breeze (#24183)
potiuk Jun 5, 2022
5503603
AIP-47 - Migrate livy DAGs to new design #22439 (#24208)
chethanuk Jun 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ github:
enabled_merge_buttons:
squash: true
merge: false
rebase: true
rebase: false

protected_branches:
main:
Expand Down
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/airflow_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ body:
discuss Airflow 1.10, open a [discussion](https://github.com/apache/airflow/discussions) instead!
multiple: false
options:
- "2.3.0 (latest released)"
- "2.3.2 (latest released)"
- "2.3.1"
- "2.3.0"
- "2.2.5"
- "2.2.4"
- "2.2.3"
Expand Down
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/airflow_helmchart_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ body:
discuss Airflow 1.10, open a [discussion](https://github.com/apache/airflow/discussions) instead!
multiple: false
options:
- "2.3.0 (latest released)"
- "2.3.2 (latest released)"
- "2.3.1"
- "2.3.0"
- "2.2.5"
- "2.2.4"
- "2.2.3"
Expand Down
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/airflow_providers_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ body:
discuss Airflow 1.10, open a [discussion](https://github.com/apache/airflow/discussions) instead!
multiple: false
options:
- "2.3.0 (latest released)"
- "2.3.2 (latest released)"
- "2.3.1"
- "2.3.0"
- "2.2.5"
- "2.2.4"
- "2.2.3"
Expand Down
55 changes: 32 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,6 @@ jobs:
with:
python-version: ${{ needs.build-info.outputs.defaultPythonVersion }}
if: needs.build-info.outputs.inWorkflowBuild == 'true'
- run: ./scripts/ci/install_breeze.sh
if: needs.build-info.outputs.inWorkflowBuild == 'true'
- name: "Retrieve DEFAULTS from the _initialization.sh"
# We cannot "source" the script here because that would be a security problem (we cannot run
# any code that comes from the sources coming from the PR. Therefore we extract the
Expand All @@ -328,6 +326,8 @@ jobs:
awk 'BEGIN{FS="="} {print $3}' | sed s'/["}]//g')
echo "DEBIAN_VERSION=${DEBIAN_VERSION}" >> $GITHUB_ENV
if: needs.build-info.outputs.inWorkflowBuild == 'true'
- run: ./scripts/ci/install_breeze.sh
if: needs.build-info.outputs.inWorkflowBuild == 'true'
- name: "Free space"
run: breeze free-space
if: needs.build-info.outputs.inWorkflowBuild == 'true'
Expand Down Expand Up @@ -392,7 +392,7 @@ jobs:
awk 'BEGIN{FS="="} {print $3}' | sed s'/["}]//g')
echo "DEFAULT_CONSTRAINTS_BRANCH=${DEFAULT_CONSTRAINTS_BRANCH}" >> $GITHUB_ENV
DEBIAN_VERSION=$(grep "export DEBIAN_VERSION" scripts/ci/libraries/_initialization.sh | \
cut -d "=" -f 3 | sed s'/["}]//g')
awk 'BEGIN{FS="="} {print $3}' | sed s'/["}]//g')
echo "DEBIAN_VERSION=${DEBIAN_VERSION}" >> $GITHUB_ENV
if: needs.build-info.outputs.inWorkflowBuild == 'true'
- run: ./scripts/ci/install_breeze.sh
Expand Down Expand Up @@ -485,6 +485,8 @@ jobs:
key: ${{ runner.os }}-ui-node-modules-${{ hashFiles('airflow/ui/**/yarn.lock') }}
- run: yarn --cwd airflow/ui/ install --frozen-lockfile --non-interactive
- run: yarn --cwd airflow/ui/ run test
env:
FORCE_COLOR: 2

tests-www:
timeout-minutes: 10
Expand All @@ -510,6 +512,8 @@ jobs:
key: ${{ runner.os }}-ui-node-modules-${{ hashFiles('airflow/ui/**/yarn.lock') }}
- run: yarn --cwd airflow/www/ install --frozen-lockfile --non-interactive
- run: yarn --cwd airflow/www/ run test
env:
FORCE_COLOR: 2


test-openapi-client-generation:
Expand Down Expand Up @@ -633,9 +637,9 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
- name: "Static checks"
run: breeze static-checks --all-files --show-diff-on-failure --color always
env:
VERBOSE: false
VERBOSE: "false"
SKIP: "identity"
COLUMNS: 250
COLUMNS: "250"
- name: "Fix ownership"
run: breeze fix-ownership
if: always()
Expand All @@ -650,8 +654,6 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
needs: [build-info]
env:
RUNS_ON: ${{ fromJson(needs.build-info.outputs.runsOn) }}
SKIP: "build,run-mypy,run-flake8,lint-javascript,update-migration-references,identity"
MOUNT_SELECTED_LOCAL_SOURCES: "true"
if: needs.build-info.outputs.basic-checks-only == 'true'
steps:
- name: Cleanup repo
Expand Down Expand Up @@ -691,7 +693,10 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
breeze static-checks --all-files --show-diff-on-failure --color always
--commit-ref "${{ github.sha }}"
env:
VERBOSE: false
VERBOSE: "false"
SKIP_IMAGE_PRE_COMMITS: "true"
SKIP: "identity"
COLUMNS: "250"
- name: "Fix ownership"
run: breeze fix-ownership
if: always()
Expand Down Expand Up @@ -1648,16 +1653,18 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
permissions:
packages: write
timeout-minutes: 120
name: "Push images as cache to GitHub Registry"
name: "Push Image Cache"
runs-on: ${{ fromJson(needs.build-info.outputs.runsOn) }}
needs:
- build-info
- constraints
- docs
if: needs.build-info.outputs.mergeRun == 'true'
strategy:
fail-fast: false
matrix:
python-version: ${{ fromJson(needs.build-info.outputs.pythonVersions) }}
platform: ["linux/amd64", "linux/arm64"]
env:
RUNS_ON: ${{ fromJson(needs.build-info.outputs.runsOn) }}
PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
Expand All @@ -1677,15 +1684,6 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
- run: ./scripts/ci/install_breeze.sh
- name: "Free space"
run: breeze free-space
- name: "Start ARM instance"
run: ./scripts/ci/images/ci_start_arm_instance_and_connect_to_docker.sh
- name: "Build & Push CI image ${{ matrix.python-version }}:latest"
run: >
breeze build-image
--prepare-buildx-cache
--platform linux/amd64,linux/arm64
env:
PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
- name: >
Pull CI image for PROD build
${{ env.PYTHON_MAJOR_MINOR_VERSION }}:${{ env.IMAGE_TAG_FOR_THE_BUILD }}"
Expand All @@ -1696,32 +1694,43 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
IMAGE_TAG: ${{ env.IMAGE_TAG_FOR_THE_BUILD }}
- name: "Cleanup dist and context file"
run: rm -fv ./dist/* ./docker-context-files/*
- name: "Prepare providers packages"
- name: "Prepare providers packages for PROD build"
run: >
breeze prepare-provider-packages
--package-list-file ./scripts/ci/installed_providers.txt
--package-format wheel
env:
VERSION_SUFFIX_FOR_PYPI: "dev0"
- name: "Prepare airflow package"
- name: "Prepare airflow package for PROD build"
run: breeze prepare-airflow-package --package-format wheel
env:
VERSION_SUFFIX_FOR_PYPI: "dev0"
- name: "Start ARM instance"
run: ./scripts/ci/images/ci_start_arm_instance_and_connect_to_docker.sh
if: matrix.platform == 'linux/arm64'
- name: "Push CI cache ${{ matrix.python-version }} ${{ matrix.platform }}"
run: >
breeze build-image
--prepare-buildx-cache
--force-build
--platform ${{ matrix.platform }}
env:
PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
- name: "Move dist packages to docker-context files"
run: mv -v ./dist/*.whl ./docker-context-files
- name: Build & Push PROD image ${{ env.PYTHON_MAJOR_MINOR_VERSION }}:latest
- name: "Push PROD cache ${{ matrix.python-version }} ${{ matrix.platform }}"
run: >
breeze build-prod-image
--airflow-is-in-context
--install-packages-from-context
--prepare-buildx-cache
--disable-airflow-repo-cache
--platform linux/amd64,linux/arm64
--platform ${{ matrix.platform }}
env:
PYTHON_MAJOR_MINOR_VERSION: ${{ matrix.python-version }}
- name: "Stop ARM instance"
run: ./scripts/ci/images/ci_stop_arm_instance.sh
if: always()
if: always() && matrix.platform == 'linux/arm64'
- name: "Fix ownership"
run: breeze fix-ownership
if: always()
Loading