Skip to content
Open
Changes from all commits
Commits
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
6 changes: 4 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ function lint() {

## deps - updates project dependencies to latest
function deps() {
npm config set registry https://registry.npmjs.org/ --project
npm cache clean --force
npm update --save
npm config delete registry --project
}

# write_e2e_env - Loads secrets from the gcloud project and writes
Expand Down Expand Up @@ -111,8 +114,7 @@ function write_e2e_env(){
fi

echo "Getting test secrets from $TEST_PROJECT into $outfile"
local_user=$(gcloud auth list --format 'value(account)' | tr -d '\n')

local_user=$(gcloud auth list --format 'value(account)' | grep '@google.com' | tr -d '\n')
echo "Getting test secrets from $TEST_PROJECT into $1"
{
for env_name in "${secret_vars[@]}" ; do
Expand Down
Loading