Skip to content

Commit

Permalink
fix: update app installation in sqa
Browse files Browse the repository at this point in the history
  • Loading branch information
vykozlov authored Dec 18, 2024
1 parent 90ff8a7 commit 5344af4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .sqa/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ version: "3.6"

services:
testing:
image: "ai4oshub/ai4os-ai4life-loader:cicd"
container_name: "${BUILD_TAG}"
hostname: "${BUILD_TAG}"
working_dir: /srv
build:
context: ./.sqa
args:
branch: ${GIT_BRANCH}
working_dir: /srv/app
command: >
sh -c "pip3 install --no-cache-dir -e . &&
sleep infinity"
volumes:
- type: bind
source: ./
Expand Down
16 changes: 8 additions & 8 deletions .sqa/dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Docker image for CI testing of the DEEPaaS API
# Note there is probably no gpu in the CI server
FROM ai4oshub/ai4os-ai4life-loader:cicd
# What user branch to clone [!]
ARG branch=main
# install user app as python package
RUN git clone -b $branch --depth 1 https://github.com/ai4os/ai4os-ai4life-loader.git app/ && \
cd app/ && pip3 install --no-cache-dir -e . && \
cd ..
CMD ["sleep", "infinity"]
#FROM ai4oshub/ai4os-ai4life-loader:cicd
## What user branch to clone [!]
#ARG branch=main
## install user app as python package
#RUN git clone -b $branch --depth 1 https://github.com/ai4os/ai4os-ai4life-loader.git app/ && \
# cd app/ && pip3 install --no-cache-dir -e . && \
# cd ..
#CMD ["sleep", "infinity"]

0 comments on commit 5344af4

Please sign in to comment.