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

Sync v2-3-stable with v2-3-test to release 2.3.3 #24762

Merged
merged 118 commits into from
Jul 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
641ce14
fix 2.3.2 release date. (#24370)
future-taga Jun 10, 2022
2a7c1f8
Update flask-appbuilder authlib/oauth dependency (#24516)
potiuk Jun 19, 2022
5065711
Get rid of TimedJSONWebSignatureSerializer (#24519)
potiuk Jun 18, 2022
df49aa0
Update 'rich' to latest version across the board. (#24186)
potiuk Jun 4, 2022
1641b49
Refresh list of committers (#24398)
potiuk Jun 12, 2022
0c8cda1
Switch Markdown engine to markdown-it-py (#19702)
Jun 21, 2022
86c4540
Remove warnings when starting breeze (#24183)
potiuk Jun 5, 2022
d7989b6
Fix choosing backend versions in breeze's command line (#24228)
potiuk Jun 7, 2022
797fce7
Add command to regenerate breeze command output images (#24216)
potiuk Jun 7, 2022
b5cbad4
Better diagnostics for ARM for MySQL and MSSQL (#24185)
potiuk Jun 12, 2022
0d0f57f
Fix links to sources for examples (#24386)
potiuk Jun 13, 2022
a66af3b
Add CI-friendly progress output for tests (#24236)
potiuk Jun 14, 2022
6a05f04
First attempt to have CI-controlled process of releasing PROD image (…
potiuk Jun 15, 2022
0c106a4
Improve production image release workflow (#24481)
potiuk Jun 16, 2022
799074d
Restore capability of reproducing CI failures using new Breeze (#24402)
potiuk Jun 17, 2022
e4c41ad
Move LOAD_DEFAULT_CONNECTIONS env var to database config section in C…
josh-fell Jun 18, 2022
c7fafc6
Add verification steps when releasing the images. (#24520)
potiuk Jun 19, 2022
01eae0e
Added instructions on what to do if your command images are regenerat…
potiuk Jun 21, 2022
9c57cf3
Switch to building images in parallell (#24580)
potiuk Jun 21, 2022
7e08c3a
Upgrade FAB to 4.1.1 (#24399)
potiuk Jun 22, 2022
839d67d
Fix recording console for new rich-click 1.5 (#24611)
potiuk Jun 22, 2022
5c7b799
Fix errors revealed on autoupgrade of breeze (#24612)
potiuk Jun 23, 2022
4e43f97
Fix usage of `click.get_terminal_size()` (#24616)
kaxil Jun 23, 2022
d72b745
Upgrade FAB to 4.1.2 (#24619)
potiuk Jun 23, 2022
4e29345
We now need at least Flask-WTF 0.15 (#24621)
ashb Jun 23, 2022
761b2d0
Limit azure-servicebus to not be used on ARM (#24635)
potiuk Jun 24, 2022
de17f27
Allows to specify different Python base image when building images (#…
potiuk Jun 24, 2022
d52eeaf
Convert selective checks to Breeze Python (#24610)
potiuk Jun 25, 2022
4fbea89
Switch to new selective-checks in label-when-reviewed workflow (#24651)
potiuk Jun 25, 2022
44e1817
Cleanup references to selective checks (#24649)
potiuk Jun 25, 2022
fbca47e
Remove misleading message from CI (#24650)
potiuk Jun 25, 2022
1bea5b0
Remove selective checks from the "release workflow" (#24655)
potiuk Jun 25, 2022
0c55c72
Use target commit SHA for build image workflow (#24659)
potiuk Jun 25, 2022
4baf1d5
Handle "workflow_run" event properly in selective-check (#24656)
potiuk Jun 26, 2022
174ee47
Fix behaviour of build/pull after recent Breeze changes (#24657)
potiuk Jun 27, 2022
0d659c9
Remove "Label when approved" workflow (#24704)
potiuk Jun 28, 2022
8913c99
Add ARM image building for regular PRs (#24664)
potiuk Jun 28, 2022
44994a7
Fix unnecessary check for ARM images (#24718)
potiuk Jun 28, 2022
2905ede
Script to filter candidates for PR of the month based on heuristics (…
potiuk Jun 28, 2022
8e4bb85
Merge-friendly output of command hashes for breeze (#24711)
potiuk Jun 28, 2022
6ceb7e2
Fix selective checks to work for non-main-branch
potiuk Jun 29, 2022
b8b6f31
Parse error for task added to multiple groups (#23071)
uranusjr Jun 5, 2022
90d338f
Check bag DAG schedule_interval match tiemtable (#23113)
uranusjr Jun 8, 2022
bab5e1c
Fix closing connection dbapi.get_pandas_df (#23452)
hubert-pietron May 31, 2022
d7b58db
Fix permission issue for dag that has dot in name (#23510)
ephraimbuddy Jun 8, 2022
5e174a1
Refactor `DagRun.verify_integrity` (#24114)
ephraimbuddy Jun 10, 2022
8892587
Fix mapped task immutability after clear (#23667)
ephraimbuddy Jun 18, 2022
e74803d
Fix xfail test in test_scheduler.py (#23731)
Bowrna Jun 5, 2022
5b7dbaa
Add TaskInstance State 'REMOVED' to finished states and success state…
ephraimbuddy May 28, 2022
5a125b6
Grid fix details button truncated and small UI tweaks (#23934)
pierrejeambrun May 26, 2022
aa34428
Replace `use_task_execution_date` with `use_task_logical_date` (#23983)
eladkal May 28, 2022
412c152
Removing magic numbers from exceptions (#23997)
bernardocouto May 31, 2022
324be50
Cleanup `BranchDayOfWeekOperator` example dag (#24007)
eladkal May 30, 2022
93d929d
Removing magic status code numbers from api_connecxion (#24050)
bernardocouto Jun 2, 2022
8e73a77
Rename Permissions to Permission Pairs. (#24065)
jhtimmins Jun 2, 2022
0aae6bb
Reduce grid view API calls (#24083)
bbovenzi Jun 2, 2022
96a2e79
Do not fail requeued TIs (#23846)
tanelk Jun 28, 2022
1c71aa9
Fix useTasks crash on error (#24152)
bbovenzi Jun 6, 2022
595063c
Check that edge nodes actually exist (#24166)
bbovenzi Jun 7, 2022
72a36ef
Use `get_hostname` instead of `socket.getfqdn` (#24260)
jedcunningham Jun 15, 2022
24da785
Optimize calendar view for cron scheduled DAGs (#24262)
jedcunningham Jun 9, 2022
85143b8
Mention context variables and logging (#24304)
malthe Jun 7, 2022
45e8d91
Check for run_id for grid group summaries (#24327)
bbovenzi Jun 8, 2022
328b81a
Add typescript (#24337)
bbovenzi Jun 9, 2022
86f891a
Revert "Remove custom signal handling in Triggerer (#23274)" (#24390)
potiuk Jun 13, 2022
fa50004
Fix flaky order of returned dag runs (#24405)
potiuk Jun 13, 2022
717ccb2
Update errors.rst (#24412)
dojoscan Jun 14, 2022
48a156e
Improve grid rendering performance with a custom tooltip (#24417)
bbovenzi Jun 13, 2022
b7026e5
Upgrade to react 18 and chakra 2 (#24430)
bbovenzi Jun 14, 2022
baebdcc
Remove framer-motion from custom tooltip (#24449)
bbovenzi Jun 15, 2022
45216e5
Update description of installing providers separately from core (#24454)
potiuk Jun 20, 2022
45b3087
Docs: Fix default 2.2.5 log_id_template (#24455)
jedcunningham Jun 14, 2022
4ab96ba
Return empty dict if Pod JSON encoding fails (#24478)
dstandish Jun 15, 2022
8b39de7
Small cleanup of ``get_current_context()`` chapter (#24482)
josh-fell Jun 16, 2022
64baa0d
Add indexes for CASCADE deletes for task_instance (#24488)
dstandish Jun 16, 2022
c4358cf
Remove internet explorer support (#24495)
bbovenzi Jun 16, 2022
894f15c
Fix toast messages (#24505)
bbovenzi Jun 16, 2022
540f48c
Fix deprecated log_id_template value (#24506)
jedcunningham Jun 17, 2022
023270c
Seed log_template table (#24511)
jedcunningham Jun 17, 2022
63ca887
Add note about image regeneration in June 2022 (#24524)
potiuk Jun 23, 2022
2320145
Add imports to deferring code samples (#24544)
BasPH Jun 19, 2022
bada25d
Clarify that users should not use Maria DB (#24556)
potiuk Jun 20, 2022
628815e
Patch sql_alchemy_conn if old Postgres schemes used (#24569)
slyapustin Jun 22, 2022
79fe045
Fix migration 0080_2_0_2 - Replace null values before setting column …
tm-drtina Jun 29, 2022
19a3931
`TI.log_url` fix for `map_index` (#24335)
fritz-astronomer Jun 14, 2022
b1be024
Don't crash scheduler if exec config has old k8s objects (#24117)
dstandish Jun 15, 2022
bea9e65
Apply per-run log templates to log handlers (#24153)
uranusjr Jun 7, 2022
d54af71
Add tests for the grid_data endpoint (#24375)
ashb Jun 10, 2022
627488f
Speed up grid_data endpoint by 10x (#24284)
ashb Jun 15, 2022
4e65403
Maintain grid view selection on filtering upstream (#23779)
bbovenzi May 19, 2022
c5774e6
Do not calculate grid root instances (#24528)
bbovenzi Jun 17, 2022
0cc91d6
Upgrade to webpack 5 (#24485)
bbovenzi Jun 16, 2022
ca8c8cb
Restore tooltip animation (#24503)
bbovenzi Jun 16, 2022
05737bc
Migrate jsx files that affect run/task selection to tsx (#24509)
bbovenzi Jun 22, 2022
06c4e84
don't try to render child rows for closed groups (#24637)
bbovenzi Jun 28, 2022
1306f99
Fix Grid vertical scrolling (#24684)
bbovenzi Jun 28, 2022
b73c38c
Debounce status highlighting in Grid view (#24710)
bbovenzi Jun 28, 2022
5e4d93d
Address all yarn test warnings (#24722)
bbovenzi Jun 29, 2022
b6aa680
Fix grid date ticks (#24738)
bbovenzi Jun 29, 2022
4a11f46
Add verification step to image release process (#24177)
potiuk Jun 4, 2022
f5dd1f3
Add scripts that provide good links to example dags (#24348)
potiuk Jun 9, 2022
bdb1945
Update Dockerfile (#24397)
kinow Jun 12, 2022
f032ffe
The timeouts for Helm tests are far too small for "full tests" (#24408)
potiuk Jun 13, 2022
bdddfb2
Allow for LOGGING_LEVEL=DEBUG (#23360)
GApfel Apr 29, 2022
dcbc143
Alphabetizes two tables (#23923)
mfjackson May 26, 2022
96a2bca
Fix inverted section levels in best-practices.rst (#23968)
sekikn May 27, 2022
7b74793
Update production-deployment.rst (#24121)
Jun 2, 2022
ba19e03
Update ui.rst (#24514)
holadepo Jun 17, 2022
c711b76
docs: sqlalchemy link update (#24627)
itayB Jun 24, 2022
53dcf8f
Fix selective checks to work for non-main-branch (#24769)
potiuk Jul 1, 2022
50b9d7a
Choose the right builder when pushing to ghcr.io registry for cache (…
potiuk Jul 1, 2022
de235fd
Update version to 2.3.3
ephraimbuddy Jun 30, 2022
6ec47b9
Document built in Timetables (#23099)
collinmcnulty Jun 30, 2022
3fa6d25
Update templates doc to mention `extras` and format Airflow Vars / Co…
fritz-astronomer Jun 30, 2022
668e0e3
docs: sqlalchemy link update (#24756)
itayB Jun 30, 2022
cecfa51
Align Black and blacken-docs configs (#24785)
BasPH Jul 1, 2022
ad78c85
Add release note for 2.3.3
ephraimbuddy Jun 30, 2022
b5202fa
Unified "dash-name" convention for outputs in ci workflows.
potiuk Jul 2, 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: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ tests export-ignore
Dockerfile.ci export-ignore

ISSUE_TRIAGE_PROCESS.rst export-ignore
PULL_REQUEST_WORKFLOW.rst export-ignore
SELECTIVE_CHECKS.md export-ignore
STATIC_CODE_CHECKS.rst export-ignore
TESTING.rst export-ignore
LOCAL_VIRTUALENV.rst export-ignore
Expand Down
1 change: 0 additions & 1 deletion .github/actions/checks-action
Submodule checks-action deleted from 9f0287
1 change: 0 additions & 1 deletion .github/actions/label-when-approved-action
Submodule label-when-approved-action deleted from 0058d0
354 changes: 217 additions & 137 deletions .github/workflows/build-images.yml

Large diffs are not rendered by default.

882 changes: 488 additions & 394 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ jobs:
with:
fetch-depth: 2
persist-credentials: false
- name: "Setup python"
uses: actions/setup-python@v2
with:
# We do not have output from selective checks yet, so we need to hardcode python
python-version: 3.7
cache: 'pip'
cache-dependency-path: ./dev/breeze/setup*
- run: ./scripts/ci/install_breeze.sh
- name: Selective checks
id: selective-checks
env:
EVENT_NAME: ${{ github.event_name }}
TARGET_COMMIT_SHA: ${{ github.sha }}
run: |
if [[ ${EVENT_NAME} == "pull_request" ]]; then
# Run selective checks
./scripts/ci/selective_ci_checks.sh "${TARGET_COMMIT_SHA}"
else
# Run all checks
./scripts/ci/selective_ci_checks.sh
fi
COMMIT_REF: "${{ github.sha }}"
run: breeze selective-check

analyze:
name: Analyze
Expand Down
177 changes: 0 additions & 177 deletions .github/workflows/label_when_reviewed_workflow_run.yml

This file was deleted.

153 changes: 153 additions & 0 deletions .github/workflows/release_dockerhub_image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
---
name: "Release PROD images"
on: # yamllint disable-line rule:truthy
workflow_dispatch:
inputs:
airflowVersion:
description: 'Airflow version'
required: true
skipLatest:
description: 'Skip Latest: Set to true if not latest.'
default: ''
required: false
concurrency:
group: ${{ github.event.inputs.airflowVersion }}
cancel-in-progress: true
jobs:
build-info:
timeout-minutes: 10
name: "Build Info"
runs-on: ${{ github.repository == 'apache/airflow' && 'self-hosted' || 'ubuntu-20.04' }}
outputs:
pythonVersions: ${{ steps.selective-checks.outputs.python-versions }}
allPythonVersions: ${{ steps.selective-checks.outputs.all-python-versions }}
defaultPythonVersion: ${{ steps.selective-checks.outputs.default-python-version }}
skipLatest: ${{ github.event.inputs.skipLatest == '' && ' ' || '--skip-latest' }}
limitPlatform: ${{ github.repository == 'apache/airflow' && ' ' || '--limit-platform linux/amd64' }}
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
steps:
- name: Cleanup repo
run: docker run -v "${GITHUB_WORKSPACE}:/workspace" -u 0:0 bash -c "rm -rf /workspace/*"
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
with:
persist-credentials: false
submodules: recursive
- name: "Setup python"
uses: actions/setup-python@v2
with:
# We do not have output from selective checks yet, so we need to hardcode python
python-version: 3.7
cache: 'pip'
cache-dependency-path: ./dev/breeze/setup*
- run: ./scripts/ci/install_breeze.sh
- name: Selective checks
id: selective-checks
run: breeze selective-check
release-images:
timeout-minutes: 120
name: "Release images: ${{ github.event.inputs.airflowVersion }}, ${{ matrix.python-version }}"
runs-on: ${{ github.repository == 'apache/airflow' && 'self-hosted' || 'ubuntu-20.04' }}
needs: [build-info]
strategy:
fail-fast: false
matrix:
python-version: ${{ fromJson(needs.build-info.outputs.pythonVersions) }}
env:
RUNS_ON: ${{ github.repository == 'apache/airflow' && 'self-hosted' || 'ubuntu-20.04' }}
if: contains(fromJSON('[
"ashb",
"ephraimbuddy",
"jedcunningham",
"kaxil",
"potiuk",
]'), github.event.sender.login)
steps:
- name: Cleanup repo
run: docker run -v "${GITHUB_WORKSPACE}:/workspace" -u 0:0 bash -c "rm -rf /workspace/*"
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
with:
persist-credentials: false
- name: "Setup python"
uses: actions/setup-python@v2
with:
python-version: ${{ needs.build-info.outputs.defaultPythonVersion }}
cache: 'pip'
cache-dependency-path: ./dev/breeze/setup*
- run: ./scripts/ci/install_breeze.sh
- name: "Free space"
run: breeze free-space
- name: Build CI image for PROD build ${{ needs.build-info.outputs.defaultPythonVersion }}
run: breeze build-image
env:
PYTHON_MAJOR_MINOR_VERSION: ${{ needs.build-info.outputs.defaultPythonVersion }}
- name: "Cleanup dist and context file"
run: rm -fv ./dist/* ./docker-context-files/*
- name: "Start ARM instance"
run: ./scripts/ci/images/ci_start_arm_instance_and_connect_to_docker.sh
if: github.repository == 'apache/airflow'
- name: "Login to docker"
run: >
echo ${{ secrets.DOCKERHUB_TOKEN }} |
docker login --password-stdin --username ${{ secrets.DOCKERHUB_USER }}
- name: >
Release regular images: ${{ github.event.inputs.airflowVersion }}, ${{ matrix.python-version }}
run: >
breeze release-prod-images
--dockerhub-repo ${{ github.repository }}
--airflow-version ${{ github.event.inputs.airflowVersion }}
${{ needs.build-info.outputs.skipLatest }}
${{ needs.build-info.outputs.limitPlatform }}
--limit-python ${{ matrix.python-version }}
- name: >
Release slim images: ${{ github.event.inputs.airflowVersion }}, ${{ matrix.python-version }}
run: >
breeze release-prod-images
--dockerhub-repo ${{ github.repository }}
--airflow-version ${{ github.event.inputs.airflowVersion }}
${{ needs.build-info.outputs.skipLatest }}
${{ needs.build-info.outputs.limitPlatform }}
--limit-python ${{ matrix.python-version }} --slim-images
- name: "Stop ARM instance"
run: ./scripts/ci/images/ci_stop_arm_instance.sh
if: always() && github.repository == 'apache/airflow'
- name: >
Verify regular AMD64 image: ${{ github.event.inputs.airflowVersion }}, ${{ matrix.python-version }}
run: >
breeze verify-prod-image
--pull-image
--image-name
${{github.repository}}:${{github.event.inputs.airflowVersion}}-python${{matrix.python-version}}
- name: >
Verify slim AMD64 image: ${{ github.event.inputs.airflowVersion }}, ${{ matrix.python-version }}
run: >
breeze verify-prod-image
--pull-image
--slim-image
--image-name
${{github.repository}}:slim-${{github.event.inputs.airflowVersion}}-python${{matrix.python-version}}
- name: "Docker logout"
run: docker logout
if: always()
- name: "Fix ownership"
run: breeze fix-ownership
if: always()
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,7 @@ licenses/LICENSES-ui.txt

# Packaged breeze on Windows
/breeze.exe

# Generated out dir

/out
6 changes: 0 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[submodule ".github/actions/get-workflow-origin"]
path = .github/actions/get-workflow-origin
url = https://github.com/potiuk/get-workflow-origin
[submodule ".github/actions/checks-action"]
path = .github/actions/checks-action
url = https://github.com/LouisBrunner/checks-action
[submodule ".github/actions/configure-aws-credentials"]
path = .github/actions/configure-aws-credentials
url = https://github.com/aws-actions/configure-aws-credentials
Expand All @@ -13,6 +10,3 @@
[submodule ".github/actions/github-push-action"]
path = .github/actions/github-push-action
url = https://github.com/ad-m/github-push-action
[submodule ".github/actions/label-when-approved-action"]
path = .github/actions/label-when-approved-action
url = https://github.com/TobKed/label-when-approved-action
Loading