Skip to content

Commit

Permalink
Remove reference to local key
Browse files Browse the repository at this point in the history
Signed-off-by: Ram Cohen <[email protected]>
  • Loading branch information
RamCohen committed Jun 27, 2022
1 parent d20302f commit fb21f94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/scalers/gcp-pubsub.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import * as tmp from 'tmp'
import test from 'ava'
import { createNamespace, sleep, waitForDeploymentReplicaCount } from './helpers';

//const gcpKey = process.env['GCP_SP_KEY'] || ''
const gcpKey = fs.readFileSync('/mnt/c/Users/ramcohen/Downloads/nth-hybrid-341214-e17dce826df7.json', 'utf-8')
const gcpKey = process.env['GCP_SP_KEY'] || ''
const projectId = JSON.parse(gcpKey).project_id
const gcpAccount = JSON.parse(gcpKey).client_email
const testNamespace = 'gcp-pubsub-test'
Expand Down

0 comments on commit fb21f94

Please sign in to comment.