Эх сурвалжийг харах

HUE-8846 [ci] Tweak to run Hue from the docker image

Romain 6 жил өмнө
parent
commit
9126654519

+ 8 - 4
.circleci/config.yml

@@ -31,9 +31,11 @@ jobs:
       - run:
           name: install dependencies
           command: |
-            python3 -m venv venv
-            . venv/bin/activate
-            pip install -r requirements.txt
+            # python -m venv venv
+            # . venv/bin/activate
+            # pip install -r requirements.txt
+            # TODO: here should copy from repo to the local Hue
+            echo 'ok'
 
       - save_cache:
           paths:
@@ -48,7 +50,9 @@ jobs:
       - run:
           name: run tests
           command: |
-            . venv/bin/activate
+            #. venv/bin/activate
+            cd /usr/share/hue
+            ./build/env/bin/hue
             #python manage.py test
 
       - store_artifacts:

+ 0 - 4
tools/docker/ci/Dockerfile

@@ -3,7 +3,3 @@
 
 FROM gethue/hue:latest
 LABEL description="Hue Image for CI"
-
-LABEL com.circleci.preserve-entrypoint=true
-
-ENTRYPOINT contacts