File tree Expand file tree Collapse file tree 8 files changed +13
-13
lines changed Expand file tree Collapse file tree 8 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 44 - e2e
55variables :
66 DOCKER_HOST : tcp://docker:2375
7- DOCKER_BASE_IMAGE : $CI_REGISTRY_GO /haproxy-alpine
7+ DOCKER_BASE_IMAGE : haproxytech /haproxy-debian
88 BATS_VERSION : v1.4.1
99 GO_VERSION : ' 1.21'
1010
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ haproxy:
1515 master_runtime : /var/lib/haproxy/master
1616 master_worker_mode : true
1717 reload :
18- reload_cmd : kill -SIGUSR2 1
19- restart_cmd : kill -SIGUSR2 1
18+ reload_cmd : kill -s 12 1
19+ restart_cmd : kill -s 12 1
2020log :
2121 log_to : file
2222 log_file : /var/log/dataplaneapi.log
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ haproxy:
1313 config_file : /etc/haproxy/haproxy.cfg
1414 haproxy_bin : /usr/local/sbin/haproxy
1515 reload :
16- reload_cmd : kill -SIGUSR2 1
17- restart_cmd : kill -SIGUSR2 1
16+ reload_cmd : kill -s 12 1
17+ restart_cmd : kill -s 12 1
1818log :
1919 log_to : file
2020 log_file : /var/log/dataplaneapi.log
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ setup() {
7272 assert_success
7373 fi
7474
75- run dpa_docker_exec ' kill -SIGUSR2 1'
75+ run dpa_docker_exec ' kill -s 12 1'
7676 assert_success
7777
7878 run dpa_docker_exec ' pkill -9 dataplaneapi'
@@ -111,7 +111,7 @@ teardown() {
111111 run docker cp " ${E2E_DIR} /fixtures/dataplaneapi.yaml" " ${DOCKER_CONTAINER_NAME} :/etc/haproxy/dataplaneapi.yaml"
112112 assert_success
113113
114- run dpa_docker_exec ' kill -SIGUSR2 1'
114+ run dpa_docker_exec ' kill -s 12 1'
115115 assert_success
116116
117117 run dpa_docker_exec ' pkill -9 dataplaneapi'
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ set -eo pipefail
1919export BASE_PATH=" /v2"
2020
2121HAPROXY_VERSION=${HAPROXY_VERSION:- 2.9}
22- DOCKER_BASE_IMAGE=" ${DOCKER_BASE_IMAGE:- haproxytech/ haproxy-alpine } :${HAPROXY_VERSION} "
22+ DOCKER_BASE_IMAGE=" ${DOCKER_BASE_IMAGE:- haproxytech/ haproxy-debian } :${HAPROXY_VERSION} "
2323DOCKER_CONTAINER_NAME=" dataplaneapi-e2e"
2424export DOCKER_CONTAINER_NAME
2525
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ haproxy:
1515 config_file : /home/testuiduser/haproxy.cfg
1616 haproxy_bin : /usr/local/sbin/haproxy
1717 reload :
18- reload_cmd : kill -SIGUSR2 1
19- restart_cmd : kill -SIGUSR2 1
18+ reload_cmd : kill -s 12 1
19+ restart_cmd : kill -s 12 1
Original file line number Diff line number Diff line change 1818load ' ../../libs/dataplaneapi'
1919
2020setup () {
21- run dpa_docker_exec ' kill -SIGUSR2 1'
21+ run dpa_docker_exec ' kill -s 12 1'
2222 assert_success
2323
2424 run dpa_docker_exec ' pkill -9 dataplaneapi'
@@ -48,7 +48,7 @@ teardown() {
4848 run docker cp " ${E2E_DIR} /fixtures/dataplaneapi.yaml" " ${DOCKER_CONTAINER_NAME} :/usr/local/bin/dataplaneapi.yaml"
4949 assert_success
5050
51- run dpa_docker_exec ' kill -SIGUSR2 1'
51+ run dpa_docker_exec ' kill -s 12 1'
5252 assert_success
5353
5454 run dpa_docker_exec ' pkill -9 dataplaneapi'
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ load 'utils/_helpers'
4141
4242 # sometimes we can't establish a connection to the haproxy stat socket
4343 # forcing haproxy to restart seems to fix that
44- assert dpa_docker_exec ' kill -SIGUSR2 1'
44+ assert dpa_docker_exec ' kill -s 12 1'
4545 sleep 1
4646
4747 resource_get " $_STORAGE_MAPS_BASE_PATH /"
You can’t perform that action at this time.
0 commit comments