-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
43 lines (42 loc) · 1.02 KB
/
.drone.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
pipeline:
restore-cache:
image: drillster/drone-volume-cache
restore: true
mount:
- ./node_modules
volumes:
- /tmp/cache:/cache:z
build:
image: node:9.11
commands:
- npm install --unsafe-perm
- ./build.sh
secrets: [ artifactory_url, artifactory_username, artifactory_password ]
rebuild-cache:
image: drillster/drone-volume-cache
rebuild: true
mount:
- ./node_modules
volumes:
- /tmp/cache:/cache:z
artifactory:
image: athieriot/drone-artifactory
environment:
- DRONE_VERSION=0.8
group_id: org.alambeek
artifact_id: org.alambeek.ide.web
version: 0.1.0-SNAPSHOT
files:
- package/*.tgz
force_upload: true
secrets: [ artifactory_url, artifactory_username, artifactory_password ]
when:
branch: [ master, preview ]
status: [ success ]
slack:
image: plugins/slack
channel: builds
secrets: [ slack_webhook ]
when:
branch: [ master, preview ]
status: [ success, failure ]