potiuk commented on PR #761:
URL: https://github.com/apache/airflow-site/pull/761#issuecomment-1507447346

   BTW., The `--dry-run` command shows copy-pasteable command that you can run 
manually to see what breeze does. - then you can apply any modification to 
those or try to mimic it manually.
   
   This is the actual command when I run it on my machine:
   ```
   AIRFLOW_CI_IMAGE="ghcr.io/apache/airflow/main/ci/python3.7" \
   AIRFLOW_CI_IMAGE_WITH_TAG="ghcr.io/apache/airflow/main/ci/python3.7" \
   AIRFLOW_CONSTRAINTS_MODE="constraints-source-providers" \
   AIRFLOW_CONSTRAINTS_REFERENCE="constraints-main" \
   AIRFLOW_ENABLE_AIP_44="true" \
   AIRFLOW_ENABLE_AIP_52="true" \
   AIRFLOW_EXTRAS="devel_ci" \
   AIRFLOW_IMAGE_KUBERNETES="" \
   AIRFLOW_PROD_IMAGE="ghcr.io/apache/airflow/main/ci/python3.7" \
   AIRFLOW_SOURCES="" \
   AIRFLOW_VERSION="" \
   ANSWER="" \
   BACKEND="" \
   BASE_BRANCH="" \
   BREEZE="true" \
   BREEZE_INIT_COMMAND="" \
   CI="false" \
   CI_BUILD_ID="0" \
   CI_EVENT_TYPE="pull_request" \
   CI_JOB_ID="0" \
   CI_TARGET_BRANCH="main" \
   CI_TARGET_REPO="apache/airflow" \
   COLLECT_ONLY="false" \
   COMMIT_SHA="COMMIT_SHA_NOT_FOUND" \
   COMPOSE_FILE="" \
   DB_RESET="" \
   DEFAULT_BRANCH="main" \
   DEFAULT_CONSTRAINTS_BRANCH="constraints-main" \
   DEV_MODE="" \
   ENABLED_SYSTEMS="" \
   ENABLE_TEST_COVERAGE="false" \
   FLOWER_HOST_PORT="25555" \
   GITHUB_ACTIONS="false" \
   HOST_GROUP_ID="" \
   HOST_OS="linux" \
   HOST_USER_ID="" \
   INIT_SCRIPT_FILE="init.sh" \
   INSTALL_AIRFLOW_VERSION="" \
   INSTALL_PACKAGES_FROM_CONTEXT="false" \
   INSTALL_PROVIDERS_FROM_SOURCES="false" \
   ISSUE_ID="" \
   LOAD_DEFAULT_CONNECTIONS="" \
   LOAD_EXAMPLES="" \
   MSSQL_DATA_VOLUME="" \
   MSSQL_HOST_PORT="21433" \
   MSSQL_VERSION="" \
   MYSQL_HOST_PORT="23306" \
   MYSQL_VERSION="" \
   NUM_RUNS="" \
   PACKAGE_FORMAT="" \
   POSTGRES_HOST_PORT="25433" \
   POSTGRES_VERSION="" \
   PYTHONDONTWRITEBYTECODE="true" \
   PYTHON_MAJOR_MINOR_VERSION="3.7" \
   REDIS_HOST_PORT="26379" \
   REMOVE_ARM_PACKAGES="false" \
   RUN_SYSTEM_TESTS="false" \
   RUN_TESTS="false" \
   SKIP_CONSTRAINTS="" \
   SKIP_ENVIRONMENT_INITIALIZATION="" \
   SKIP_PROVIDER_TESTS="" \
   SKIP_SSH_SETUP="false" \
   SQLITE_URL="" \
   SSH_PORT="12322" \
   START_AIRFLOW="" \
   SUSPENDED_PROVIDERS_FOLDERS="" \
   TEST_TIMEOUT="60" \
   TEST_TYPE="" \
   UPGRADE_BOTO="" \
   UPGRADE_TO_NEWER_DEPENDENCIES="false" \
   USE_AIRFLOW_VERSION="" \
   USE_PACKAGES_FROM_DIST="" \
   VERBOSE="false" \
   VERBOSE_COMMANDS="false" \
   VERSION_SUFFIX_FOR_PYPI="" \
   WEBSERVER_HOST_PORT="28080" \
   WHEEL_VERSION="0.36.2" \
   docker run -t --mount 
type=bind,src=/home/jarek/code/airflow/.bash_aliases,dst=/root/.bash_aliases 
--mount 
type=bind,src=/home/jarek/code/airflow/.bash_history,dst=/root/.bash_history 
--mount type=bind,src=/home/jarek/code/airflow/.build,dst=/opt/airflow/.build 
--mount 
type=bind,src=/home/jarek/code/airflow/.coveragerc,dst=/opt/airflow/.coveragerc 
--mount 
type=bind,src=/home/jarek/code/airflow/.dockerignore,dst=/opt/airflow/.dockerignore
 --mount 
type=bind,src=/home/jarek/code/airflow/.github,dst=/opt/airflow/.github --mount 
type=bind,src=/home/jarek/code/airflow/.inputrc,dst=/root/.inputrc --mount 
type=bind,src=/home/jarek/code/airflow/.rat-excludes,dst=/opt/airflow/.rat-excludes
 --mount 
type=bind,src=/home/jarek/code/airflow/BREEZE.rst,dst=/opt/airflow/BREEZE.rst 
--mount type=bind,src=/home/jarek/code/airflow/LICENSE,dst=/opt/airflow/LICENSE 
--mount 
type=bind,src=/home/jarek/code/airflow/MANIFEST.in,dst=/opt/airflow/MANIFEST.in 
--mount type=bind,src=/home/jarek/code/airflow/NOTIC
 E,dst=/opt/airflow/NOTICE --mount 
type=bind,src=/home/jarek/code/airflow/RELEASE_NOTES.rst,dst=/opt/airflow/RELEASE_NOTES.rst
 --mount 
type=bind,src=/home/jarek/code/airflow/airflow,dst=/opt/airflow/airflow --mount 
type=bind,src=/home/jarek/code/airflow/constraints,dst=/opt/airflow/constraints 
--mount 
type=bind,src=/home/jarek/code/airflow/provider_packages,dst=/opt/airflow/provider_packages
 --mount type=bind,src=/home/jarek/code/airflow/dags,dst=/opt/airflow/dags 
--mount type=bind,src=/home/jarek/code/airflow/dev,dst=/opt/airflow/dev --mount 
type=bind,src=/home/jarek/code/airflow/docs,dst=/opt/airflow/docs --mount 
type=bind,src=/home/jarek/code/airflow/generated,dst=/opt/airflow/generated 
--mount type=bind,src=/home/jarek/code/airflow/hooks,dst=/opt/airflow/hooks 
--mount type=bind,src=/home/jarek/code/airflow/images,dst=/opt/airflow/images 
--mount type=bind,src=/home/jarek/code/airflow/logs,dst=/root/airflow/logs 
--mount type=bind,src=/home/jarek/code/airflow/pyproject.toml,dst=/opt
 /airflow/pyproject.toml --mount 
type=bind,src=/home/jarek/code/airflow/scripts,dst=/opt/airflow/scripts --mount 
type=bind,src=/home/jarek/code/airflow/scripts/docker/entrypoint_ci.sh,dst=/entrypoint
 --mount 
type=bind,src=/home/jarek/code/airflow/setup.cfg,dst=/opt/airflow/setup.cfg 
--mount 
type=bind,src=/home/jarek/code/airflow/setup.py,dst=/opt/airflow/setup.py 
--mount type=bind,src=/home/jarek/code/airflow/tests,dst=/opt/airflow/tests 
--mount 
type=bind,src=/home/jarek/code/airflow/kubernetes_tests,dst=/opt/airflow/kubernetes_tests
 --mount 
type=bind,src=/home/jarek/code/airflow/docker_tests,dst=/opt/airflow/docker_tests
 --mount type=bind,src=/home/jarek/code/airflow/chart,dst=/opt/airflow/chart 
--mount type=bind,src=/home/jarek/code/airflow/files,dst=/files --mount 
type=bind,src=/home/jarek/code/airflow/dist,dst=/dist --rm --env-file 
/home/jarek/code/airflow/scripts/ci/docker-compose/_docker.env --pull never 
ghcr.io/apache/airflow/main/ci/python3.7 /opt/airflow/scripts/in_container
 /run_docs_build.sh
   ```
   
   When you remove the last scripts, you will enter breeze env and you will be 
able to manually run the script.


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to