Skip to content

Commit

Permalink
CI/CD: change base docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
zinccyy committed Jan 9, 2023
1 parent f700043 commit a877356
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: debian
image: ${SYSREPO_CICD_IMAGE}

variables:
GIT_SUBMODULE_STRATEGY: recursive
Expand All @@ -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

Expand Down

0 comments on commit a877356

Please sign in to comment.