Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4227128
Removes all composer.lock files
bshaffer Sep 22, 2018
2e6d13d
trick travis into skipping all tests on master
bshaffer Sep 22, 2018
a90fe49
adds test for cloudsql proxy
bshaffer Sep 24, 2018
72cbeb8
fixes cloud task tests
bshaffer Sep 24, 2018
1a4cdfc
skips devserver tests
bshaffer Sep 24, 2018
2c277b1
modernizes DLP tests
bshaffer Sep 24, 2018
b460788
fixes and modernizes language tests
bshaffer Sep 24, 2018
c188aec
another dlp test fix
bshaffer Sep 24, 2018
32bd314
fixes and modernizes pubsub api test
bshaffer Sep 24, 2018
dbb20f7
somewhat fixes broken cloud tasks tests
bshaffer Sep 24, 2018
76c3aea
fixes dlp fatal error
bshaffer Sep 25, 2018
4b2a1dd
fixes logging tests
bshaffer Sep 25, 2018
15457cb
fixes video tests
bshaffer Sep 25, 2018
9796f17
fixes from cs fixer
bshaffer Sep 25, 2018
2fe88b3
removes debugging proxy (oops)
bshaffer Sep 25, 2018
e7f106b
kms test refactoring
bshaffer Sep 25, 2018
7a9d5cd
refactor firestore tests
bshaffer Sep 25, 2018
5bc3f00
updates all pre 1.0 apis to use flexible semantics
bshaffer Sep 25, 2018
69c9d6d
sets up phpversion-specific projects
bshaffer Sep 25, 2018
b2f0c84
updates secrests.enc
bshaffer Sep 25, 2018
6cfc22c
updates secrets-example.sh
bshaffer Sep 25, 2018
0171679
fixes logging for multi-project tests
bshaffer Sep 26, 2018
6c78bf3
updates env vars
bshaffer Sep 26, 2018
c43d5f0
misc fixes
bshaffer Sep 26, 2018
6f35ac5
have kokoro run dlp tests in a separate project
bshaffer Sep 26, 2018
589b0ab
updates secrets
bshaffer Sep 26, 2018
992dfc0
adds project splitting to monitoring
bshaffer Sep 26, 2018
8eeaaa7
enables unique project tests for dialogflow
bshaffer Sep 26, 2018
6af1af4
removes newlines
bshaffer Sep 26, 2018
5b149b3
fix dlp tests for multiple projects
bshaffer Sep 26, 2018
606acfe
fixes monitoring and kms tests
bshaffer Sep 26, 2018
28b7316
sets up phpversion-specific projects
bshaffer Sep 26, 2018
53a14d7
temporary fix for firestore project
bshaffer Sep 26, 2018
576cd33
adds pubsub to multi-project
bshaffer Sep 26, 2018
6e04807
makes storage requester-pays run on separate buckets
bshaffer Sep 26, 2018
32cd3d8
cleans up kokoro env
bshaffer Sep 26, 2018
d923327
removes travis
bshaffer Sep 26, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
*~
*.iml
composer.phar
composer.lock
vendor/
credentials.*
**/vendor/
**/build/
.php_cs.cache
.vscode/
iap/composer.lock
.kokoro/secrets.sh
1 change: 0 additions & 1 deletion .kokoro/docker/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ RUN gcloud config set app/promote_by_default false && \
gcloud -q components update

ENTRYPOINT /bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is more appropriate to define those env vars is in kokoro build config. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!


11 changes: 5 additions & 6 deletions .kokoro/docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
.PHONY: all build push php56 php70 php71 php72

all:
make build
make push

php56:
mkdir -p php56
sed -e 's/PHP_VERSION/php56/g' Dockerfile.template > php56/Dockerfile
echo "# Add steps specific to PHP 5.6" >> php56/Dockerfile
echo "RUN apt-get install -y php5-cgi" >> php56/Dockerfile
echo "RUN rm /opt/php56/lib/ext.enabled/ext-memcached.ini" >> php56/Dockerfile
echo "ENV RUN_DEVSERVER_TESTS=true" >> php56/Dockerfile
echo "ENV RUN_CS_FIXER=true\n" >> php56/Dockerfile

php70:
Expand All @@ -43,7 +46,3 @@ push:
docker push gcr.io/cloud-devrel-kokoro-resources/php70
docker push gcr.io/cloud-devrel-kokoro-resources/php71
docker push gcr.io/cloud-devrel-kokoro-resources/php72

all:
make build
make push
6 changes: 6 additions & 0 deletions .kokoro/php56.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/php56"
}

# Give the docker image a unique project ID per PHP version
env_vars: {
key: "GOOGLE_ALT_PROJECT_ID"
value: "php-docs-samples-php56"
}
6 changes: 6 additions & 0 deletions .kokoro/php70.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/php70"
}

# Give the docker image a unique project ID per PHP version
env_vars: {
key: "GOOGLE_ALT_PROJECT_ID"
value: "php-docs-samples-php70"
}
6 changes: 6 additions & 0 deletions .kokoro/php71.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/php71"
}

# Give the docker image a unique project ID per PHP version
env_vars: {
key: "GOOGLE_ALT_PROJECT_ID"
value: "php-docs-samples-php71"
}
6 changes: 6 additions & 0 deletions .kokoro/php72.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/php72"
}

# Give the docker image a unique project ID per PHP version
env_vars: {
key: "GOOGLE_ALT_PROJECT_ID"
value: "php-docs-samples-php72"
}
3 changes: 3 additions & 0 deletions .kokoro/secrets-example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export GOOGLE_STORAGE_BUCKET=$GOOGLE_PROJECT_ID
export GOOGLE_CLIENT_ID=
export GOOGLE_CLIENT_SECRET=
export GCLOUD_PROJECT=$GOOGLE_PROJECT_ID
# For running tests in separate projects
export GOOGLE_ALT_PROJECT_ID=$GOOGLE_PROJECT_ID

# AppEngine
export MAILJET_APIKEY=
Expand Down Expand Up @@ -96,6 +98,7 @@ export GOOGLE_SPANNER_DATABASE_ID=test-database
# Storage
export GOOGLE_STORAGE_OBJECT=storage/test_data.csv
export GOOGLE_STORAGE_KMS_KEYNAME=projects/$GOOGLE_PROJECT_ID/locations/us/keyRings/$GOOGLE_KMS_KEYRING/cryptoKeys/storage-bucket
export GOOGLE_REQUESTER_PAYS_STORAGE_BUCKET=$GOOGLE_STORAGE_BUCKET

# Tasks
export CLOUD_TASKS_APPENGINE_QUEUE=
Expand Down
Binary file modified .kokoro/secrets.sh.enc
Binary file not shown.
67 changes: 0 additions & 67 deletions .travis.yml

This file was deleted.

Loading