-
Notifications
You must be signed in to change notification settings - Fork 2
/
acquia-pipelines.yml
53 lines (51 loc) · 1.25 KB
/
acquia-pipelines.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
version: 1.1.0
services:
- mysql
- php:
version: 7.2
variables:
global:
COMPOSER_BIN: $SOURCE_DIR/vendor/bin
BLT_DIR: $SOURCE_DIR/vendor/acquia/blt
events:
build:
steps:
- setup-env:
type: script
script:
- composer validate --no-check-all --ansi
- composer install --ansi
- source ${BLT_DIR}/scripts/pipelines/setup_env
# - nvm install v6.9.1
# - npm install --global yarn
- validate:
type: script
script:
- source ${BLT_DIR}/scripts/pipelines/validate
- setup-app:
type: script
script:
- source ${BLT_DIR}/scripts/pipelines/setup_app
- tests:
type: script
script:
- source ${BLT_DIR}/scripts/pipelines/tests
- build-artifact:
type: script
script:
- source ${BLT_DIR}/scripts/pipelines/build_artifact
post-deploy:
steps:
- deploy:
script:
- pipelines-deploy
pr-merged:
steps:
- deploy:
script:
- pipelines-deploy
pre-closed:
steps:
- deploy:
script:
- pipelines-deploy