Skip to content

Commit 9bd7bbc

Browse files
committed
Add support for second server
1 parent c192eaa commit 9bd7bbc

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

.drone.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
kind: pipeline
33
type: ssh
4-
name: default
4+
name: HestiaCP + Nginx + Apache2
55

66
concurrency:
77
limit: 1
@@ -19,60 +19,61 @@ platform:
1919
arch: amd64
2020

2121
steps:
22-
- name: submodules
22+
- name: Down submodules
2323
image: alpine/git
2424
commands:
2525
- git submodule update --init --recursive
2626
- name: build-install
2727
commands:
2828
- ./src/hst_autocompile.sh --hestia --install '~localsrc'
29-
- name: bash-test
29+
- name: Run Bats
3030
commands:
3131
- bats ./test/test.bats
32-
- name: php-test
32+
- name: Run Check PHP
3333
commands:
3434
- ./test/check_php.sh
3535

3636
trigger:
37-
event: [ push ]
37+
event: [ push, pull_request ]
3838

3939
---
4040
kind: pipeline
4141
type: ssh
42-
name: pull-request
42+
name: HestiaCP + Nginx
4343

4444
concurrency:
45-
limit: 1
45+
limit: 1
4646

4747
server:
4848
host:
49-
from_secret: server_address
49+
from_secret: server_address2
5050
user:
5151
from_secret: username
5252
ssh_key:
5353
from_secret: ssh_key
5454

5555
platform:
56-
os: linux
57-
arch: amd64
58-
56+
os: linux
57+
arch: amd64
58+
5959
steps:
60-
- name: submodules
60+
- name: Down submodules
6161
image: alpine/git
6262
commands:
6363
- git submodule update --init --recursive
6464
- name: build-install
6565
commands:
6666
- ./src/hst_autocompile.sh --hestia --install '~localsrc'
67-
- name: bash-test
67+
- name: Run Bats
6868
commands:
6969
- bats ./test/test.bats
70-
- name: php-test
70+
- name: Run Check PHP
7171
commands:
7272
- ./test/check_php.sh
7373

7474
trigger:
75-
event: [ pull_request ]
75+
event: [ push, pull_request ]
76+
7677
---
7778
kind: signature
78-
hmac: 05165282c2f9b98afd11675dc98c99c4037d1672485eca49f462dc946c120a68
79+
hmac: 206d86147c4ee57339c4af654f073c0d2f136f591c890eb4244ccaef087c433f

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [Development]
5+
6+
### Features
7+
8+
- Add support for automated testing HestiaCP code
9+
410
## [1.4.7] - Service release
511

612
### Bugfixes

0 commit comments

Comments
 (0)