Commit 8d07dd59 authored by Naum Spaseski's avatar Naum Spaseski
Browse files

Added gitlab-ci

parent 861b7885
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+26 −0
Original line number Original line Diff line number Diff line
# CI/CD:
#
# BUILD triggered by:
#  - branches
#  
#   

Build spec2md docker image:
  stage: build 
  before_script:
    - echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin
  script: 
    - ./relaunch.sh $CI_COMMIT_BRANCH
    - docker push forge.etsi.org:5050/cti/spec2md:$CI_COMMIT_BRANCH
  after_script:
    - docker logout $CI_REGISTRY
  rules:
    - if: $CI_COMMIT_BRANCH
      changes:
        - Dockerfile
        - templates/**/*.html
        - static/**/*.css
        - static/**/*.js
        - spec2md.py
        - gridTable.py
        - web_server.py