Skip to content

Commit 0194df5

Browse files
TimWollatianon
authored andcommitted
Add HAProxy 2.6 / 2.7-rc
1 parent 8e10625 commit 0194df5

File tree

10 files changed

+244
-13
lines changed

10 files changed

+244
-13
lines changed

2.6-rc/Dockerfile renamed to 2.6/Dockerfile

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

2.6-rc/alpine/Dockerfile renamed to 2.6/alpine/Dockerfile

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.

2.7-rc/Dockerfile

Lines changed: 99 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

2.7-rc/alpine/Dockerfile

Lines changed: 92 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

2.7-rc/alpine/docker-entrypoint.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/sh
2+
set -e
3+
4+
# first arg is `-f` or `--some-option`
5+
if [ "${1#-}" != "$1" ]; then
6+
set -- haproxy "$@"
7+
fi
8+
9+
if [ "$1" = 'haproxy' ]; then
10+
shift # "haproxy"
11+
# if the user wants "haproxy", let's add a couple useful flags
12+
# -W -- "master-worker mode" (similar to the old "haproxy-systemd-wrapper"; allows for reload via "SIGUSR2")
13+
# -db -- disables background mode
14+
set -- haproxy -W -db "$@"
15+
fi
16+
17+
exec "$@"

2.7-rc/docker-entrypoint.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/sh
2+
set -e
3+
4+
# first arg is `-f` or `--some-option`
5+
if [ "${1#-}" != "$1" ]; then
6+
set -- haproxy "$@"
7+
fi
8+
9+
if [ "$1" = 'haproxy' ]; then
10+
shift # "haproxy"
11+
# if the user wants "haproxy", let's add a couple useful flags
12+
# -W -- "master-worker mode" (similar to the old "haproxy-systemd-wrapper"; allows for reload via "SIGUSR2")
13+
# -db -- disables background mode
14+
set -- haproxy -W -db "$@"
15+
fi
16+
17+
exec "$@"

generate-stackbrew-library.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#!/usr/bin/env bash
22
set -Eeuo pipefail
33

4-
# https://www.haproxy.org/#down ("LTS" vs "latest")
4+
# https://www.haproxy.org/#last ("LTS" vs "latest")
55
declare -A aliases=(
6-
[2.5]='latest'
7-
[2.4]='lts'
6+
[2.6]='lts latest'
87
)
98

109
self="$(basename "$BASH_SOURCE")"

versions.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,18 @@
4141
"url": "https://www.haproxy.org/download/2.5/src/haproxy-2.5.7.tar.gz",
4242
"version": "2.5.7"
4343
},
44-
"2.6-rc": {
44+
"2.6": {
4545
"alpine": "3.16",
4646
"debian": "bullseye-slim",
47-
"sha256": "df21bb71333abb8ef75eadcf40ca4ded948c2f404b7b1af49fc6365ca191ca0a",
48-
"url": "https://www.haproxy.org/download/2.6/src/devel/haproxy-2.6-dev12.tar.gz",
49-
"version": "2.6-dev12"
47+
"sha256": "90f8e608aacd513b0f542e0438fa12e7fb4622cf58bd4375f3fe0350146eaa59",
48+
"url": "https://www.haproxy.org/download/2.6/src/haproxy-2.6.0.tar.gz",
49+
"version": "2.6.0"
50+
},
51+
"2.7-rc": {
52+
"alpine": "3.16",
53+
"debian": "bullseye-slim",
54+
"sha256": "75cfe3f3884cae05f93f0a91114b953de7aebba574c026e9d9106988fed34080",
55+
"url": "https://www.haproxy.org/download/2.7/src/devel/haproxy-2.7-dev0.tar.gz",
56+
"version": "2.7-dev0"
5057
}
5158
}

0 commit comments

Comments
 (0)