Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
Use gcloud builds surface. (#455)
Browse files Browse the repository at this point in the history
* Use `gcloud builds` surface.

* Use new `gcloud builds` surface.

* Use new `gcloud builds` surface.
  • Loading branch information
bendory authored and chingor13 committed Jul 24, 2018
1 parent 840f0cd commit 37e1767
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-builder/build_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fi
for VERSION in $(echo ${PHP_VERSIONS} | tr "," "\n")
do
echo "Building packages for PHP ${VERSION}"
gcloud container builds submit . --config=build-packages.yaml \
gcloud builds submit . --config=build-packages.yaml \
--substitutions _PHP_VERSION=${VERSION},_GOOGLE_PROJECT_ID=${GOOGLE_PROJECT_ID},_BUCKET=${BUCKET} \
--timeout=180m
done
4 changes: 2 additions & 2 deletions scripts/build_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ do
> $(dirname ${TEMPLATE})/$(basename -s .in ${TEMPLATE})
done

gcloud container builds submit . \
gcloud builds submit . \
--config "${CLOUDBUILD_CONFIG}" \
--timeout 3600 \
--substitutions _GOOGLE_PROJECT_ID=$GOOGLE_PROJECT_ID,_TAG=$TAG,_RUNTIME_DISTRIBUTION=$RUNTIME_DISTRIBUTION
Expand All @@ -72,7 +72,7 @@ else
echo "Using test build pipeline:"
cat builder/php-test.yaml

gcloud container builds submit . \
gcloud builds submit . \
--config integration-tests.yaml \
--timeout 3600 \
--substitutions _GOOGLE_PROJECT_ID=$GOOGLE_PROJECT_ID,_TAG=$TAG,_SERVICE_ACCOUNT_JSON=$SERVICE_ACCOUNT_JSON,_E2E_PROJECT_ID=$E2E_PROJECT_ID,_RUNTIME_BUILDER_ROOT=file:///workspace/builder/,_TEST_VM_IMAGE=
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_acceptance_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ then
E2E_PROJECT_ID=$GOOGLE_PROJECT_ID
fi

gcloud container builds submit . \
gcloud builds submit . \
--config integration-tests.yaml \
--timeout 3600 \
--substitutions _GOOGLE_PROJECT_ID=$GOOGLE_PROJECT_ID,_TAG=$TAG,_SERVICE_ACCOUNT_JSON=$SERVICE_ACCOUNT_JSON,_E2E_PROJECT_ID=$E2E_PROJECT_ID,_TEST_VM_IMAGE=${TEST_VM_IMAGE},_RUNTIME_BUILDER_ROOT=

0 comments on commit 37e1767

Please sign in to comment.