-
Notifications
You must be signed in to change notification settings - Fork 793
Expand file tree
/
Copy pathpackageTestVsix.yml
More file actions
36 lines (30 loc) · 1.09 KB
/
packageTestVsix.yml
File metadata and controls
36 lines (30 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: 0.2
# Run unprivileged for most phases (except those marked "run-as: root").
run-as: codebuild-user
env:
variables:
AWS_TOOLKIT_TEST_USER_DIR: '/tmp/'
# needed or else webpack will cause it to run out of memory
NODE_OPTIONS: '--max-old-space-size=8192'
phases:
install:
run-as: root
runtime-versions:
nodejs: 18
commands:
- bash buildspec/shared/linux-install.sh
pre_build:
commands:
- export HOME=/home/codebuild-user
- bash buildspec/shared/linux-pre_build.sh
build:
commands:
- export HOME=/home/codebuild-user
# Generate CHANGELOG.md
- npm run createRelease -w packages/toolkit -w packages/amazonq
- npm run package -w packages/sagemaker-ssh-kiro # Must be built before toolkit (toolkit embeds it)
- npm run package -w packages/toolkit -w packages/amazonq
- rm -f sagemaker-ssh-kiro-*.vsix # Remove standalone VSIX; it's already embedded inside toolkit VSIX
artifacts:
files:
- '*.vsix'