Skip to content

Commit ab21fa1

Browse files
zh-jqzh-jq-b
authored andcommitted
use icapeg instead of c-icap in CI
1 parent df57eb3 commit ab21fa1

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/codecov.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,6 @@ jobs:
101101
- name: Install nginx
102102
run: |
103103
sudo apt-get install nginx-light
104-
- name: Install and run c-icap
105-
run: |
106-
sudo apt-get install c-icap
107-
sudo systemctl start c-icap
108104
- name: Install netcat-openbsd
109105
run: |
110106
sudo apt-get install netcat-openbsd
@@ -119,6 +115,13 @@ jobs:
119115
sudo curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh
120116
sudo cp ${{ github.workspace }}/scripts/coverage/g3proxy/fluent-bit.conf /etc/fluent-bit/fluent-bit.conf
121117
sudo systemctl start fluent-bit
118+
- name: Build and run icapeg
119+
run: |
120+
git clone https://github.com/egirna/icapeg.git
121+
cd icapeg
122+
sed -i 's/:8081/:6081/' server/server.go
123+
go build
124+
./icapeg &
122125
- name: Install dnsmasq
123126
run: |
124127
sudo apt-get install dnsmasq-base

scripts/coverage/g3proxy/0021_audit_icap/testcases.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ test_http_proxy_http_forward
66
test_http_proxy_ftp_over_http
77
test_http_proxy_https_connect
88
test_http_proxy_https_forward
9-
#test_http_proxy_h2
9+
test_http_proxy_h2
1010

1111

1212
SOCKS5_PROXY="socks5h://127.0.0.1:1080"

0 commit comments

Comments
 (0)