Skip to content

Commit

Permalink
Stop calling configure_environment
Browse files Browse the repository at this point in the history
… in main Kokoro build scripts.

Issue: 365150653
Reviewed-on: #4644
  • Loading branch information
dahlstrom-g committed Jan 6, 2025
1 parent 5a10f25 commit dd318a7
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions cobalt/devinfra/kokoro/bin/dind_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@
# Kokoro Instance
# └── Generic DinD Image
# ├── dind_builder_runner.sh
# │ ├── configure_environment (common.sh)
# │ ├── main_build_image_and_run.py
# │ │ └── Specific Cobalt Image
# │ │ └── dind_build.sh <= THIS SCRIPT
# │ └── run_package_release_pipeline (common.sh)
# └── dind_runner.sh
# ├── configure_environment (common.sh)
# ├── main_pull_image_and_run.py
# │ └── Specific Cobalt Image
# │ └── dind_build.sh <= THIS SCRIPT
Expand Down Expand Up @@ -44,8 +42,6 @@ fi

WORKSPACE_COBALT="${KOKORO_ARTIFACTS_DIR}/git/src"

configure_environment

pipeline () {
local out_dir="${WORKSPACE_COBALT}/out/${TARGET_PLATFORM}_${CONFIG}"
local gclient_root="${KOKORO_ARTIFACTS_DIR}/chromium"
Expand Down
4 changes: 0 additions & 4 deletions cobalt/devinfra/kokoro/bin/dind_builder_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@
# Kokoro Instance
# └── Generic DinD Image
# ├── dind_builder_runner.sh <== THIS SCRIPT
# │ ├── configure_environment (common.sh)
# │ ├── main_build_image_and_run.py
# │ │ └── Specific Cobalt Image
# │ │ └── dind_build.sh
# │ └── run_package_release_pipeline (common.sh)
# └── dind_runner.sh
# ├── configure_environment (common.sh)
# ├── main_pull_image_and_run.py
# │ └── Specific Cobalt Image
# │ └── dind_build.sh
Expand All @@ -34,8 +32,6 @@ trap "bash ${WORKSPACE_COBALT}/cobalt/devinfra/kokoro/bin/cleanup.sh" EXIT INT T

configure_dind_environment

configure_environment

set -x
# The python script is responsible for running containerized Cobalt builds.
python3 "${WORKSPACE_COBALT}/cobalt/devinfra/kokoro/bin/dind_py/main_build_image_and_run.py"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@
Kokoro Instance
└── Generic DinD Image
├── dind_builder_runner.sh
│ ├── configure_environment (common.sh)
│ ├── main_build_image_and_run.py <= THIS SCRIPT
│ │ └── Specific Cobalt Image
│ │ └── dind_build.sh
│ └── run_package_release_pipeline (common.sh)
└── dind_runner.sh
├── configure_environment (common.sh)
├── main_pull_image_and_run.py
│ └── Specific Cobalt Image
│ └── dind_build.sh
Expand Down
2 changes: 0 additions & 2 deletions cobalt/devinfra/kokoro/bin/dind_py/main_pull_image_and_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@
Kokoro Instance
└── Generic DinD Image
├── dind_builder_runner.sh
│ ├── configure_environment (common.sh)
│ ├── main_build_image_and_run.py
│ │ └── Specific Cobalt Image
│ │ └── dind_build.sh
│ └── run_package_release_pipeline (common.sh)
└── dind_runner.sh
├── configure_environment (common.sh)
├── main_pull_image_and_run.py <= THIS SCRIPT
│ └── Specific Cobalt Image
│ └── dind_build.sh
Expand Down
4 changes: 0 additions & 4 deletions cobalt/devinfra/kokoro/bin/dind_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@
# Kokoro Instance
# └── Generic DinD Image
# ├── dind_builder_runner.sh
# │ ├── configure_environment (common.sh)
# │ ├── main_build_image_and_run.py
# │ │ └── Specific Cobalt Image
# │ │ └── dind_build.sh
# │ └── run_package_release_pipeline (common.sh)
# └── dind_runner.sh <== THIS SCRIPT
# ├── configure_environment (common.sh)
# ├── main_pull_image_and_run.py
# │ └── Specific Cobalt Image
# │ └── dind_build.sh
Expand All @@ -34,8 +32,6 @@ trap "bash ${WORKSPACE_COBALT}/cobalt/devinfra/kokoro/bin/cleanup.sh" EXIT INT T

configure_dind_environment

configure_environment

set -x
# The python script is responsible for running containerized Cobalt builds.
python3 "${WORKSPACE_COBALT}/cobalt/devinfra/kokoro/bin/dind_py/main_pull_image_and_run.py"
Expand Down

0 comments on commit dd318a7

Please sign in to comment.