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

Commit

Permalink
Renamed the builder pipeline. (#260)
Browse files Browse the repository at this point in the history
* Renamed the builder pipeline.

* Renamed the builder pipeline in the builder definition too.
  • Loading branch information
Takashi Matsuo authored Apr 20, 2017
1 parent d564031 commit 2c0836c
Show file tree
Hide file tree
Showing 25 changed files with 7 additions and 7 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion builder/php-latest.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- name: 'gcr.io/gcp-runtimes/php/create-dockerfile:latest'
- name: 'gcr.io/gcp-runtimes/php/gen-dockerfile:latest'
- name: 'gcr.io/cloud-builders/docker:latest'
args: ['build', '-t', '$_OUTPUT_IMAGE', '.']
images:
Expand Down
2 changes: 1 addition & 1 deletion php-nginx/composer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ EOF
rm -rf ${APP_DIR}/vendor

# Auto install extensions
php -d auto_prepend_file='' /tmp/install_extensions.php ${APP_DIR}/composer.json ${PHP_DIR}/lib/conf.d/extensions.ini ${PHP_VERSION}
php /tmp/install_extensions.php ${APP_DIR}/composer.json ${PHP_DIR}/lib/conf.d/extensions.ini ${PHP_VERSION}

# Run Composer.
cd ${APP_DIR} && \
Expand Down
2 changes: 1 addition & 1 deletion php-nginx/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ if [ -x "${PHP56_DIR}/bin/php56-enmod" ]; then
fi

# Whitelist functions
${PHP_DIR}/bin/php /whitelist_functions.php
${PHP_DIR}/bin/php -d auto_prepend_file='' /whitelist_functions.php

# Remove loose php-cli.ini
rm /opt/php/lib/php-cli.ini
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ build_image php70_custom testapps/php70_custom
build_image php70_extensions testapps/php70_extensions
build_image php71_custom testapps/php71_custom
build_image php71_extensions testapps/php71_extensions
build_image create-dockerfile builder/create-dockerfile
build_image php/gen-dockerfile builder/gen-dockerfile

if [ -z "${RUN_E2E_TESTS}" ]; then
echo 'E2E test skipped'
Expand Down
4 changes: 2 additions & 2 deletions scripts/run_builder_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [ -z "${GOOGLE_PROJECT_ID}" ]; then
fi

# Export some image names
export CREATE_DOCKERFILE="gcr.io/${GOOGLE_PROJECT_ID}/create-dockerfile:${TAG}"
export GEN_DOCKERFILE="gcr.io/${GOOGLE_PROJECT_ID}/php/gen-dockerfile:${TAG}"
export TEST_RUNNER="gcr.io/${GOOGLE_PROJECT_ID}/php-test-runner:${TAG}"

SRC_TMP=$(mktemp -d)
Expand All @@ -35,7 +35,7 @@ SRC_DIR="${SRC_TMP}/${DIR}"
mkdir -p $(dirname ${SRC_DIR})
cp -R "${DIR}" "${SRC_DIR}"

envsubst '{$CREATE_DOCKERFILE},${TEST_RUNNER}' \
envsubst '{$GEN_DOCKERFILE},${TEST_RUNNER}' \
< "${SRC_DIR}/cloudbuild.yaml.in" \
> "${SRC_DIR}/cloudbuild.yaml"

Expand Down
2 changes: 1 addition & 1 deletion testapps/builder_test/cloudbuild.yaml.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
steps:
- name: '${CREATE_DOCKERFILE}'
- name: '${GEN_DOCKERFILE}'
- name: '${TEST_RUNNER}'

0 comments on commit 2c0836c

Please sign in to comment.