Commit a49d0705 authored by Christer Edwards's avatar Christer Edwards

update template for automated testing

parent 7ba68184
Pipeline #95790411 passed with stage
in 26 seconds
## A template test can assume a working Bastille installation and bootstrapped
## releases. Naming scheme follows `major-minor-release`.
- bastille-template
- bastillebsd-template
- doas bastille version
- doas bastille bootstrap "${CI_PROJECT_URL}"
- doas bastille create 11-3-release 11.3-RELEASE
- doas bastille create 12-0-release 12.0-RELEASE
- doas bastille create 12-1-release 12.1-RELEASE
- doas bastille start ALL
- doas bastille template ALL "${CI_PROJECT_NAMESPACE}"/"${CI_PROJECT_NAME}"
- doas bastille cmd ALL 'freebsd-version'
- doas bastille cmd ALL 'sysrc -ae'
- doas bastille cmd ALL 'ps -auxw'
- doas bastille pkg ALL 'audit -F'
- doas bastille stop ALL
- doas bastille destroy 11-3-release
- doas bastille destroy 12-0-release
- doas bastille destroy 12-1-release
haproxy -t && service haproxy restart
haproxy -t
# haproxy
Bastille Template for HAProxy Jail
## Status
[![pipeline status](](
STATUS: Testing
## haproxy
Bastille template to bootstrap HAProxy
## Bootstrap
bastille bootstrap
## Usage
bastille template TARGET bastillebsd-templates/haproxy
haproxy start
ifconfig_carp0="vhid 1 advskew 100 pass techbar"
-f /boot/loader.conf if_carp_load=YES
maxconn 2048
user haproxy
group haproxy
mode http
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
listen http-in
bind *:80
balance roundrobin
server web0 maxconn 1024 check
server web1 maxconn 1024 check
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment