From a877356eb017330da7a54798ebf109b7131ff8c4 Mon Sep 17 00:00:00 2001 From: Mateo Cindric Date: Mon, 9 Jan 2023 13:40:06 +0000 Subject: [PATCH] CI/CD: change base docker image --- .gitlab-ci.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0553a5ff..5bab84bf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: debian +image: ${SYSREPO_CICD_IMAGE} variables: GIT_SUBMODULE_STRATEGY: recursive @@ -7,20 +7,6 @@ stages: - build - test -# install libraries -before_script: - - apt-get update - - apt-get -y install clang cmake git libpcre2-dev libcmocka0 libcmocka-dev valgrind libnl-3-200 libnl-3-dev libnl-genl-3-dev libnl-nf-3-dev - - apt-get -y install python3 python3-pip - - git clone https://github.com/CESNET/libyang.git - - git clone https://github.com/sysrepo/sysrepo.git - - git clone https://github.com/telekom/sysrepo-plugins-common.git - - cd libyang; git checkout devel; mkdir build; cd build; cmake .. -DCMAKE_C_COMPILER=clang; make -j install; cd ../../ - - cd sysrepo; git checkout devel; mkdir build; cd build; cmake .. -DCMAKE_C_COMPILER=clang; make -j install; cd ../../ - - cd sysrepo-plugins-common; git submodule init; git submodule update; mkdir build; cd build; cmake .. -DCMAKE_C_COMPILER=clang; make -j install; cd ../.. - - pip3 install libyang - - pip3 install Jinja2 - build:default: stage: build