forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
78 lines (67 loc) · 1.21 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
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
---
kind: pipeline
type: ssh
name: default
concurrency:
limit: 1
server:
host:
from_secret: server_address
user:
from_secret: username
ssh_key:
from_secret: ssh_key
platform:
os: linux
arch: amd64
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build-install
commands:
- ./src/hst_autocompile.sh --hestia --install '~localsrc'
- name: bash-test
commands:
- bats ./test/test.bats
- name: php-test
commands:
- ./test/check_php.sh
trigger:
event: [ push ]
---
kind: pipeline
type: ssh
name: pull-request
concurrency:
limit: 1
server:
host:
from_secret: server_address
user:
from_secret: username
ssh_key:
from_secret: ssh_key
platform:
os: linux
arch: amd64
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build-install
commands:
- ./src/hst_autocompile.sh --hestia --install '~localsrc'
- name: bash-test
commands:
- bats ./test/test.bats
- name: php-test
commands:
- ./test/check_php.sh
trigger:
event: [ pull_request ]
---
kind: signature
hmac: 05165282c2f9b98afd11675dc98c99c4037d1672485eca49f462dc946c120a68