Skip to content

Commit add60da

Browse files
authored
Merge pull request #9794 from sameehj/vtest2-fix
Fix haproxy CI: VTest2 repo archived, use `last` tag
2 parents 0dd5009 + f19c563 commit add60da

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/haproxy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ jobs:
8282
working-directory: build-dir/haproxy-${{matrix.haproxy_ref}}
8383
run: make clean && make TARGET=linux-glibc USE_OPENSSL_WOLFSSL=1 SSL_LIB=$GITHUB_WORKSPACE/build-dir/lib SSL_INC=$GITHUB_WORKSPACE/build-dir/include ADDLIB=-Wl,-rpath,$GITHUB_WORKSPACE/build-dir/lib CFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address"
8484

85-
# wlallemand/VTest used in v3.1.0 is no longer available
86-
- name: Patch build-vtest.sh for v3.1.0
87-
if: matrix.haproxy_ref == 'v3.1.0'
85+
# VTest2 has moved off GitHub; use the last known good tag
86+
- name: Patch build-vtest.sh for VTest2 migration
8887
working-directory: build-dir/haproxy-${{ matrix.haproxy_ref }}/scripts
8988
run: |
90-
sed -i 's|https://github.com/wlallemand/VTest/archive/refs/heads/haproxy-sd_notify.tar.gz|https://github.com/vtest/VTest2/archive/main.tar.gz|' build-vtest.sh
89+
sed -i 's|https://github.com/wlallemand/VTest/archive/refs/heads/haproxy-sd_notify.tar.gz|https://github.com/vtest/VTest2/archive/refs/tags/last.tar.gz|' build-vtest.sh
90+
sed -i 's|https://github.com/vtest/VTest2/archive/main.tar.gz|https://github.com/vtest/VTest2/archive/refs/tags/last.tar.gz|' build-vtest.sh
9191
9292
- name: Build haproxy vtest
9393
working-directory: build-dir/haproxy-${{matrix.haproxy_ref}}

0 commit comments

Comments
 (0)