optimize e2e test of rust wasm plugin (#1277)

This commit is contained in:
澄潭
2024-09-03 14:18:39 +08:00
committed by GitHub
parent ffc0c0976f
commit 55c0eb38d4
2 changed files with 1 additions and 10 deletions

View File

@@ -45,17 +45,10 @@ then
PLUGIN_NAME=${name} BUILDER_REGISTRY="docker.io/alihigress/plugins-rust-" make build
fi
done
cd ../wasm-go/
PLUGIN_NAME=custom-response make build
else
echo "🚀 Build Rust WasmPlugin: $INNER_PLUGIN_NAME"
PLUGIN_NAME=${INNER_PLUGIN_NAME} make lint
PLUGIN_NAME=${INNER_PLUGIN_NAME} make build
if [ "$INNER_PLUGIN_NAME" == "ai-data-masking" ]; then
cd ../wasm-go/
PLUGIN_NAME=custom-response make build
fi
fi
else
echo "Not specify plugin language, so just compile wasm-go as default"