From 27542d6cdee9d2fd8578c31c18e8a9178abd9db4 Mon Sep 17 00:00:00 2001 From: Alexander Fenster Date: Wed, 28 Mar 2018 18:42:16 -0700 Subject: [PATCH] chore: one more workaround for repo-tools EPERM (#33) --- packages/google-cloud-dns/.circleci/config.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/google-cloud-dns/.circleci/config.yml b/packages/google-cloud-dns/.circleci/config.yml index f9592833829..d17d4a2a527 100644 --- a/packages/google-cloud-dns/.circleci/config.yml +++ b/packages/google-cloud-dns/.circleci/config.yml @@ -174,6 +174,10 @@ jobs: name: Install and link the module. command: | npm install + repo_tools="node_modules/@google-cloud/nodejs-repo-tools/bin/tools" + if ! test -x "$repo_tools"; then + chmod +x "$repo_tools" + fi npm link - run: name: Link the module being tested to the samples. @@ -207,7 +211,12 @@ jobs: -k "${SYSTEM_TESTS_ENCRYPTION_KEY}" - run: name: Install modules and dependencies. - command: npm install + command: |- + npm install + repo_tools="node_modules/@google-cloud/nodejs-repo-tools/bin/tools" + if ! test -x "$repo_tools"; then + chmod +x "$repo_tools" + fi - run: name: Run system tests. command: npm run system-test