Fix CI: Remove non-existent botlib workspace
Some checks failed
BotServer CI/CD / build (push) Failing after 10s
Some checks failed
BotServer CI/CD / build (push) Failing after 10s
- botlib repository doesn't exist in external repo - Remove botlib setup to prevent workspace creation failures - Keep only botserver workspace management 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
6b17476dfb
commit
d0e24652c3
1 changed files with 2 additions and 8 deletions
|
|
@ -28,14 +28,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $WORKSPACE
|
mkdir -p $WORKSPACE
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
# Clean existing workspace to avoid conflicts
|
|
||||||
rm -rf /opt/gbo/data/botserver
|
|
||||||
# Update or clone botlib (preserve git history for sccache fingerprints)
|
|
||||||
if [ -d botlib/.git ]; then
|
|
||||||
git -C botlib pull origin main
|
|
||||||
else
|
|
||||||
git clone --branch main https://alm.pragmatismo.com.br/GeneralBots/botlib.git botlib
|
|
||||||
fi
|
|
||||||
# Update or clone botserver (preserve git history for sccache fingerprints)
|
# Update or clone botserver (preserve git history for sccache fingerprints)
|
||||||
if [ -d botserver/.git ]; then
|
if [ -d botserver/.git ]; then
|
||||||
git -C botserver pull origin main
|
git -C botserver pull origin main
|
||||||
|
|
@ -52,6 +44,8 @@ jobs:
|
||||||
for m in botapp botdevice bottest botui botbook botmodels botplugin bottemplates; do
|
for m in botapp botdevice bottest botui botbook botmodels botplugin bottemplates; do
|
||||||
grep -v "\"$m\"" Cargo.toml > /tmp/c.toml && mv /tmp/c.toml Cargo.toml
|
grep -v "\"$m\"" Cargo.toml > /tmp/c.toml && mv /tmp/c.toml Cargo.toml
|
||||||
done
|
done
|
||||||
|
# Clean existing workspace to avoid conflicts
|
||||||
|
rm -rf /opt/gbo/data/botserver
|
||||||
# Ensure target dir exists
|
# Ensure target dir exists
|
||||||
mkdir -p target
|
mkdir -p target
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue