@@ -19,31 +19,31 @@ platform:
1919 arch : amd64
2020
2121steps :
22- - name : Download submodules
23- image : alpine/git
24- commands :
25- - git submodule update --init --recursive
26- - name : Build Hestia package and install
27- commands :
28- - ./src/hst_autocompile.sh --hestia --install '~localsrc'
29- - name : Run system / user tests
30- commands :
31- - bats ./test/test.bats
32- - name : Run restore tests
33- commands :
34- - bats ./test/restore.bats
35- - name : Run config tests
36- commands :
37- - bats ./test/config-tests.bats
22+ - name : Download submodules
23+ image : alpine/git
24+ commands :
25+ - git submodule update --init --recursive
26+ - name : Build Hestia package and install
27+ commands :
28+ - ./src/hst_autocompile.sh --hestia --install '~localsrc'
29+ - name : Run system / user tests
30+ commands :
31+ - bats ./test/test.bats
32+ - name : Run restore tests
33+ commands :
34+ - bats ./test/restore.bats
35+ - name : Run config tests
36+ commands :
37+ - bats ./test/config-tests.bats
3838
3939trigger :
40- event : [ pull_request, push ]
40+ event : [pull_request, push]
4141 ref :
42- - refs/heads/staging/*
43- - refs/heads/beta
44- - refs/heads/release
45- - refs/heads/main
46- - refs/pull/*/head
42+ - refs/heads/staging/*
43+ - refs/heads/beta
44+ - refs/heads/release
45+ - refs/heads/main
46+ - refs/pull/*/head
4747
4848---
4949kind : pipeline
@@ -66,35 +66,35 @@ platform:
6666 arch : amd64
6767
6868steps :
69- - name : Download submodules
70- image : alpine/git
71- commands :
72- - git submodule update --init --recursive
73- - name : Build Hestia package install
74- commands :
75- - ./src/hst_autocompile.sh --hestia --install '~localsrc'
76- - name : Run system / user tests
77- commands :
78- - bats ./test/test.bats
79- - name : Run restore tests
80- commands :
81- - bats ./test/restore.bats
82- - name : Run Letsencrypt test against Staging
83- commands :
84- - cp /root/le-env.sh /tmp/hestia-le-env.sh
85- - bats ./test/letsencrypt.bats
86- - name : Run config tests
87- commands :
88- - bats ./test/config-tests.bats
69+ - name : Download submodules
70+ image : alpine/git
71+ commands :
72+ - git submodule update --init --recursive
73+ - name : Build Hestia package install
74+ commands :
75+ - ./src/hst_autocompile.sh --hestia --install '~localsrc'
76+ - name : Run system / user tests
77+ commands :
78+ - bats ./test/test.bats
79+ - name : Run restore tests
80+ commands :
81+ - bats ./test/restore.bats
82+ - name : Run Letsencrypt test against Staging
83+ commands :
84+ - cp /root/le-env.sh /tmp/hestia-le-env.sh
85+ - bats ./test/letsencrypt.bats
86+ - name : Run config tests
87+ commands :
88+ - bats ./test/config-tests.bats
8989
9090trigger :
91- event : [ pull_request, push ]
91+ event : [pull_request, push]
9292 ref :
93- - refs/heads/staging/*
94- - refs/heads/beta
95- - refs/heads/release
96- - refs/heads/main
97- - refs/pull/*/head
93+ - refs/heads/staging/*
94+ - refs/heads/beta
95+ - refs/heads/release
96+ - refs/heads/main
97+ - refs/pull/*/head
9898
9999---
100100kind : pipeline
@@ -109,10 +109,10 @@ steps:
109109 - name : Build
110110 image : debian:bullseye
111111 commands :
112- - ln -snf /etc/localtime && echo CET > /etc/timezone
113- - ./src/hst_autocompile.sh --dontinstalldeps --hestia --debug --cross --noinstall --keepbuild --debug '~localsrc'
114- - mkdir -p ./hestia/
115- - mv /tmp/hestiacp-src/deb/*.deb ./hestia/
112+ - ln -snf /etc/localtime && echo CET > /etc/timezone
113+ - ./src/hst_autocompile.sh --dontinstalldeps --hestia --debug --cross --noinstall --keepbuild --debug '~localsrc'
114+ - mkdir -p ./hestia/
115+ - mv /tmp/hestiacp-src/deb/*.deb ./hestia/
116116 - name : Upload
117117 image : appleboy/drone-scp
118118 settings :
@@ -128,4 +128,4 @@ steps:
128128 - ./hestia/*
129129
130130trigger :
131- event : [ promote]
131+ event : [promote]
0 commit comments