github-actions[bot] opened a new pull request, #76137:
URL: https://github.com/apache/airflow/pull/76137

   The airflowctl integration suite could not run on a host where TCP
   8080 is already taken. HOST_PORT was honoured only by the harness's own
   requests calls; the compose file hard-coded 8080 and every CLI command
   under test fell back to http://localhost:8080.
   
   - airflowctl: add AIRFLOW_CLI_API_URL as the default API URL. It is
     resolved at call time for 'auth login' and 'auth token' when
     --api-url is not given, and is the client fallback when no URL is
     stored in the credentials (this also covers 'version --remote'
     without credentials).
   - Compose quickstart: publish the API server on the host port given by
     AIRFLOW_API_SERVER_PORT (default 8080) and document the variable.
   - Integration harness: export AIRFLOW_API_SERVER_PORT derived from
     HOST_PORT before compose up, and pass AIRFLOW_CLI_API_URL to every
     CLI command.
   
   The defaults stay at localhost:8080, so CI behaviour does not change.
   (cherry picked from commit f3b4fec993aa879e013819d3d07e499dd0b4cf7d)
   
   Co-authored-by: Shahar Epstein <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [PR] [airflow-ctl/v0-1-test] ... github-actions[bot] (via GitHub) via commits

Reply via email to