Skip to content

Commit 71e931f

Browse files
authored
chore: pick tools config version from cloudbuild.yaml (#91)
* chore: use latest secret version * pick tools config version from integration config * lint
1 parent 93a8193 commit 71e931f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/toolbox-core/integration.cloudbuild.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ steps:
3535
- TOOLBOX_URL=$_TOOLBOX_URL
3636
- TOOLBOX_VERSION=$_TOOLBOX_VERSION
3737
- GOOGLE_CLOUD_PROJECT=$PROJECT_ID
38+
- TOOLBOX_MANIFEST_VERSION=$_TOOLBOX_MANIFEST_VERSION
3839
args:
3940
- '-c'
4041
- npm run test:e2e
@@ -43,3 +44,4 @@ options:
4344
substitutions:
4445
_VERSION: '22.16.0'
4546
_TOOLBOX_VERSION: '0.12.0'
47+
_TOOLBOX_MANIFEST_VERSION: '34'

packages/toolbox-core/test/e2e/jest.globalSetup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default async function globalSetup(): Promise<void> {
4141
const toolsManifest = await accessSecretVersion(
4242
projectId,
4343
'sdk_testing_tools',
44-
'34',
44+
getEnvVar('TOOLBOX_MANIFEST_VERSION'),
4545
);
4646
const toolsFilePath = await createTmpFile(toolsManifest);
4747
(globalThis as CustomGlobal).__TOOLS_FILE_PATH__ = toolsFilePath;

0 commit comments

Comments
 (0)