File tree Expand file tree Collapse file tree 5 files changed +49
-0
lines changed Expand file tree Collapse file tree 5 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ # Download trampoline resources. These will be in ${KOKORO_GFILE_DIR}
4
+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
5
+
6
+ # All builds use the trampoline script to run in docker.
7
+ build_file: " php-docs-samples/.kokoro/trampoline.sh"
8
+
9
+ # Configure the docker image for kokoro-trampoline.
10
+ env_vars: {
11
+ key: " TRAMPOLINE_IMAGE"
12
+ value: " gcr.io/cloud-devrel-kokoro-resources/php"
13
+ }
Original file line number Diff line number Diff line change
1
+ FROM gcr.io/google_appengine/php72
2
+
3
+ RUN composer global require phpunit/phpunit:4.8
4
+
5
+ RUN export PATH="$PATH:/opt/composer/vendor/bin"
6
+
7
+ ENTRYPOINT /bin/bash
Original file line number Diff line number Diff line change
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ # Download secrets from Cloud Storage.
4
+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/php-docs-samples"
5
+
6
+ # Tell the trampoline which build file to use.
7
+ env_vars: {
8
+ key: " TRAMPOLINE_BUILD_FILE"
9
+ value: " github/php-docs-samples/.kokoro/system_tests.sh"
10
+ }
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ echo " hello world"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Copyright 2017 Google Inc.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ python3 " ${KOKORO_GFILE_DIR} /trampoline_v1.py"
You can’t perform that action at this time.
0 commit comments