Skip to content

Commit

Permalink
GEODE-6091: Pass same environment to main CI as to pull-requests. (ap…
Browse files Browse the repository at this point in the history
…ache#2895)

* GEODE-6091: Pass same environment to main CI as to pull-requests.

* Go the other direction: remove UPSTREAM_FORK variable from main, pull-request pipelines.  Always use prefixed image family.
  • Loading branch information
PurelyApplied authored and robbadler committed Nov 26, 2018
1 parent 6cb36a7 commit 8e3cbbe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion ci/pipelines/pull-request/jinja.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ jobs:
CPUS: {{test.CPUS}}
GEODE_BRANCH: {{repository.branch}}
GEODE_FORK: {{repository.fork}}
UPSTREAM_FORK: ((upstream-fork))
GCP_PROJECT: ((gcp-project))
RAM: {{test.RAM}}
JAVA_BUILD_VERSION: {{ java_build_version.version }}
Expand Down
5 changes: 1 addition & 4 deletions ci/scripts/create_instance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,9 @@ SANITIZED_GEODE_FORK=$(getSanitizedFork ${GEODE_FORK})
SANITIZED_BUILD_PIPELINE_NAME=$(sanitizeName ${BUILD_PIPELINE_NAME})
SANITIZED_BUILD_JOB_NAME=$(sanitizeName ${BUILD_JOB_NAME})
SANITIZED_BUILD_NAME=$(sanitizeName ${BUILD_NAME})
IMAGE_FAMILY_PREFIX=""
IMAGE_FAMILY_PREFIX="${SANITIZED_GEODE_FORK}-${SANITIZED_GEODE_BRANCH}-"
WINDOWS_PREFIX=""

if [[ "${SANITIZED_GEODE_FORK}" != "${UPSTREAM_FORK}" ]]; then
IMAGE_FAMILY_PREFIX="${SANITIZED_GEODE_FORK}-${SANITIZED_GEODE_BRANCH}-"
fi

if [[ "${SANITIZED_BUILD_JOB_NAME}" =~ [Ww]indows ]]; then
WINDOWS_PREFIX="windows-"
Expand Down

0 comments on commit 8e3cbbe

Please sign in to comment.