Skip to content

Commit

Permalink
Delete Kokoro tests that fail locally
Browse files Browse the repository at this point in the history
For almost all tests, run only `npm run`, do not deploy to App Engine.
Only for the tests in `test-deployment`, check the full deployment.
  • Loading branch information
fhinkel committed Jun 13, 2018
1 parent a427810 commit 849ada3
Show file tree
Hide file tree
Showing 38 changed files with 19 additions and 394 deletions.
13 changes: 0 additions & 13 deletions .kokoro/appengine/analytics-flex.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/analytics-standard.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Set GAE environment
env_vars: {
key: "APPENGINE_ENVIRONMENT"
value: "flexible"
}

# Set the folder in which the tests are run
env_vars: {
key: "PROJECT"
value: "mailjet"
value: "appengine/analytics"
}
53 changes: 0 additions & 53 deletions .kokoro/appengine/build.sh

This file was deleted.

2 changes: 1 addition & 1 deletion .kokoro/appengine/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ env_vars: {
# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-docs-samples/.kokoro/appengine/build.sh"
value: "github/nodejs-docs-samples/.kokoro/build.sh"
}
13 changes: 0 additions & 13 deletions .kokoro/appengine/datastore-flex.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Set GAE environment
env_vars: {
key: "APPENGINE_ENVIRONMENT"
value: "standard"
}

# Set the folder in which the tests are run
env_vars: {
key: "PROJECT"
value: "mailjet"
value: "appengine/datastore"
}
53 changes: 0 additions & 53 deletions .kokoro/appengine/default-yml/build.sh

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/endpoints-flex.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/endpoints-standard.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/errorreporting-flex.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/errorreporting-standard.cfg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
# Format: //devtools/kokoro/config/proto/build.proto

# Set GAE environment
env_vars: {
key: "APPENGINE_ENVIRONMENT"
value: "standard"
}

# Set the folder in which the tests are run
env_vars: {
key: "PROJECT"
value: "datastore"
value: "appengine/mailjet"
}
19 changes: 0 additions & 19 deletions .kokoro/appengine/pubsub-flex.cfg

This file was deleted.

19 changes: 0 additions & 19 deletions .kokoro/appengine/pubsub-standard.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/static-files-flex.cfg

This file was deleted.

13 changes: 0 additions & 13 deletions .kokoro/appengine/static-files-standard.cfg

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ env_vars: {
# Tell the trampoline which build file to use.
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/nodejs-docs-samples/.kokoro/appengine/default-yml/build.sh"
value: "github/nodejs-docs-samples/.kokoro/build-with-appengine.sh"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ env_vars: {
# Set the folder in which the tests are run
env_vars: {
key: "PROJECT"
value: "hello-worl"
value: "hello-world"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ env_vars: {
# Set the folder in which the tests are run
env_vars: {
key: "PROJECT"
value: "hello-worl"
value: "hello-world"
}
2 changes: 0 additions & 2 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# limitations under the License.

export GCLOUD_PROJECT=nodejs-docs-samples-tests

export NODE_ENV=development

cd github/nodejs-docs-samples/${PROJECT}
Expand All @@ -28,7 +27,6 @@ export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/secrets-key.json
gcloud auth activate-service-account --key-file "$GOOGLE_APPLICATION_CREDENTIALS"
gcloud config set project $GCLOUD_PROJECT

# Test the deployed app
npm test

exit $?
13 changes: 0 additions & 13 deletions .kokoro/cloudtasks.cfg

This file was deleted.

Loading

0 comments on commit 849ada3

Please sign in to comment.