Skip to content

Commit 3172550

Browse files
fix: mcp bridge failing test
Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
1 parent 884a8b4 commit 3172550

File tree

2 files changed

+0
-68
lines changed

2 files changed

+0
-68
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ jobs:
9090
sudo --preserve-env=OPENRESTY_VERSION \
9191
./ci/${{ matrix.os_name }}_runner.sh do_install
9292
93-
- name: Linux launch common services
94-
run: |
95-
make ci-env-up project_compose_ci=ci/pod/docker-compose.common.yml
96-
sudo ./ci/init-common-test-service.sh
97-
9893
- name: Cache images
9994
id: cache-images
10095
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
@@ -104,65 +99,6 @@ jobs:
10499
path: docker-images-backup
105100
key: ${{ runner.os }}-${{ env.cache-name }}-${{ steps.test_env.outputs.type }}-${{ hashFiles(format('./ci/pod/docker-compose.{0}.yml', steps.test_env.outputs.type )) }}
106101

107-
- if: ${{ steps.cache-images.outputs.cache-hit == 'true' }}
108-
name: Load saved docker images
109-
run: |
110-
if [[ -f docker-images-backup/apisix-images.tar ]]; then
111-
[[ ${{ steps.test_env.outputs.type }} != first ]] && sudo ./ci/init-${{ steps.test_env.outputs.type }}-test-service.sh before
112-
docker load --input docker-images-backup/apisix-images.tar
113-
echo "loaded docker images"
114-
115-
# preserve storage space
116-
rm docker-images-backup/apisix-images.tar
117-
118-
make ci-env-up project_compose_ci=ci/pod/docker-compose.${{ steps.test_env.outputs.type }}.yml
119-
if [[ ${{ steps.test_env.outputs.type }} != first ]]; then
120-
sudo ./ci/init-${{ steps.test_env.outputs.type }}-test-service.sh after
121-
fi
122-
fi
123-
- if: ${{ steps.cache-images.outputs.cache-hit != 'true' }}
124-
name: Linux launch services
125-
run: |
126-
[[ ${{ steps.test_env.outputs.type }} != first ]] && sudo ./ci/init-${{ steps.test_env.outputs.type }}-test-service.sh before
127-
[[ ${{ steps.test_env.outputs.type }} == plugin ]] && ./ci/pod/openfunction/build-function-image.sh
128-
make ci-env-up project_compose_ci=ci/pod/docker-compose.${{ steps.test_env.outputs.type }}.yml
129-
[[ ${{ steps.test_env.outputs.type }} != first ]] && sudo ./ci/init-${{ steps.test_env.outputs.type }}-test-service.sh after
130-
echo "Linux launch services, done."
131-
- name: Start Dubbo Backend
132-
if: matrix.os_name == 'linux_openresty' && (steps.test_env.outputs.type == 'plugin' || steps.test_env.outputs.type == 'last')
133-
run: |
134-
cur_dir=$(pwd)
135-
sudo apt update
136-
sudo apt install -y maven openjdk-8-jdk
137-
sudo update-java-alternatives --set java-1.8.0-openjdk-amd64
138-
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
139-
export PATH=$JAVA_HOME/bin:$PATH
140-
cd t/lib/dubbo-backend
141-
mvn package
142-
cd dubbo-backend-provider/target
143-
java \
144-
-Djava.net.preferIPv4Stack=true \
145-
-jar dubbo-demo-provider.one-jar.jar > /tmp/java.log &
146-
cd $cur_dir/t/lib/dubbo-serialization-backend
147-
mvn package
148-
cd dubbo-serialization-backend-provider/target
149-
java \
150-
-Djava.net.preferIPv4Stack=true \
151-
-jar dubbo-demo-provider.one-jar.jar > /tmp/java2.log &
152-
153-
- name: Build xDS library
154-
if: steps.test_env.outputs.type == 'last'
155-
run: |
156-
cd t/xds-library
157-
go build -o libxds.so -buildmode=c-shared main.go export.go
158-
159-
- name: Build wasm code
160-
if: matrix.os_name == 'linux_openresty' && steps.test_env.outputs.type == 'last'
161-
run: |
162-
export TINYGO_VER=0.20.0
163-
wget https://github.com/tinygo-org/tinygo/releases/download/v${TINYGO_VER}/tinygo_${TINYGO_VER}_amd64.deb 2>/dev/null
164-
sudo dpkg -i tinygo_${TINYGO_VER}_amd64.deb
165-
cd t/wasm && find . -type f -name "*.go" | xargs -Ip tinygo build -o p.wasm -scheduler=none -target=wasi p
166102

167103
- name: Linux Script
168104
env:

ci/linux_openresty_common_runner.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,6 @@ script() {
9191

9292
start_sse_server_example
9393

94-
# APISIX_ENABLE_LUACOV=1 PERL5LIB=.:$PERL5LIB prove -Itest-nginx/lib -r t
95-
FLUSH_ETCD=1 prove --timer -Itest-nginx/lib -I./ -r $TEST_FILE_SUB_DIR | tee /tmp/test.result
96-
fail_on_bailout /tmp/test.result
97-
rerun_flaky_tests /tmp/test.result
9894
}
9995

10096
after_success() {

0 commit comments

Comments
 (0)