Commit 71ae71c0 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

Moved pages to csp-lmc-mid .gitlab-ci.yml

parent fee0b27b
Loading
Loading
Loading
Loading
Loading
+0 −19
Original line number Diff line number Diff line
@@ -54,25 +54,6 @@ clean shell runner:
    # Gitlab CI badges creation
    - rm -rf build/*

pages:
  stage: pages
  image: nexus.engageska-portugal.pt/ska-docker/tango-builder:latest
  before_script:
  - docker login -u $DOCKER_REGISTRY_USERNAME -p $DOCKER_REGISTRY_PASSWORD $DOCKER_REGISTRY_HOST
  tags:
    - docker-executor
  stage: pages
  only:
    - master
  script:
   - ls -l
   - cp -R build public
   - mv build/htmlcov/* public
  artifacts:
    paths:
      - public
    expire_in: 30 days

create ci metrics:
  stage: .post
  image: nexus.engageska-portugal.pt/ska-docker/ska-python-buildenv:latest
+22 −0
Original line number Diff line number Diff line
@@ -102,6 +102,7 @@ linting:
    - apt-get install -y python3-pip python3-setuptools python3-wheel --no-install-recommends
    - cd $BUILD_PATH  
    - make lint

#
# Publish csp-lmc-mid python package
#
@@ -146,6 +147,27 @@ publish:csp-lmc-mid:
  variables:
    BUILD_PATH: csp-lmc-mid

#
# Pages
#
pages:csp-lmc-mid:
  image: nexus.engageska-portugal.pt/ska-docker/tango-builder:latest
  before_script:
    - docker login -u $DOCKER_REGISTRY_USERNAME -p $DOCKER_REGISTRY_PASSWORD $DOCKER_REGISTRY_HOST
  tags:
    - docker-executor
  stage: pages
  only:
    - master
  script:
    - ls -lR      
    - cp -R build public
    - mv build/htmlcov/* public  
  artifacts:
    paths:
      - public
    expire_in: 30 days

#
# Release csp-lmc-mid image on nexus
#