forked from ets-berkeley-edu/suitec
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuildspec.yml
More file actions
34 lines (31 loc) · 829 Bytes
/
buildspec.yml
File metadata and controls
34 lines (31 loc) · 829 Bytes
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
version: 0.1
eb_codebuild_settings:
CodeBuildServiceRole: arn:aws:iam::234923831700:role/service-role/codebuild-suitec-service-role
ComputeType: BUILD_GENERAL1_MEDIUM
Image: aws/codebuild/nodejs:6.3.1
Timeout: 60
phases:
install:
commands:
- chmod 755 ./scripts/generate-build-stats.sh && ./scripts/generate-build-stats.sh
- npm i -g npm@3.10.10
- npm install
- npm install -g bower
- npm install -g gulp
pre_build:
commands:
- echo "pre_build phase"
build:
commands:
- sudo ./node_modules/.bin/bower install --allow-root
- sudo ./node_modules/.bin/gulp build --allow-root
post_build:
commands:
- echo "post_build phase"
artifacts:
files:
- '.ebextensions/*'
- '.elasticbeanstalk/*'
- '.gitignore'
- '.npmrc'
- '**/*'