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

clean local images before test #471

Merged
merged 2 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/pr-microservice-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
run: |
sudo rm -rf ${{github.workspace}}/*
docker system prune -f
docker rmi $(docker images --filter reference="*/*:comps" -q) || true

- name: Checkout out Repo
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions tests/test_asr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ ip_address=$(hostname -I | awk '{print $1}')
function build_docker_images() {
cd $WORKPATH
echo $(pwd)
docker build -t opea/whisper:comps -f comps/asr/whisper/Dockerfile .
docker build -t opea/asr:comps -f comps/asr/Dockerfile .
docker build --no-cache -t opea/whisper:comps -f comps/asr/whisper/Dockerfile .
docker build --no-cache -t opea/asr:comps -f comps/asr/Dockerfile .
}

function start_service() {
Expand Down
4 changes: 2 additions & 2 deletions tests/test_tts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ ip_address=$(hostname -I | awk '{print $1}')
function build_docker_images() {
cd $WORKPATH
echo $(pwd)
docker build -t opea/speecht5:comps -f comps/tts/speecht5/Dockerfile .
docker build -t opea/tts:comps -f comps/tts/Dockerfile .
docker build --no-cache -t opea/speecht5:comps -f comps/tts/speecht5/Dockerfile .
docker build --no-cache -t opea/tts:comps -f comps/tts/Dockerfile .
}

function start_service() {
Expand Down
Loading