Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions dev/README_RELEASE_AIRFLOW.md
Original file line number Diff line number Diff line change
Expand Up @@ -886,11 +886,14 @@ present in SVN. This command may also help with verifying installation of the pa
breeze release-management check-release-files airflow --version ${VERSION_RC}
```

You will see commands that you can execute to check installation of the distributions in containers.

```shell script
breeze release-management check-release-files task-sdk --version ${TASK_SDK_VERSION_RC}
```

You will see commands that you can execute to check installation of the distributions in containers.

## Licence check

This can be done with the Apache RAT tool.
Expand Down
1 change: 1 addition & 0 deletions dev/README_RELEASE_AIRFLOWCTL.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ present in SVN. This command may also help with verifying installation of the pa
breeze release-management check-release-files airflow-ctl --version ${VERSION_RC}
```

You will see commands that you can execute to check installation of the distributions in containers.

### Licence check

Expand Down
5 changes: 1 addition & 4 deletions dev/README_RELEASE_PYTHON_CLIENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,10 +451,7 @@ present in SVN. This command may also help with verifying installation of the pa
breeze release-management check-release-files python-client --version ${VERSION_RC}
```

You can also follow the docker check that installs the distribution in a docker container and verifies
that the package can be installed and imported correctly and print it's version. The command above prints
instructions on how to do that.

You will see commands that you can execute to check installation of the distributions in containers.

### Licence check

Expand Down
14 changes: 9 additions & 5 deletions dev/breeze/src/airflow_breeze/utils/check_release_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,15 @@ def create_docker(txt: str, output_file: Path, release_type: str):

console = get_console()
console.print("\n[bold]To check installation run:[/bold]")
command = (
'--entrypoint "airflow" local/airflow info'
if release_type != "python-client"
else '--entrypoint "bash" local/airflow "-c" "python -c \'import airflow_client.client; print(airflow_client.client.__version__)\'"'
)
if release_type == "python-client":
command = (
'--entrypoint "bash" local/airflow "-c" "python -c '
"'import airflow_client.client; print(airflow_client.client.__version__)'\""
)
elif release_type == "airflow-ctl":
command = '--entrypoint "airflowctl" local/airflow --help'
else:
command = '--entrypoint "airflow" local/airflow info'
console.print(
f"""\
docker build -f {output_file} --tag local/airflow .
Expand Down
Loading