Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WT-12554 Treat git clone failures as setup failures in Evergreen #10428

Merged
merged 11 commits into from Apr 4, 2024
16 changes: 13 additions & 3 deletions test/evergreen.yml
Expand Up @@ -137,10 +137,21 @@ functions:
echo "build --workspace_status_command=./evergreen/engflow_workspace_status.sh" >> .bazelrc.evergreen_engflow_creds
fi
"get project":
command: git.get_project
- command: git.get_project
type: setup
params:
directory: wiredtiger
- command: shell.exec
jbergler marked this conversation as resolved.
Show resolved Hide resolved
type: setup
params:
shell: bash
working_dir: wiredtiger
script: |
set -o errexit
set -o verbose
if [ "$OS" != "Windows_NT" ] && ! [ -d "./automation-scripts" ]; then
jbergler marked this conversation as resolved.
Show resolved Hide resolved
git clone git@github.com:wiredtiger/automation-scripts.git
fi
"fetch artifacts": &fetch_artifacts
command: s3.get
type: setup
Expand Down Expand Up @@ -297,9 +308,8 @@ functions:
else
echo "Using config flags $DEFINED_EVERGREEN_CONFIG_FLAGS ${posix_configure_flags|}"
# Fetch the gperftools library if needed. This will also get tcmalloc.
if [[ ${ENABLE_TCMALLOC|0} -eq 1 ]] && [ ! -d "./automation-scripts" ]; then
if [[ ${ENABLE_TCMALLOC|0} -eq 1 ]]; then
is_cmake_build=true
git clone git@github.com:wiredtiger/automation-scripts.git
lukech marked this conversation as resolved.
Show resolved Hide resolved
. automation-scripts/evergreen/find_gperftools.sh ${s3_access_key} ${s3_secret_key} ${build_variant} $is_cmake_build
fi
# Compiling with CMake.
Expand Down