Skip to content

Commit c21b822

Browse files
authored
Merge pull request #342 from jajik/httpd
Fix ENV variable declaration in the test container, update fedora version to 42, tweak CI
2 parents 1e4d376 + 6c0e605 commit c21b822

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
path: mod_proxy_cluster
2828
- name: Setup Podman
2929
run: |
30-
sudo apt update
30+
sudo apt-get update
3131
sudo apt-get -y install podman
3232
- name: Create container and build
3333
run: |
3434
{
35-
echo 'FROM fedora:41'
35+
echo 'FROM fedora:42'
3636
echo 'RUN dnf install --assumeyes @c-development cmake httpd-devel ${{ matrix.compiler }}'
3737
echo 'RUN dnf clean all'
3838
echo 'COPY mod_proxy_cluster mod_proxy_cluster'
@@ -59,7 +59,7 @@ jobs:
5959
- name: Create container and build
6060
run: |
6161
{
62-
echo 'FROM fedora:41'
62+
echo 'FROM fedora:42'
6363
echo 'RUN dnf install --assumeyes @c-development httpd-devel redhat-rpm-config'
6464
echo 'RUN dnf clean all'
6565
echo 'COPY mod_proxy_cluster mod_proxy_cluster'
@@ -157,7 +157,7 @@ jobs:
157157
run: |
158158
ls
159159
sudo apt-get update
160-
sudo apt-get install cmake gcc cmake gcc make libtool libtool-bin python3 autoconf libxml2-dev libpcre2-dev -y
160+
sudo apt-get install gcc cmake make libtool libtool-bin python3 autoconf libxml2-dev libpcre2-dev -y
161161
- name: Build httpd
162162
run: |
163163
ls
@@ -278,9 +278,9 @@ jobs:
278278
uses: actions/checkout@v4
279279
- name: Setup dependencies
280280
run: |
281-
sudo apt update
282-
sudo apt remove apache2*
283-
sudo apt install -y gcc make perl cpanminus libcrypt-ssleay-perl
281+
sudo apt-get update
282+
sudo apt-get remove apache2*
283+
sudo apt-get install -y gcc make perl cpanminus libcrypt-ssleay-perl
284284
- name: Get Apache built in the previous job
285285
uses: actions/download-artifact@v4
286286
with:
@@ -320,7 +320,7 @@ jobs:
320320
uses: actions/checkout@v4
321321
- name: Get doxygen
322322
run: |
323-
sudo apt-get update -y
323+
sudo apt-get update
324324
sudo apt-get install -y doxygen
325325
- name: Build doxygen docs
326326
run: doxygen

test/httpd/Containerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
FROM fedora:41 AS builder
1+
FROM fedora:42 AS builder
22

33
ARG HTTPD_SOURCES="https://dlcdn.apache.org/httpd/httpd-2.4.65.tar.gz"
44

55
RUN dnf install gcc apr-devel apr-util-devel openssl-devel pcre-devel redhat-rpm-config autoconf wcstools -y
66

7-
ENV CONF=httpd/mod_proxy_cluster.conf
87
ENV HTTPD=${HTTPD_SOURCES}
98

109
# make sure you have copy of the local repository at place
@@ -44,7 +43,9 @@ RUN for m in advertise mod_proxy_cluster balancers mod_manager; \
4443

4544
RUN rm -rf /test/httpd/mod_proxy_cluster
4645

47-
FROM fedora:41
46+
FROM fedora:42
47+
48+
ENV CONF=httpd/mod_proxy_cluster.conf
4849

4950
RUN dnf install pcre apr-util wcstools -y
5051

0 commit comments

Comments
 (0)