|
@@ -1,7 +1,7 @@
|
|
|
---
|
|
---
|
|
|
kind: pipeline
|
|
kind: pipeline
|
|
|
type: ssh
|
|
type: ssh
|
|
|
-name: default
|
|
|
|
|
|
|
+name: HestiaCP + Nginx + Apache2
|
|
|
|
|
|
|
|
concurrency:
|
|
concurrency:
|
|
|
limit: 1
|
|
limit: 1
|
|
@@ -19,60 +19,61 @@ platform:
|
|
|
arch: amd64
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
-- name: submodules
|
|
|
|
|
|
|
+- name: Down submodules
|
|
|
image: alpine/git
|
|
image: alpine/git
|
|
|
commands:
|
|
commands:
|
|
|
- git submodule update --init --recursive
|
|
- git submodule update --init --recursive
|
|
|
- name: build-install
|
|
- name: build-install
|
|
|
commands:
|
|
commands:
|
|
|
- ./src/hst_autocompile.sh --hestia --install '~localsrc'
|
|
- ./src/hst_autocompile.sh --hestia --install '~localsrc'
|
|
|
-- name: bash-test
|
|
|
|
|
|
|
+- name: Run Bats
|
|
|
commands:
|
|
commands:
|
|
|
- bats ./test/test.bats
|
|
- bats ./test/test.bats
|
|
|
-- name: php-test
|
|
|
|
|
|
|
+- name: Run Check PHP
|
|
|
commands:
|
|
commands:
|
|
|
- ./test/check_php.sh
|
|
- ./test/check_php.sh
|
|
|
|
|
|
|
|
trigger:
|
|
trigger:
|
|
|
- event: [ push ]
|
|
|
|
|
|
|
+ event: [ push, pull_request ]
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
kind: pipeline
|
|
kind: pipeline
|
|
|
type: ssh
|
|
type: ssh
|
|
|
-name: pull-request
|
|
|
|
|
|
|
+name: HestiaCP + Nginx
|
|
|
|
|
|
|
|
concurrency:
|
|
concurrency:
|
|
|
- limit: 1
|
|
|
|
|
|
|
+ limit: 1
|
|
|
|
|
|
|
|
server:
|
|
server:
|
|
|
host:
|
|
host:
|
|
|
- from_secret: server_address
|
|
|
|
|
|
|
+ from_secret: server_address2
|
|
|
user:
|
|
user:
|
|
|
from_secret: username
|
|
from_secret: username
|
|
|
ssh_key:
|
|
ssh_key:
|
|
|
from_secret: ssh_key
|
|
from_secret: ssh_key
|
|
|
|
|
|
|
|
platform:
|
|
platform:
|
|
|
- os: linux
|
|
|
|
|
- arch: amd64
|
|
|
|
|
-
|
|
|
|
|
|
|
+ os: linux
|
|
|
|
|
+ arch: amd64
|
|
|
|
|
+
|
|
|
steps:
|
|
steps:
|
|
|
-- name: submodules
|
|
|
|
|
|
|
+- name: Down submodules
|
|
|
image: alpine/git
|
|
image: alpine/git
|
|
|
commands:
|
|
commands:
|
|
|
- git submodule update --init --recursive
|
|
- git submodule update --init --recursive
|
|
|
- name: build-install
|
|
- name: build-install
|
|
|
commands:
|
|
commands:
|
|
|
- ./src/hst_autocompile.sh --hestia --install '~localsrc'
|
|
- ./src/hst_autocompile.sh --hestia --install '~localsrc'
|
|
|
-- name: bash-test
|
|
|
|
|
|
|
+- name: Run Bats
|
|
|
commands:
|
|
commands:
|
|
|
- bats ./test/test.bats
|
|
- bats ./test/test.bats
|
|
|
-- name: php-test
|
|
|
|
|
|
|
+- name: Run Check PHP
|
|
|
commands:
|
|
commands:
|
|
|
- ./test/check_php.sh
|
|
- ./test/check_php.sh
|
|
|
|
|
|
|
|
trigger:
|
|
trigger:
|
|
|
- event: [ pull_request ]
|
|
|
|
|
|
|
+ event: [ push, pull_request ]
|
|
|
|
|
+
|
|
|
---
|
|
---
|
|
|
kind: signature
|
|
kind: signature
|
|
|
-hmac: 05165282c2f9b98afd11675dc98c99c4037d1672485eca49f462dc946c120a68
|
|
|
|
|
|
|
+hmac: 206d86147c4ee57339c4af654f073c0d2f136f591c890eb4244ccaef087c433f
|