From bdcb6507e6949c45b64d1df7a86f9af3946cd46f Mon Sep 17 00:00:00 2001 From: Miro Stauder Date: Fri, 16 Dec 2022 11:00:38 +0000 Subject: [PATCH] add builds for fedora37 --- Makefile | 34 ++++++++++++++++++++++++++++++++-- docker-compose.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ecbe04a97..d89724d45 100644 --- a/Makefile +++ b/Makefile @@ -209,7 +209,7 @@ amd64-ubuntu: ubuntu14 ubuntu14-dbg ubuntu16 ubuntu16-dbg ubuntu18 ubuntu18-dbg amd64-debian: debian8 debian8-dbg debian9 debian9-dbg debian10 debian10-dbg debian11 debian11-clang debian11-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 +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 .PHONY: amd64-fedora amd64-opensuse: opensuse15 opensuse15-clang opensuse15-dbg @@ -233,7 +233,7 @@ arm64-debian: debian9-arm64 debian10-arm64 debian11-arm64 arm64-ubuntu: ubuntu16-arm64 ubuntu18-arm64 ubuntu20-arm64 ubuntu22-arm64 .PHONY: arm64-ubuntu -arm64-fedora: fedora33-arm64 fedora34-arm64 +arm64-fedora: fedora33-arm64 fedora34-arm64 fedora36-arm64 fedora37-arm64 .PHONY: arm64-fedora arm64-opensuse: opensuse15-arm64 @@ -326,6 +326,19 @@ fedora36-dbg: binaries/proxysql-${CURVER}-1-dbg-fedora36.x86_64.rpm .PHONY: fedora36-dbg +fedora37: binaries/proxysql-${CURVER}-1-fedora37.x86_64.rpm +.PHONY: fedora36 + +fedora37-arm64: binaries/proxysql-${CURVER}-1-fedora37.aarch64.rpm +.PHONY: fedora36-arm64 + +fedora37-clang: binaries/proxysql-${CURVER}-1-fedora37-clang.x86_64.rpm +.PHONY: fedora36-clang + +fedora37-dbg: binaries/proxysql-${CURVER}-1-dbg-fedora37.x86_64.rpm +.PHONY: fedora36-dbg + + ubuntu14: binaries/proxysql_${CURVER}-ubuntu14_amd64.deb .PHONY: ubuntu14 @@ -563,6 +576,23 @@ binaries/proxysql-${CURVER}-1-dbg-fedora36.x86_64.rpm: docker-compose rm -f +binaries/proxysql-${CURVER}-1-fedora37.x86_64.rpm: + docker-compose up fedora37_build + docker-compose rm -f + +binaries/proxysql-${CURVER}-1-fedora37.aarch64.rpm: + docker-compose up fedora37_build + docker-compose rm -f + +binaries/proxysql-${CURVER}-1-fedora37-clang.x86_64.rpm: + docker-compose up fedora37_clang_build + docker-compose rm -f + +binaries/proxysql-${CURVER}-1-dbg-fedora37.x86_64.rpm: + docker-compose up fedora37_dbg_build + docker-compose rm -f + + binaries/proxysql_${CURVER}-ubuntu14_amd64.deb: docker-compose up ubuntu14_build docker-compose rm -f diff --git a/docker-compose.yml b/docker-compose.yml index b14b4200d..7e58704c8 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -212,6 +212,36 @@ services: - PKG_RELEASE=dbg-fedora36 - PROXYSQL_BUILD_TYPE=debug +#################################################################################################### + fedora37_build: + image: proxysql/packaging:build-fedora37 + volumes: + - ./docker/images/proxysql/rhel-compliant/rpmmacros/rpmbuild/:/root/rpmbuild/ + - ./docker/images/proxysql/rhel-compliant/rpmmacros/.rpmmacros:/root/.rpmmacros + - ./docker/images/proxysql/rhel-compliant/entrypoint/:/opt/entrypoint/ + - ./:/opt/proxysql/ + environment: + - MAKE + - MAKEOPT + - CURVER + - PKG_RELEASE=fedora37 + - PROXYSQL_BUILD_TYPE=clickhouse + command: bash -l -c /opt/entrypoint/entrypoint.bash + + fedora37_clang_build: + extends: + service: fedora37_build + image: proxysql/packaging:build-clang-fedora37 + environment: + - PKG_RELEASE=fedora37-clang + - PROXYSQL_BUILD_TYPE=clickhouse + + fedora37_dbg_build: + extends: + service: fedora37_build + environment: + - PKG_RELEASE=dbg-fedora37 + - PROXYSQL_BUILD_TYPE=debug #################################################################################################### ####################################################################################################