Commit b6a7df0d authored by Georgios Bitzes's avatar Georgios Bitzes
Browse files

Add C8 build

parent e8595bce
Pipeline #1344752 failed with stages
in 34 minutes and 31 seconds
......@@ -8,6 +8,17 @@ stages:
before_script:
- export GTEST_COLOR="1"
c8:
stage: build
image: gitlab-registry.cern.ch/eos/quarkdb/build-image-c8
script:
- packaging/gitlab-build.sh
- mkdir ${CI_JOB_NAME}
- cp -r /root/rpmbuild/RPMS build/SRPMS ${CI_JOB_NAME}
artifacts:
paths:
- "$CI_JOB_NAME"
cc7:
stage: build
image: gitlab-registry.cern.ch/eos/quarkdb/build-image-cc7
......@@ -155,6 +166,20 @@ cc7-koji:
only:
- tags@eos/quarkdb
c8-image:
stage: build-image
variables:
TO: gitlab-registry.cern.ch/eos/quarkdb/build-image-c8
DOCKER_FILE: ci/c8/Dockerfile
NO_CACHE: 1
script:
- ""
tags:
- docker-image-build
only:
variables:
- $BUILD_IMAGES == "1"
cc7-image:
stage: build-image
variables:
......
# A C8 image + build dependencies of quarkdb.
# Significantly improves CI build time, since all packages
# are already there.
FROM gitlab-registry.cern.ch/linuxsupport/c8-base:latest
MAINTAINER Georgios Bitzes, georgios.bitzes@cern.ch, CERN 2020
RUN dnf clean all
RUN dnf remove -y whois-mkpasswd || true
RUN dnf install -y expect git
RUN git clone https://gitlab.cern.ch/eos/quarkdb.git; cd quarkdb; ci/fedora/prepare.sh; cd ..; rm -rf quarkdb
#!/usr/bin/env bash
set -e
##------------------------------------------------------------------------------
## Bootstrap packages - needed to run 'builddep' on quarkdb for the next
## step.
##------------------------------------------------------------------------------
dnf install -y expect gcc-c++ cmake3 make rpm-build which git yum-plugin-priorities yum-utils libtsan dnf-plugins-core
##------------------------------------------------------------------------------
## Extract quarkdb build dependencies from its specfile.
##------------------------------------------------------------------------------
./packaging/make-srpm.sh
dnf builddep -y build/SRPMS/*
##------------------------------------------------------------------------------
## Install rocksdb
##------------------------------------------------------------------------------
ci/install-rocksdb.sh
Supports Markdown
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