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

Initialize Separate React UI #1513

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1008ea1
Update elasticsearch.rst (#41764)
KrunchMuffin Aug 26, 2024
33f81bf
Update snowflake naming for account names and locators. (#41775)
JDarDagran Aug 27, 2024
ded67d0
[redis]adding additional values for existing persistence claim (#41619)
kongdewen Aug 27, 2024
433bfd4
chore(docs): add an example for auth with keycloak (#41687)
hoalongnatsu Aug 27, 2024
8765039
Removed deprecated method referance airflow.www.auth.has_access when …
dirrao Aug 27, 2024
1e7bbf8
Remove deprecations in airflow.models.skipmixin (#41780)
jscheffl Aug 27, 2024
c5a7fb1
Remove deprecations in airflow.models.errors (#41779)
jscheffl Aug 27, 2024
82abd79
Fix some non-critical pre-commit issues (#41749)
uranusjr Aug 27, 2024
3c477e1
Remove deprecations in airflow.models.param (#41776)
jscheffl Aug 27, 2024
938ab82
Add logging device and logging device options to DockerSwarmOperator …
geraj1010 Aug 27, 2024
2bac27f
Remove deprecations in Connection for Airflow 3 (#41762)
jscheffl Aug 27, 2024
606a26c
Remove deprecations in BaseOperator for Airflow 3 (#41761)
jscheffl Aug 27, 2024
37b9607
Remove a set of deprecations in airflow.www module (#41758)
jscheffl Aug 27, 2024
dabab2d
Remove one leftover deprecated import from FAB provider test (#41757)
jscheffl Aug 27, 2024
ddec35d
Removed deprecated TaskStateTrigger from airflow.triggers.external_ta…
jscheffl Aug 27, 2024
27fe45b
Remove deprecated parameters from airflow (core) Operators (#41736)
jscheffl Aug 27, 2024
1808052
Remove deprecated airflow.kubernetes package (#41735)
jscheffl Aug 27, 2024
83ba17f
Remove deprecation warning for cgitb in Plugins Manager (#41732)
jscheffl Aug 27, 2024
7caf268
backfill job command cli deperecated options removed (#41739)
dirrao Aug 27, 2024
dc12ad1
Module airflow.hooks.dbapi removed (#41748)
dirrao Aug 27, 2024
748a48a
Remove deprecations in airflow.models.dagrun (#41778)
jscheffl Aug 27, 2024
a0baa68
Remove deprecated get_connections() function in BaseHook (#41733)
jscheffl Aug 27, 2024
615cddf
airflow.models.taskinstance deprecations removed (#41784)
dirrao Aug 27, 2024
baadce9
Fix mocking in cncf.kubernetes tests after get_connections removal (#…
potiuk Aug 27, 2024
c018a47
test(providers/yandex): fix test_yandex_lockbox_secret_backend_get_co…
Lee-W Aug 28, 2024
71aa592
Add examples for discussion/vote threads for new providers (#41817)
eladkal Aug 28, 2024
9f30a41
Fix: DAGs are not marked as stale if the dags folder change (#41433)
utkarsharma2 Aug 28, 2024
5f2cc07
Update providers metadata 2024-08-28 (#41823)
eladkal Aug 28, 2024
ef80f6b
Move away from deprecated DAG.following_schedule() method (#41773)
jscheffl Aug 28, 2024
7bbb4b4
Small fix for datafusion system test (#41795)
VladaZakharova Aug 28, 2024
45740b1
Set end_date and duration for triggers completed with end_from_trigge…
tirkarthi Aug 28, 2024
e55ecd5
Add hostAliases support for Triggerer in helm chart (#41725)
HassanAlahmed Aug 28, 2024
9344a3d
Initialize new airflow/ui directory
bbovenzi Aug 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/boring-cyborg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ labelPRBasedOnFilePath:
- airflow/www/webpack.config.js
- airflow/www/yarn.lock
- docs/apache-airflow/ui.rst
- airflow/ui/**/*

area:CLI:
- airflow/cli/**/*.py
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/basic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ on: # yamllint disable-line rule:truthy
description: "The array of labels (in json form) determining public runners."
required: true
type: string
run-ui-tests:
description: "Whether to run UI tests (true/false)"
required: true
type: string
run-www-tests:
description: "Whether to run WWW tests (true/false)"
required: true
Expand Down Expand Up @@ -83,6 +87,36 @@ jobs:
- run: python -m pytest -n auto --color=yes
working-directory: ./dev/breeze/


tests-ui:
timeout-minutes: 10
name: React UI tests
runs-on: ${{ fromJSON(inputs.runs-on-as-json-public) }}
if: inputs.run-ui-tests == 'true'
steps:
- name: "Cleanup repo"
shell: bash
run: docker run -v "${GITHUB_WORKSPACE}:/workspace" -u 0:0 bash -c "rm -rf /workspace/*"
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
with:
persist-credentials: false
- name: "Cleanup docker"
run: ./scripts/ci/cleanup_docker.sh
- name: "Setup node"
uses: actions/setup-node@v4
with:
node-version: 21
- name: "Cache eslint"
uses: actions/cache@v4
with:
path: 'airflow/www/node_modules'
key: ${{ runner.os }}-www-node-modules-${{ hashFiles('airflow/ui/**/pnpm-lock.yaml') }}
- run: cd airflow/ui && pnpm install --frozen-lockfile
- run: cd airflow/ui && pnpm test
env:
FORCE_COLOR: 2

tests-www:
timeout-minutes: 10
name: React WWW tests
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
skip-provider-tests: ${{ steps.selective-checks.outputs.skip-provider-tests }}
run-tests: ${{ steps.selective-checks.outputs.run-tests }}
run-amazon-tests: ${{ steps.selective-checks.outputs.run-amazon-tests }}
run-ui-tests: ${{ steps.selective-checks.outputs.run-ui-tests }}
run-www-tests: ${{ steps.selective-checks.outputs.run-www-tests }}
run-kubernetes-tests: ${{ steps.selective-checks.outputs.run-kubernetes-tests }}
basic-checks-only: ${{ steps.selective-checks.outputs.basic-checks-only }}
Expand Down Expand Up @@ -168,6 +169,7 @@ jobs:
uses: ./.github/workflows/basic-tests.yml
with:
runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }}
run-ui-tests: ${{needs.build-info.outputs.run-ui-tests}}
run-www-tests: ${{needs.build-info.outputs.run-www-tests}}
needs-api-codegen: ${{needs.build-info.outputs.needs-api-codegen}}
default-python-version: ${{needs.build-info.outputs.default-python-version}}
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@ node_modules
npm-debug.log*
derby.log
metastore_db
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
.vscode/*
!.vscode/extensions.json

# Airflow log files when airflow is run locally
airflow-*.err
Expand Down
Loading
Loading