]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CI: run with standard mod_http2
authorStefan Eissing <stefan@eissing.org>
Tue, 22 Oct 2024 08:39:44 +0000 (10:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 22 Oct 2024 13:31:46 +0000 (15:31 +0200)
We used to include a special mod_h2 in our CI that supports the
directive H2MaxDataFrameLen for test_02_20. Since then, ubuntu-lastest
includes a more recent apache httpd. Let's see if we can live without
the special.

Closes #15353

.github/workflows/http3-linux.yml
.github/workflows/linux.yml
tests/http/test_02_download.py

index 36915e13852cf8bbf7a7fca9ce4fa9de9d5310df..00aab2ecdeb6539de710674e0920ffbfce133638 100644 (file)
@@ -57,8 +57,6 @@ env:
   nghttp2-version: 1.62.1
   # renovate: datasource=github-tags depName=cloudflare/quiche versioning=semver registryUrl=https://github.com
   quiche-version: 0.22.0
-  # renovate: datasource=github-tags depName=icing/mod_h2 versioning=semver registryUrl=https://github.com
-  mod_h2-version: 2.0.29
 
 jobs:
   setup:
@@ -517,30 +515,6 @@ jobs:
         run: |
           sudo python3 -m pip install --break-system-packages -r tests/http/requirements.txt
 
-      - name: cache mod_h2
-        uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
-        id: cache-mod_h2
-        env:
-          cache-name: cache-mod_h2
-        with:
-          path: /home/runner/mod_h2
-          key: ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.mod_h2-version }}
-
-      - name: 'build mod_h2'
-        if: steps.cache-mod_h2.outputs.cache-hit != 'true'
-        run: |
-          cd $HOME
-          git clone --quiet --depth=1 -b v${{ env.mod_h2-version }} https://github.com/icing/mod_h2
-          cd mod_h2
-          autoreconf -fi
-          ./configure
-          make
-
-      - name: 'install mod_h2'
-        run: |
-          cd $HOME/mod_h2
-          sudo make install
-
       - name: 'run pytest'
         env:
           TFLAGS: "${{ matrix.build.tflags }}"
index 417a3b6fcd3332d1c53fba0f7ae1e8392cae6f5d..6e9f3d1f65d2d55cdf3b8aa282ef59b723bc3ae4 100644 (file)
@@ -46,8 +46,6 @@ env:
   # renovate: datasource=github-tags depName=Mbed-TLS/mbedtls versioning=semver registryUrl=https://github.com
   mbedtls-version: 3.6.2
   # renovate: datasource=github-tags depName=icing/mod_h2 versioning=semver registryUrl=https://github.com
-  mod_h2-version: 2.0.29
-  # renovate: datasource=github-tags depName=nibanks/msh3 versioning=semver registryUrl=https://github.com
   msh3-version: 0.6.0
   # renovate: datasource=github-tags depName=awslabs/aws-lc versioning=semver registryUrl=https://github.com
   awslc-version: 1.37.0
@@ -605,32 +603,6 @@ jobs:
         run: |
           sudo python3 -m pip install --break-system-packages -r tests/http/requirements.txt
 
-      - name: cache mod_h2
-        if: contains(matrix.build.install_steps, 'pytest')
-        uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
-        id: cache-mod_h2
-        env:
-          cache-name: cache-mod_h2
-        with:
-          path: /home/runner/mod_h2
-          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.mod_h2-version }}
-
-      - name: 'build mod_h2'
-        if: contains(matrix.build.install_steps, 'pytest') && steps.cache-mod_h2.outputs.cache-hit != 'true'
-        run: |
-          cd $HOME
-          git clone --quiet --depth=1 -b v${{ env.mod_h2-version }} https://github.com/icing/mod_h2
-          cd mod_h2
-          autoreconf -fi
-          ./configure
-          make
-
-      - name: 'install mod_h2'
-        if: contains(matrix.build.install_steps, 'pytest')
-        run: |
-          cd $HOME/mod_h2
-          sudo make install
-
       - name: 'run pytest'
         if: contains(matrix.build.install_steps, 'pytest')
         env:
index 3ce88df583f542719443513eac8597b36e5babf1..7c5b5fb8aa72356f166842453f26d6fd576096e9 100644 (file)
@@ -294,7 +294,6 @@ class TestDownload:
                       remote_ip='127.0.0.1')
 
     @pytest.mark.skipif(condition=Env().slow_network, reason="not suitable for slow network tests")
-    @pytest.mark.skipif(condition=Env().ci_run, reason="not suitable for CI runs")
     def test_02_20_h2_small_frames(self, env: Env, httpd, repeat):
         # Test case to reproduce content corruption as observed in
         # https://github.com/curl/curl/issues/10525