From 4fa73bd2f9314db4221d90cb7b3f458b9005564a Mon Sep 17 00:00:00 2001 From: Alexander Fenster Date: Wed, 28 Mar 2018 18:42:01 -0700 Subject: [PATCH] chore: one more workaround for repo-tools EPERM (#37) --- packages/google-privacy-dlp/.circleci/config.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/google-privacy-dlp/.circleci/config.yml b/packages/google-privacy-dlp/.circleci/config.yml index b29ad439113..3d524c84de4 100644 --- a/packages/google-privacy-dlp/.circleci/config.yml +++ b/packages/google-privacy-dlp/.circleci/config.yml @@ -189,6 +189,10 @@ jobs: command: | mkdir -p /home/node/.npm-global 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 environment: NPM_CONFIG_PREFIX: /home/node/.npm-global @@ -228,7 +232,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