项目文件夹

文件
wehub-resource-sync e768098d0e
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:39:52 +08:00

29 行
726 B
Bash
可执行文件

#!/bin/bash
set -eux
build_service() {
local service_dir=$1
local image_name=$2
cd "$service_dir"
rm -rf ./build
pf flow build --source . --output ./build --format docker
cd ./build
docker build -t "$image_name" .
}
# base directory
BASE_DIR=$(pwd)
# build the async mock back-end api service
cd "$BASE_DIR/../mock_api"
docker build -t fastapi-wait-service .
# build the static DAG async service
build_service "$BASE_DIR/../pf_flows/static_async" "pf-static-async-service"
# build the static DAG sync service
build_service "$BASE_DIR/../pf_flows/static_sync" "pf-static-sync-service"
# build the flexflow async service
build_service "$BASE_DIR/../pf_flows/flex_async" "pf-flex-async-service"