forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Docker Provider to the New Structure (apache#46097)
* Move Docker Provider to the New Structure * Fix test related to checking provider examples * Fix taskflow.rst docker example path
- Loading branch information
Showing
49 changed files
with
623 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
|
||
.. 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. | ||
.. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN! | ||
.. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE | ||
`PROVIDER_README_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY | ||
Package ``apache-airflow-providers-docker`` | ||
|
||
Release: ``4.0.0`` | ||
|
||
|
||
`Docker <https://www.docker.com/>`__ | ||
|
||
|
||
Provider package | ||
---------------- | ||
|
||
This is a provider package for ``docker`` provider. All classes for this provider package | ||
are in ``airflow.providers.docker`` python package. | ||
|
||
You can find package information and changelog for the provider | ||
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-docker/4.0.0/>`_. | ||
|
||
Installation | ||
------------ | ||
|
||
You can install this package on top of an existing Airflow 2 installation (see ``Requirements`` below | ||
for the minimum Airflow version supported) via | ||
``pip install apache-airflow-providers-docker`` | ||
|
||
The package supports the following python versions: 3.9,3.10,3.11,3.12 | ||
|
||
Requirements | ||
------------ | ||
|
||
================== ================== | ||
PIP package Version required | ||
================== ================== | ||
``apache-airflow`` ``>=2.9.0`` | ||
``docker`` ``>=7.1.0`` | ||
``python-dotenv`` ``>=0.21.0`` | ||
================== ================== | ||
|
||
Cross provider package dependencies | ||
----------------------------------- | ||
|
||
Those are dependencies that might be needed in order to use all the features of the package. | ||
You need to install the specified provider packages in order to use them. | ||
|
||
You can install such cross-provider dependencies when installing from PyPI. For example: | ||
|
||
.. code-block:: bash | ||
pip install apache-airflow-providers-docker[common.compat] | ||
================================================================================================================== ================= | ||
Dependent package Extra | ||
================================================================================================================== ================= | ||
`apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat`` | ||
================================================================================================================== ================= | ||
|
||
The changelog for the provider package can be found in the | ||
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-docker/4.0.0/changelog.html>`_. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# 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. | ||
|
||
# NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN! | ||
|
||
# IF YOU WANT TO MODIFY THIS FILE EXCEPT DEPENDENCIES, YOU SHOULD MODIFY THE TEMPLATE | ||
# `pyproject_TEMPLATE.toml.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY | ||
[build-system] | ||
requires = ["flit_core==3.10.1"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
[project] | ||
name = "apache-airflow-providers-docker" | ||
version = "4.0.0" | ||
description = "Provider package apache-airflow-providers-docker for Apache Airflow" | ||
readme = "README.rst" | ||
authors = [ | ||
{name="Apache Software Foundation", email="[email protected]"}, | ||
] | ||
maintainers = [ | ||
{name="Apache Software Foundation", email="[email protected]"}, | ||
] | ||
keywords = [ "airflow-provider", "docker", "airflow", "integration" ] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: System Administrators", | ||
"Framework :: Apache Airflow", | ||
"Framework :: Apache Airflow :: Provider", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: System :: Monitoring", | ||
] | ||
requires-python = "~=3.9" | ||
|
||
# The dependencies should be modified in place in the generated file | ||
# Any change in the dependencies is preserved when the file is regenerated | ||
dependencies = [ | ||
"apache-airflow>=2.9.0", | ||
"docker>=7.1.0", | ||
"python-dotenv>=0.21.0", | ||
] | ||
|
||
# The optional dependencies should be modified in place in the generated file | ||
# Any change in the dependencies is preserved when the file is regenerated | ||
[project.optional-dependencies] | ||
"common.compat" = [ | ||
"apache-airflow-providers-common-compat" | ||
] | ||
|
||
[project.urls] | ||
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-docker/4.0.0" | ||
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-docker/4.0.0/changelog.html" | ||
"Bug Tracker" = "https://github.com/apache/airflow/issues" | ||
"Source Code" = "https://github.com/apache/airflow" | ||
"Slack Chat" = "https://s.apache.org/airflow-slack" | ||
"Twitter" = "https://x.com/ApacheAirflow" | ||
"YouTube" = "https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/" | ||
|
||
[project.entry-points."apache_airflow_provider"] | ||
provider_info = "airflow.providers.docker.get_provider_info:get_provider_info" | ||
|
||
[tool.flit.module] | ||
name = "airflow.providers.docker" | ||
|
||
[tool.pytest.ini_options] | ||
ignore = "tests/system/" |
Oops, something went wrong.