Skip to content

Commit 314e3e1

Browse files
committed
add nee buildspec
1 parent e857955 commit 314e3e1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

buildspec/linuxTests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
# followed by Error: Could not delete obsolete instance handle Error: ENOENT: no such file or directory, unlink <path>
1414
AWS_TOOLKIT_TEST_CACHE_DIR: '/tmp/.vscode-test/'
1515
AWS_TOOLKIT_TEST_USER_DIR: '/tmp/.vscode-test/user-data/'
16-
GITHUB_TOKEN: $GITHUB_READONLY_TOKEN
16+
VSCODE_RIPGREP_TOKEN: ${GITHUB_READONLY_TOKEN}
1717

1818
phases:
1919
install:

buildspec/packageTestVsix.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
AWS_TOOLKIT_TEST_USER_DIR: '/tmp/'
99
# needed or else webpack will cause it to run out of memory
1010
NODE_OPTIONS: '--max-old-space-size=8192'
11-
GITHUB_TOKEN: $GITHUB_READONLY_TOKEN
11+
# VSCODE_RIPGREP_TOKEN will be set in pre_build phase
1212

1313
phases:
1414
install:
@@ -21,6 +21,9 @@ phases:
2121
pre_build:
2222
commands:
2323
- export HOME=/home/codebuild-user
24+
# Set up VSCODE_RIPGREP_TOKEN for GitHub API access
25+
- export VSCODE_RIPGREP_TOKEN=${GITHUB_READONLY_TOKEN}
26+
- echo "Setting up VSCODE_RIPGREP_TOKEN for GitHub API access"
2427
- bash buildspec/shared/linux-pre_build.sh
2528

2629
build:

0 commit comments

Comments
 (0)