Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eos
QuarkDB
Commits
b6a7df0d
Commit
b6a7df0d
authored
Jan 15, 2020
by
Georgios Bitzes
Browse files
Add C8 build
parent
e8595bce
Pipeline
#1344752
failed with stages
in 34 minutes and 31 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b6a7df0d
...
...
@@ -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
:
...
...
ci/c8/Dockerfile
0 → 100644
View file @
b6a7df0d
# 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
ci/c8/prepare.sh
0 → 100755
View file @
b6a7df0d
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment