Commit 9127bc73 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Moving scripts to a different location in the docker images

parent 2e227e3b
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ Validate MEC Robot Test Suite:
  stage: validation
  script:
    - echo 'Validate MEC Robot Test Suite'
    - docker run -v "$(pwd):/home/etsi/dev/robot" -u $(id -u):$(id -g) etsiforge/mec-ts:latest "/bin/bash" -c  "/home/etsi/dev/robot/scripts/validate.sh $CI_COMMIT_BRANCH"
    - docker run -v "$(pwd):/home/etsi/dev/robot" -u $(id -u):$(id -g) etsiforge/mec-ts:latest "/bin/bash" -c  "/home/etsi/dev/scripts/validate.sh $CI_COMMIT_BRANCH"
    #- docker run -v "$(pwd):/home/etsi/dev/robot" -u $(id -u):$(id -g) etsiforge/mec-ts:latest "/bin/bash" -c  "cd /home/etsi/dev/robot && sh scripts/run-all.bash && ls -ltr logs/"
      
# Generate API Robot Test Suite docx:
+2 −2
Original line number Diff line number Diff line
@@ -35,14 +35,14 @@ RUN DEBIAN_FRONTEND=noninteractive \
        && cd /home/etsi/dev/robot 


ADD . /home/etsi/dev/robot
ADD scripts /home/etsi/dev/scripts

RUN pip3 install robotframework

RUN DEBIAN_FRONTEND=noninteractive \
	&& cd /home/etsi/dev/robot \
	&& pip3 install -r requirements-robot-ts.txt \
	&& chmod +x /home/etsi/dev/robot/scripts/* 
	&& chmod +x /home/etsi/dev/scripts/* 

CMD tail -f /dev/null