Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if the CB-Tumblebug container is working without issues #1543

Merged
merged 1 commit into from
May 3, 2024

Conversation

yunkon-kim
Copy link
Member

@yunkon-kim yunkon-kim commented May 3, 2024

This PR will add CBLOG_ROOT to Dockerfile to make the CB-Tumblebug container work properly.

What was done for testing

Build CB-Tumblebug container locally

docker build --no-cache -t local-tb .

Run CB-Spider container

cd $CBTUMBLEBUG_ROOT
source conf/setup.env
./scripts/runSpider.sh

Run CB-Tumblebug container (locally built one)

sudo docker run --rm -p 1323:1323 \
                --network host \
                -v /home/ubuntu/dev/cloud-barista/cb-tumblebug/container-volume/cb-tumblebug-container:/app/meta_db \
                -e SPIDER_REST_URL=http://localhost:1024/spider -e DRAGONFLY_REST_URL=http://localhost:9090/dragonfly -e SELF_ENDPOINT=localhost:1323 \
                --name cb-tumblebug \
                local-tb

Note - --network host option is added because my environment is WSL2.

By init.sh, register all multi-cloud connection information and common resources

cd $CBTUMBLEBUG_ROOT
source conf/setup.env
./scripts/init/init.sh

Run CB-MapUI

cd $CBTUMBLEBUG_ROOT
source conf/setup.env
./scripts/runMapUI.sh

On MapUI, click and create MCIS

Result:

image

Note - suspend, terminate, and delete MCIS works normally.

close #1540

@seokho-son
Copy link
Member

/approve

@github-actions github-actions bot added the approved This PR is approved and will be merged soon. label May 3, 2024
@cb-github-robot cb-github-robot merged commit 561de47 into cloud-barista:main May 3, 2024
3 checks passed
@yunkon-kim yunkon-kim deleted the 240503-18 branch June 10, 2024 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved This PR is approved and will be merged soon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check Docker image works for CB-TB v0.8.8 and latest main
3 participants