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 2023/06/14 22:15:03 UTC
[airflow] 01/01: Add more information on failing release image build
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-6-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 073a44184c61b3fe198a2ce498917c632792ffd5
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Wed Jun 14 23:58:11 2023 +0200
Add more information on failing release image build
---
.github/workflows/release_dockerhub_image.yml | 4 ++++
dev/breeze/src/airflow_breeze/utils/docker_command_utils.py | 3 +++
2 files changed, 7 insertions(+)
diff --git a/.github/workflows/release_dockerhub_image.yml b/.github/workflows/release_dockerhub_image.yml
index 0957089aa8..a48635b956 100644
--- a/.github/workflows/release_dockerhub_image.yml
+++ b/.github/workflows/release_dockerhub_image.yml
@@ -29,9 +29,12 @@ on: # yamllint disable-line rule:truthy
required: false
permissions:
contents: read
+ packages: read
concurrency:
group: ${{ github.event.inputs.airflowVersion }}
cancel-in-progress: true
+env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build-info:
timeout-minutes: 10
@@ -45,6 +48,7 @@ jobs:
limitPlatform: ${{ github.repository == 'apache/airflow' && ' ' || '--limit-platform linux/amd64' }}
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
+ VERBOSE: true
steps:
- name: Cleanup repo
run: docker run -v "${GITHUB_WORKSPACE}:/workspace" -u 0:0 bash -c "rm -rf /workspace/*"
diff --git a/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py b/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py
index f2edef9357..75d838e9d1 100644
--- a/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py
+++ b/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py
@@ -282,6 +282,9 @@ def check_remote_ghcr_io_commands():
"[error]\nYou seem to be offline. This command requires access to network.[/]\n"
)
sys.exit(2)
+ get_console().print("[error]Response:[/]\n")
+ get_console().print(response.stdout.decode("utf-8"))
+ get_console().print(response.stderr.decode("utf-8"))
if os.environ.get("CI"):
get_console().print(
"\n[error]We are extremely sorry but you've hit the rare case that the "