This is an automated email from the ASF dual-hosted git repository. onichols pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push: new beb898c GEODE-9775: fix remaining pipelines to support k8s (#7099) beb898c is described below commit beb898c1fa06fc488a553faae2c7d03e0428782b Author: Owen Nichols <34043438+onichols-pivo...@users.noreply.github.com> AuthorDate: Tue Nov 9 13:13:38 2021 -0800 GEODE-9775: fix remaining pipelines to support k8s (#7099) --- ci/pipelines/examples/deploy_pipeline.sh | 10 ---------- ci/pipelines/mass-test-run/deploy_pipeline.sh | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/ci/pipelines/examples/deploy_pipeline.sh b/ci/pipelines/examples/deploy_pipeline.sh index 261912b..287f653 100755 --- a/ci/pipelines/examples/deploy_pipeline.sh +++ b/ci/pipelines/examples/deploy_pipeline.sh @@ -44,16 +44,6 @@ if [ "${GEODE_BRANCH}" = "HEAD" ]; then exit 1 fi -MY_NAME=$(curl -s "http://metadata.google.internal/computeMetadata/v1/instance/name" -H "Metadata-Flavor: Google") -MY_ZONE=$(curl -s "http://metadata.google.internal/computeMetadata/v1/instance/zone" -H "Metadata-Flavor: Google") -MY_ZONE=${MY_ZONE##*/} -NETWORK_INTERFACE_INFO="$(gcloud compute instances describe ${MY_NAME} --zone ${MY_ZONE} --format="json(networkInterfaces)")" -GCP_NETWORK=$(echo ${NETWORK_INTERFACE_INFO} | jq -r '.networkInterfaces[0].network') -GCP_NETWORK=${GCP_NETWORK##*/} -GCP_SUBNETWORK=$(echo ${NETWORK_INTERFACE_INFO} | jq -r '.networkInterfaces[0].subnetwork') -GCP_SUBNETWORK=${GCP_SUBNETWORK##*/} -ENV_ID=$(echo ${GCP_NETWORK} | awk -F- '{ print $1}') - pushd ${SCRIPTDIR} 2>&1 > /dev/null cat > repository.yml <<YML diff --git a/ci/pipelines/mass-test-run/deploy_pipeline.sh b/ci/pipelines/mass-test-run/deploy_pipeline.sh index 0a48277..f3255fd 100755 --- a/ci/pipelines/mass-test-run/deploy_pipeline.sh +++ b/ci/pipelines/mass-test-run/deploy_pipeline.sh @@ -40,16 +40,6 @@ fi echo "Sanitized Geode Fork = ${SANITIZED_GEODE_FORK}" echo "Sanitized Geode Branch = ${SANITIZED_GEODE_BRANCH}" -MY_NAME=$(curl -s "http://metadata.google.internal/computeMetadata/v1/instance/name" -H "Metadata-Flavor: Google") -MY_ZONE=$(curl -s "http://metadata.google.internal/computeMetadata/v1/instance/zone" -H "Metadata-Flavor: Google") -MY_ZONE=${MY_ZONE##*/} -NETWORK_INTERFACE_INFO="$(gcloud compute instances describe ${MY_NAME} --zone ${MY_ZONE} --format="json(networkInterfaces)")" -GCP_NETWORK=$(echo ${NETWORK_INTERFACE_INFO} | jq -r '.networkInterfaces[0].network') -GCP_NETWORK=${GCP_NETWORK##*/} -GCP_SUBNETWORK=$(echo ${NETWORK_INTERFACE_INFO} | jq -r '.networkInterfaces[0].subnetwork') -GCP_SUBNETWORK=${GCP_SUBNETWORK##*/} -ENV_ID=$(echo ${GCP_NETWORK} | awk -F- '{ print $1}') - #echo "DEBUG INFO *****************************" #echo "Pipeline prefix = ${PIPELINE_PREFIX}" #echo "Docker image prefix = ${DOCKER_IMAGE_PREFIX}"