Compare commits

...

2 Commits

Author SHA1 Message Date
085a3bcb77 [release/1.9] Fix issues regarding binary_chekcout (#58495)
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-18 10:36:16 -07:00
5f0bbb38ec ci: Release branch specific changes
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
2021-05-17 17:30:59 -07:00
3 changed files with 6 additions and 6 deletions

View File

@ -57,9 +57,9 @@ add_to_env_file() {
}
add_to_env_file "IN_CI=1"
add_to_env_file "COMMIT_SOURCE=${CIRCLE_BRANCH:-}"
add_to_env_file "BUILD_ENVIRONMENT=${BUILD_ENVIRONMENT}"
add_to_env_file "CIRCLE_PULL_REQUEST=${CIRCLE_PULL_REQUEST}"
add_to_env_file "COMMIT_SOURCE='${CIRCLE_BRANCH:-}'"
add_to_env_file "BUILD_ENVIRONMENT='${BUILD_ENVIRONMENT}'"
add_to_env_file "CIRCLE_PULL_REQUEST='${CIRCLE_PULL_REQUEST}'"
if [[ "${BUILD_ENVIRONMENT}" == *-build ]]; then

View File

@ -52,9 +52,9 @@ function get_exit_code() {
function file_diff_from_base() {
# The fetch may fail on Docker hosts, this fetch is necessary for GHA
set +e
git fetch origin master --quiet
git fetch origin release/1.9 --quiet
set -e
git diff --name-only "$(git merge-base origin/master HEAD)" > "$1"
git diff --name-only "$(git merge-base origin/release/1.9 HEAD)" > "$1"
}
function get_bazel() {

View File

@ -368,7 +368,7 @@ test_backward_compatibility() {
python -m venv venv
# shellcheck disable=SC1091
. venv/bin/activate
pip_install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip_install --pre torch -f https://download.pytorch.org/whl/test/cpu/torch_test.html
pip show torch
python dump_all_function_schemas.py --filename nightly_schemas.txt
deactivate