Commit b69fcd42 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

CT-147: specified default image to use. Moved page stage before publish.

parent 777cdb0b
Loading
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
# GitLab CI in conjunction with GitLab Runner can use Docker Engine to test and build any application.
# Docker, when used with GitLab CI, runs each job in a separate and isolated container using the predefined image that is set up in .gitlab-ci.yml.
# In this case we use the latest python docker image to build and test this project.
#image: nexus.engageska-portugal.pt/ska-docker/ska-python-buildenv:latest
image: nexus.engageska-portugal.pt/ska-docker/ska-python-buildenv:latest

variables:
  DOCKER_DRIVER: overlay2
@@ -32,8 +32,9 @@ cache:
# build:        build the docker images for csp-lmc-mid and csp-lmc-low
# test:         execute tests on csp-lmc-common, csp-lmc-mid, csp-lmc-low
# package:      create the python packages for common, mid and low
# publish:      publish on nexus the mid and low images and the  common python package
# pages:        create the badges
# publish:      publish on nexus the mid common python packages
# pages:        move the metrics files to the right folder
# release       release the images for csp-lmc-low and mid (only manual)
stages:
  - build_common
  - linting_common
@@ -42,8 +43,8 @@ stages:
  - build
  - test
  - linting
  - publish
  - pages
  - publish
  - release

.install_pip: &install_pip |-
@@ -72,7 +73,7 @@ pages:
  script:
    - pwd
    - python3 -m pip install junitparser
      #update coverage o the last release
      #update coverage to the last release
    - python3 -m pip install --upgrade coverage     
    - ls -lR
    # copy the content of packages folders in public