Commit a3ced8a0 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Merge branch 'feature_CI_everything_in_GitLab' into 'master'

CI in Gitlab

See merge request !7
parents 43605ea8 b80d72e2
Pipeline #1668 passed with stage
in 16 minutes and 9 seconds
# image: $CI_REGISTRY_IMAGE/taste:latest
image: taste:latest
variables:
GIT_SUBMODULE_STRATEGY: normal
stages:
- build
- post_build
build:
stage: build
script:
- ./gitlabci-test.sh
artifacts:
paths:
- 'kazoo/test/logs/*.err.txt'
when: on_failure
expire_in: 2 weeks
[![Build and Test Status of Data Modelling Tools on Circle CI](https://circleci.com/gh/ttsiodras/taste-setup.svg?style=shield)](https://circleci.com/gh/ttsiodras/taste-setup/tree/master)
[![Build and Test Status of TASTE on Gitlab CI](https://gitrepos.estec.esa.int/taste/taste-setup/badges/master/pipeline.svg)](https://gitrepos.estec.esa.int/taste/taste-setup/-/commits/master)
TASTE
=====
......
Subproject commit 0568c9ac1f2915850f80d5b5b3021a45e8410a71
Subproject commit c635a156b9f05460aa74a00817c2323ae8673dbc
#!/bin/bash
source ~/.bashrc
set -e
export GIT_SSL_NO_VERIFY=true
export TASTE_IN_DOCKER=1
git fetch
git checkout -f "${CI_COMMIT_BRANCH}"
git submodule init
git submodule update dmt
/etc/init.d/postgresql start
cd dmt
pip3 install -r requirements.txt
LANG=C LC_ALL=C PATH=$PATH:$HOME/tool-inst/share/asn1scc/ make flake8 || exit 1
LANG=C LC_ALL=C PATH=$PATH:$HOME/tool-inst/share/asn1scc/ make pylint || exit 1
cd ..
./Update-TASTE.sh
cd kazoo
apt-get install -y --force-yes xvfb
Xvfb &
export DISPLAY=:0
make test || exit 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment