-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcodebuild-buildspec-test.yml
More file actions
44 lines (43 loc) · 1.08 KB
/
codebuild-buildspec-test.yml
File metadata and controls
44 lines (43 loc) · 1.08 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
37
38
39
40
41
42
43
44
version: 0.2
env:
#variables:
# key: "value"
# key: "value"
parameter-store:
PT_PROJECT: "/CodeBuild/homepage/PT_PROJECT"
PT_TOKEN: "/CodeBuild/homepage/PT_TOKEN"
GOOGLE_MAPS_API_KEY: "/CodeBuild/homepage/GOOGLE_MAPS_API_KEY"
SENTRY_AUTH_TOKEN: "/CodeBuild/homepage/SENTRY_AUTH_TOKEN"
SENTRY_ORG: "/CodeBuild/homepage/SENTRY_ORG"
SENTRY_PROJECT: "/CodeBuild/homepage/SENTRY_PROJECT"
phases:
install:
runtime-versions:
nodejs: 22
commands:
- n 22
- set
- sysctl fs.inotify.max_user_watches
- sysctl fs.inotify.max_user_watches=524288
- sysctl fs.inotify.max_user_watches
pre_build:
commands:
- chmod a+x -R bin/* scripts/*.sh
- bin/codebuild-setup.sh
build:
commands:
- set
- bin/codebuild-test.sh
reports:
coverage-report:
files:
- 'coverage/cobertura-coverage.xml'
file-format: 'COBERTURAXML'
artifacts:
files:
- 'coverage/**/*'
- 'playwright/.results/**/trace.zip'
name: builds/$CODEBUILD_BUILD_NUMBER/coverage
cache:
paths:
- '/root/.npm/**/*'