You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/04/25 13:08:43 UTC
[airflow] branch main updated (64d012fa84 -> b33cd10941)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
from 64d012fa84 Catch `ParamValidationError` in view when triggering a DAG (#23217)
new 167b495b17 Add MSSQL link to contributing quick start.
new b33cd10941 Add MSSQL link to breeze visuals.py and breeze-legacy
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
BREEZE.rst | 1 +
CONTRIBUTORS_QUICK_START.rst | 18 ++++++++++++++----
breeze-legacy | 1 +
dev/breeze/src/airflow_breeze/utils/visuals.py | 2 ++
4 files changed, 18 insertions(+), 4 deletions(-)
[airflow] 01/02: Add MSSQL link to contributing quick start.
Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 167b495b17f14f0055c05ec28c04c8dac855be18
Author: pierrejeambrun <pi...@gmail.com>
AuthorDate: Tue Apr 12 00:52:15 2022 +0200
Add MSSQL link to contributing quick start.
---
BREEZE.rst | 1 +
CONTRIBUTORS_QUICK_START.rst | 18 ++++++++++++++----
2 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/BREEZE.rst b/BREEZE.rst
index 1e92c97cfa..64ae2ea346 100644
--- a/BREEZE.rst
+++ b/BREEZE.rst
@@ -1356,6 +1356,7 @@ You can connect to these ports/databases using:
* Flower: http://127.0.0.1:25555
* Postgres: jdbc:postgresql://127.0.0.1:25433/airflow?user=postgres&password=airflow
* Mysql: jdbc:mysql://127.0.0.1:23306/airflow?user=root
+* MSSQL: jdbc:sqlserver://127.0.0.1:21433;databaseName=airflow;user=sa;password=Airflow123
* Redis: redis://127.0.0.1:26379/0
If you do not use ``start-airflow`` command, you can start the webserver manually with
diff --git a/CONTRIBUTORS_QUICK_START.rst b/CONTRIBUTORS_QUICK_START.rst
index ba4bce2526..f2b88f234e 100644
--- a/CONTRIBUTORS_QUICK_START.rst
+++ b/CONTRIBUTORS_QUICK_START.rst
@@ -345,8 +345,8 @@ Using Breeze
Use CI image.
Branch name: main
- Docker image: apache/airflow:main-python3.8-ci
- Airflow source version: 2.0.0b2
+ Docker image: ghcr.io/apache/airflow/main/ci/python3.8:latest
+ Airflow source version: 2.3.0.dev0
Python version: 3.8
Backend: mysql 5.7
@@ -354,17 +354,21 @@ Using Breeze
Port forwarding:
Ports are forwarded to the running docker containers for webserver and database
+ * 12322 -> forwarded to Airflow ssh server -> airflow:22
* 28080 -> forwarded to Airflow webserver -> airflow:8080
* 25555 -> forwarded to Flower dashboard -> airflow:5555
* 25433 -> forwarded to Postgres database -> postgres:5432
* 23306 -> forwarded to MySQL database -> mysql:3306
+ * 21433 -> forwarded to MSSQL database -> mssql:1443
* 26379 -> forwarded to Redis broker -> redis:6379
Here are links to those services that you can use on host:
+ * ssh connection for remote debugging: ssh -p 12322 airflow@127.0.0.1 pw: airflow
* Webserver: http://127.0.0.1:28080
* Flower: http://127.0.0.1:25555
* Postgres: jdbc:postgresql://127.0.0.1:25433/airflow?user=postgres&password=airflow
* Mysql: jdbc:mysql://127.0.0.1:23306/airflow?user=root
+ * MSSQL: jdbc:sqlserver://127.0.0.1:21433;databaseName=airflow;user=sa;password=Airflow123
* Redis: redis://127.0.0.1:26379/0
@@ -1157,8 +1161,8 @@ Using Breeze
Use CI image.
Branch name: main
- Docker image: apache/airflow:main-python3.8-ci
- Airflow source version: 2.0.0b2
+ Docker image: ghcr.io/apache/airflow/main/ci/python3.8:latest
+ Airflow source version: 2.3.0.dev0
Python version: 3.8
Backend: mysql 5.7
@@ -1166,17 +1170,21 @@ Using Breeze
Port forwarding:
Ports are forwarded to the running docker containers for webserver and database
+ * 12322 -> forwarded to Airflow ssh server -> airflow:22
* 28080 -> forwarded to Airflow webserver -> airflow:8080
* 25555 -> forwarded to Flower dashboard -> airflow:5555
* 25433 -> forwarded to Postgres database -> postgres:5432
* 23306 -> forwarded to MySQL database -> mysql:3306
+ * 21433 -> forwarded to MSSQL database -> mssql:1443
* 26379 -> forwarded to Redis broker -> redis:6379
Here are links to those services that you can use on host:
+ * ssh connection for remote debugging: ssh -p 12322 airflow@127.0.0.1 pw: airflow
* Webserver: http://127.0.0.1:28080
* Flower: http://127.0.0.1:25555
* Postgres: jdbc:postgresql://127.0.0.1:25433/airflow?user=postgres&password=airflow
* Mysql: jdbc:mysql://127.0.0.1:23306/airflow?user=root
+ * MSSQL: jdbc:sqlserver://127.0.0.1:21433;databaseName=airflow;user=sa;password=Airflow123
* Redis: redis://127.0.0.1:26379/0
@@ -1927,8 +1935,10 @@ Using Breeze
* Flower: http://127.0.0.1:25555
* Postgres: jdbc:postgresql://127.0.0.1:25433/airflow?user=postgres&password=airflow
* Mysql: jdbc:mysql://127.0.0.1:23306/airflow?user=root
+ * MSSQL: jdbc:sqlserver://127.0.0.1:21433;databaseName=airflow;user=sa;password=Airflow123
* Redis: redis://127.0.0.1:26379/0
+
.. raw:: html
<div align="center" style="padding-bottom:10px">
[airflow] 02/02: Add MSSQL link to breeze visuals.py and breeze-legacy
Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit b33cd10941dd10d461023df5c2d3014f5dcbb7ac
Author: pierrejeambrun <pi...@gmail.com>
AuthorDate: Mon Apr 18 16:15:22 2022 +0200
Add MSSQL link to breeze visuals.py and breeze-legacy
---
breeze-legacy | 1 +
dev/breeze/src/airflow_breeze/utils/visuals.py | 2 ++
2 files changed, 3 insertions(+)
diff --git a/breeze-legacy b/breeze-legacy
index 3613d6b7d8..6d77ca3daf 100755
--- a/breeze-legacy
+++ b/breeze-legacy
@@ -2292,6 +2292,7 @@ function breeze::print_cheatsheet() {
echo " * Flower: http://127.0.0.1:${FLOWER_HOST_PORT}"
echo " * Postgres: jdbc:postgresql://127.0.0.1:${POSTGRES_HOST_PORT}/airflow?user=postgres&password=airflow"
echo " * Mysql: jdbc:mysql://127.0.0.1:${MYSQL_HOST_PORT}/airflow?user=root"
+ echo " * MSSQL: jdbc:sqlserver://127.0.0.1:${MSSQL_HOST_PORT};databaseName=airflow;user=sa;password=Airflow123"
echo " * Redis: redis://127.0.0.1:${REDIS_HOST_PORT}/0"
else
echo
diff --git a/dev/breeze/src/airflow_breeze/utils/visuals.py b/dev/breeze/src/airflow_breeze/utils/visuals.py
index e119e83732..effbdd27ae 100644
--- a/dev/breeze/src/airflow_breeze/utils/visuals.py
+++ b/dev/breeze/src/airflow_breeze/utils/visuals.py
@@ -94,6 +94,8 @@ CHEATSHEET = f"""
* Flower: http://127.0.0.1:{FLOWER_HOST_PORT}
* Postgres: jdbc:postgresql://127.0.0.1:{POSTGRES_HOST_PORT}/airflow?user=postgres&password=airflow
* Mysql: jdbc:mysql://127.0.0.1:{MYSQL_HOST_PORT}/airflow?user=root
+ * MSSQL: jdbc:sqlserver://127.0.0.1:{MSSQL_HOST_PORT};databaseName=airflow;user=sa;password=
+ Airflow123
* Redis: redis://127.0.0.1:{REDIS_HOST_PORT}/0
[bright_blue]* How can I add my stuff in Breeze:[/]