Skip to content

Commit

Permalink
Merge pull request #4265 from sysown/v2.5.3-debian12
Browse files Browse the repository at this point in the history
add debian12 support
  • Loading branch information
renecannao authored Jun 19, 2023
2 parents b721055 + 2955f7d commit a876e27
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 2 deletions.
34 changes: 32 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ amd64-centos: centos6 centos6-dbg centos7 centos7-dbg centos8 centos8-clang cent
amd64-ubuntu: ubuntu14 ubuntu14-dbg ubuntu16 ubuntu16-dbg ubuntu18 ubuntu18-dbg ubuntu20 ubuntu20-clang ubuntu20-dbg ubuntu22 ubuntu22-clang ubuntu22-dbg
.PHONY: amd64-ubuntu

amd64-debian: debian8 debian8-dbg debian9 debian9-dbg debian10 debian10-dbg debian11 debian11-clang debian11-dbg
amd64-debian: debian8 debian8-dbg debian9 debian9-dbg debian10 debian10-dbg debian11 debian11-clang debian11-dbg debian12 debian12-clang debian12-dbg
.PHONY: amd64-debian

amd64-fedora: fedora27 fedora27-dbg fedora28 fedora28-dbg fedora33 fedora33-dbg fedora34 fedora34-clang fedora34-dbg fedora36 fedora36-clang fedora36-dbg fedora37 fedora37-clang fedora37-dbg fedora38 fedora38-clang fedora38-dbg
Expand All @@ -251,7 +251,7 @@ arm64-packages: arm64-centos arm64-debian arm64-ubuntu arm64-fedora arm64-opensu
arm64-centos: centos7-arm64 centos8-arm64
.PHONY: arm64-centos

arm64-debian: debian9-arm64 debian10-arm64 debian11-arm64
arm64-debian: debian9-arm64 debian10-arm64 debian11-arm64 debian12-arm64
.PHONY: arm64-debian

arm64-ubuntu: ubuntu16-arm64 ubuntu18-arm64 ubuntu20-arm64 ubuntu22-arm64
Expand Down Expand Up @@ -469,6 +469,19 @@ debian11-dbg: binaries/proxysql_${CURVER}-dbg-debian11_amd64.deb
.PHONY: debian11-dbg


debian12: binaries/proxysql_${CURVER}-debian12_amd64.deb
.PHONY: debian12

debian12-clang: binaries/proxysql_${CURVER}-debian12-clang_amd64.deb
.PHONY: debian12-clang

debian12-arm64: binaries/proxysql_${CURVER}-debian12_arm64.deb
.PHONY: debian12-arm64

debian12-dbg: binaries/proxysql_${CURVER}-dbg-debian12_amd64.deb
.PHONY: debian12-dbg


opensuse15: binaries/proxysql-${CURVER}-1-opensuse15.x86_64.rpm
.PHONY: opensuse15

Expand Down Expand Up @@ -768,6 +781,23 @@ binaries/proxysql_${CURVER}-dbg-debian11_amd64.deb:
docker-compose rm -f


binaries/proxysql_${CURVER}-debian12_amd64.deb:
docker-compose up debian12_build
docker-compose rm -f

binaries/proxysql_${CURVER}-debian12-clang_amd64.deb:
docker-compose up debian12_clang_build
docker-compose rm -f

binaries/proxysql_${CURVER}-debian12_arm64.deb:
docker-compose up debian12_build
docker-compose rm -f

binaries/proxysql_${CURVER}-dbg-debian12_amd64.deb:
docker-compose up debian12_dbg_build
docker-compose rm -f


binaries/proxysql-${CURVER}-1-opensuse15.x86_64.rpm:
docker-compose up opensuse15_build
docker-compose rm -f
Expand Down
30 changes: 30 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,36 @@ services:
- PKG_RELEASE=dbg-debian11
- PROXYSQL_BUILD_TYPE=debug

####################################################################################################
debian12_build:
image: proxysql/packaging:build-debian12
volumes:
- ./docker/images/proxysql/deb-compliant/latest-package/ctl/:/root/ctl/
- ./docker/images/proxysql/deb-compliant/entrypoint/:/opt/entrypoint/
- ./:/opt/proxysql/
environment:
- MAKE
- MAKEOPT
- CURVER
- PKG_RELEASE=debian12
- PROXYSQL_BUILD_TYPE=clickhouse
command: bash -l -c /opt/entrypoint/entrypoint.bash

debian12_clang_build:
extends:
service: debian12_build
image: proxysql/packaging:build-clang-debian12
environment:
- PKG_RELEASE=debian12-clang
- PROXYSQL_BUILD_TYPE=clickhouse

debian12_dbg_build:
extends:
service: debian12_build
environment:
- PKG_RELEASE=dbg-debian12
- PROXYSQL_BUILD_TYPE=debug


####################################################################################################
####################################################################################################
Expand Down

0 comments on commit a876e27

Please sign in to comment.