-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildspec.yml
95 lines (91 loc) · 2.06 KB
/
buildspec.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: 0.2
#
# #run-as: Linux-user-name
# # env:
# # variables:
# # key: "value"
# # key: "value"
# # parameter-store:
# # key: "value"
# # key: "value"
# # exported-variables:
# # - variable
# # - variable
# # secrets-manager:
# # key: secret-id:json-key:version-stage:version-id
# # git-credential-helper: yes
# # proxy:
# # upload-artifacts: yes
# # logs: yes
phases:
install:
# run-as: Linux-user-name
# runtime-versions:
# runtime: version
# runtime: version
commands:
- rbenv install 2.6.3
# - sed -i 's/ruby '2.6.3'/ruby '2.6'/g' Gemfile
- gem install bundle
- bundle install
# - command
# finally:
# - command
# - command
pre_build:
# # run-as: Linux-user-name
commands:
- echo "entered the pre-build phase"
# # - command
# # finally:
# # - command
# # - command
build:
# # run-as: Linux-user-name
commands:
- echo "entered the build phase"
# # - command
# # finally:
# # - command
# # - command
post_build:
# # run-as: Linux-user-name
commands:
- echo "entered the post-build phase"
# # - command
# # finally:
# # - command
# # - command
# # reports:
# # report-name-or-arn:
# # files:
# # - location
# # - location
# # base-directory: location
# # discard-paths: yes
# # file-format: JunitXml | CucumberJson | VisualStudioTrx | TestNGXml
# artifacts:
# files:
# - deploy/**/*
# # - location
# # name: artifact-name
# # discard-paths: yes
# # base-directory: location
# # secondary-artifacts:
# # artifactIdentifier:
# # files:
# # - location
# # - location
# # name: secondary-artifact-name
# # discard-paths: yes
# # base-directory: location
# # artifactIdentifier:
# # files:
# # - location
# # - location
# # discard-paths: yes
# # base-directory: location
# # cache:
# # paths:
# # - path
# # - path