Skip to content

Commit

Permalink
Update build config
Browse files Browse the repository at this point in the history
  • Loading branch information
SeoulSKY committed Jun 15, 2024
1 parent c8afd6e commit 6f21c45
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 41 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,3 @@ jobs:
context: sorusora
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

sorusora-ai:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build sorusora-ai
uses: ./.github/workflows/build-push
with:
context: sorusora-ai
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
branches: [ "master" ]

env:
BUILD_SCRIPT: build-protos.sh
PYTEST_SCRIPT: scripts/pytest.sh

jobs:
Expand Down Expand Up @@ -60,7 +59,5 @@ jobs:
- name: Test with pytest
run: |
cd $ROOT_PATH
chmod +x ${{ env.BUILD_SCRIPT }}
./${{ env.BUILD_SCRIPT }}
chmod +x ${{ env.PYTEST_SCRIPT }}
./${{ env.PYTEST_SCRIPT }}
14 changes: 0 additions & 14 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@ services:
- ./sorusora/cache/algos_cache:${HOME}/.local/cache/argos-translate/
env_file:
- .env
environment:
- CHAT_AI_HOST=sorusora-ai

sorusora-ai:
build:
context: .
dockerfile: sorusora-ai/Dockerfile
container_name: sorusora-ai
volumes:
- ./sorusora-ai/logs:/app/logs
env_file:
- .env
ports:
- "50051:50051"

mongo:
image: mongo:7.0.5
Expand Down
11 changes: 0 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@ services:
environment:
- CHAT_AI_HOST=sorusora-ai

sorusora-ai:
image: ghcr.io/seoulsky/sorusora-ai:latest
container_name: sorusora-ai
volumes:
- ./sorusora-ai/logs:/app/logs
env_file:
- .env
restart: always
ports:
- "50051:50051"

mongo:
image: mongo:7.0.5
container_name: mongo
Expand Down

0 comments on commit 6f21c45

Please sign in to comment.