Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
4faebb4
doc: fix project's version displayed in doxygen docs
lukaszstolarczuk Sep 9, 2020
5da10eb
doc: set only one column in doxygen's class index view
lukaszstolarczuk Sep 9, 2020
427c5f0
doc: make doxygen generation verbose
lukaszstolarczuk Sep 9, 2020
79b9c63
bump Fedora docker image version (28 -> 32)
lukaszstolarczuk Jul 24, 2020
af0d12d
use ndctl from packages, rather than from source
lukaszstolarczuk Sep 9, 2020
644b004
bump PMDK version in CI
lukaszstolarczuk Sep 9, 2020
7c9aa11
bump valgrind version in CI
lukaszstolarczuk Sep 10, 2020
139116a
Merge pull request #814 from lukaszstolarczuk/bump-dockerimages-to-lts
igchor Sep 11, 2020
ac52adb
Merge pull request #858 from lukaszstolarczuk/fix-doxygen-class-index
lukaszstolarczuk Sep 11, 2020
ddd301a
Merge branch 'stable-1.5' into 'stable-1.6'
lukaszstolarczuk Sep 11, 2020
1dc946b
unset in CMake CLANG_FORMAT properly
lukaszstolarczuk Sep 17, 2020
f7c2314
docker: make build- and push-image scripts more verbose
lukaszstolarczuk Sep 17, 2020
3979a3f
Merge pull request #864 from lukaszstolarczuk/merge-stable-1.5-into-s…
igchor Sep 18, 2020
e725ae1
Merge pull request #875 from lukaszstolarczuk/extend-logging-in-docke…
igchor Sep 18, 2020
b286551
Merge branch 'stable-1.6' into 'stable-1.7'
lukaszstolarczuk Sep 18, 2020
4e29006
docker: bump Ubuntu version to LTS (19.04 -> 20.04)
lukaszstolarczuk Sep 18, 2020
ac559e6
Merge pull request #879 from lukaszstolarczuk/merge-stable-1.6-into-s…
Sep 21, 2020
d0d89e1
Merge branch 'stable-1.7' into 'stable-1.8'
lukaszstolarczuk Sep 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ add_custom_target(tests)

if(DEVELOPER_MODE)
add_flag(-Werror) # XXX: WX for windows
find_program(CLANG_FORMAT NAMES clang-format clang-format-8.0)
find_program(CLANG_FORMAT NAMES clang-format clang-format-8 clang-format-8.0)
set(CLANG_FORMAT_REQUIRED "8.0")
if(CLANG_FORMAT)
get_program_version(${CLANG_FORMAT} CLANG_FORMAT_VERSION)
Expand Down
7 changes: 6 additions & 1 deletion doc/libpmemobj++.Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ HIDE_UNDOC_CLASSES = YES
# standard output by doxygen. If QUIET is set to YES this implies that the
# messages are off.

QUIET = YES
QUIET = NO

# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
# in which the alphabetical index list will be split.

COLS_IN_ALPHA_INDEX = 1

#---------------------------------------------------------------------------
# Configuration options related to the input files
Expand Down
20 changes: 10 additions & 10 deletions travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ services:

env:
matrix:
- TYPE=debug OS=fedora OS_VER=30 PUSH_IMAGE=1 AUTO_DOC_UPDATE=1
- TYPE=debug OS=ubuntu OS_VER=19.04 PUSH_IMAGE=1
- TYPE=debug OS=ubuntu OS_VER=19.04 COVERAGE=1
- TYPE=release OS=fedora OS_VER=30
- TYPE=release OS=ubuntu OS_VER=19.04
- TYPE=valgrind OS=ubuntu OS_VER=19.04
- TYPE=memcheck_drd OS=ubuntu OS_VER=19.04
- TYPE=coverity OS=ubuntu OS_VER=19.04
- TYPE=package OS=ubuntu OS_VER=19.04
- TYPE=package OS=fedora OS_VER=30
- TYPE=debug OS=fedora OS_VER=32 PUSH_IMAGE=1 AUTO_DOC_UPDATE=1
- TYPE=debug OS=ubuntu OS_VER=20.04 PUSH_IMAGE=1
- TYPE=debug OS=ubuntu OS_VER=20.04 COVERAGE=1
- TYPE=release OS=fedora OS_VER=32
- TYPE=release OS=ubuntu OS_VER=20.04
- TYPE=valgrind OS=ubuntu OS_VER=20.04
- TYPE=memcheck_drd OS=ubuntu OS_VER=20.04
- TYPE=coverity OS=ubuntu OS_VER=20.04
- TYPE=package OS=ubuntu OS_VER=20.04
- TYPE=package OS=fedora OS_VER=32

before_install:
- echo $TRAVIS_COMMIT_RANGE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#

# Pull base image
FROM fedora:30
FROM fedora:32
MAINTAINER marcin.slusarz@intel.com

# Additional parameters to build docker without building components
Expand All @@ -51,6 +51,7 @@ RUN dnf update -y \
bash-completion \
clang \
cmake \
daxctl-devel \
doxygen \
gcc \
gdb \
Expand All @@ -65,6 +66,7 @@ RUN dnf update -y \
make \
man \
ncurses-devel \
ndctl-devel \
open-sans-fonts \
passwd \
perl-Text-Diff \
Expand All @@ -80,10 +82,6 @@ RUN dnf update -y \
xmlto \
&& dnf clean all

# Install libndctl
COPY install-libndctl.sh install-libndctl.sh
RUN ./install-libndctl.sh fedora

# Install valgrind
COPY install-valgrind.sh install-valgrind.sh
RUN ./install-valgrind.sh
Expand All @@ -102,7 +100,7 @@ USER $USER

# Set required environment variables
ENV OS fedora
ENV OS_VER 30
ENV OS_VER 32
ENV PACKAGE_MANAGER rpm
ENV NOTTY 1

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#

# Pull base image
FROM ubuntu:19.04
FROM ubuntu:20.04
MAINTAINER marcin.slusarz@intel.com

# Additional parameters to build docker without building components
Expand All @@ -50,7 +50,7 @@ RUN apt-get update \
asciidoc \
autoconf \
clang \
clang-format \
clang-format-8 \
cmake \
curl \
debhelper \
Expand All @@ -60,9 +60,11 @@ RUN apt-get update \
gdb \
git \
graphviz \
libdaxctl-dev \
libjson-c-dev \
libkmod-dev \
libncurses5-dev \
libndctl-dev \
libsfml-dev \
libtbb-dev \
libtext-diff-perl \
Expand All @@ -78,10 +80,6 @@ RUN apt-get update \
whois \
&& rm -rf /var/lib/apt/lists/*

# Install libndctl
COPY install-libndctl.sh install-libndctl.sh
RUN ./install-libndctl.sh

# Install valgrind
COPY install-valgrind.sh install-valgrind.sh
RUN ./install-valgrind.sh
Expand All @@ -98,6 +96,6 @@ USER $USER

# Set required environment variables
ENV OS ubuntu
ENV OS_VER 19.04
ENV OS_VER 20.04
ENV PACKAGE_MANAGER deb
ENV NOTTY 1
8 changes: 4 additions & 4 deletions utils/docker/images/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,20 @@ function usage {
"current directory."
}

# Check if the first and second argument is nonempty
if [[ -z "$1" || -z "$2" ]]; then
echo "Check if the first and second argument are nonempty: \"${1}\", \"${2}\""
if [[ -z "${1}" || -z "${2}" ]]; then
usage
exit 1
fi

# Check if the file Dockerfile.OS-VER exists
echo "Check if the file Dockerfile.${1}-${2} exists"
if [[ ! -f "Dockerfile.$2" ]]; then
echo "ERROR: wrong argument."
usage
exit 1
fi

# Build a Docker image tagged with ${DOCKERHUB_REPO}:1.8-OS-VER
echo "Build a Docker image tagged with ${DOCKERHUB_REPO}:1.8-${1}-${2}"
docker build -t $1:1.8-$2 \
--build-arg http_proxy=$http_proxy \
--build-arg https_proxy=$https_proxy \
Expand Down
92 changes: 0 additions & 92 deletions utils/docker/images/install-libndctl.sh

This file was deleted.

7 changes: 4 additions & 3 deletions utils/docker/images/install-valgrind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ fi

git clone --recursive https://github.com/pmem/valgrind.git
cd valgrind
# pmem-3.14: fix memcheck failure on Ubuntu-19.04
git checkout 0965e35d7fd5c7941dc3f2a0c981cb8386c479d3
# pmem-3.15: Merge pull request #81 from marcinslusarz/pmem-3.15
git checkout 09f75f69683d862f8456f75484fcdc0dc5508900

./autogen.sh
./configure --prefix=/usr
make -j$(nproc)
make -j$(nproc) install
sudo make -j$(nproc) install
cd ..
rm -rf valgrind
15 changes: 8 additions & 7 deletions utils/docker/images/push-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,24 @@ function usage {
"locally."
}

# Check if the first argument is nonempty
if [[ -z "$1" ]]; then
OS__OS_VER=${1}
echo "Check if the first argument (OS-VER) is nonempty: \"${OS__OS_VER}\""
if [[ -z "${OS__OS_VER}" ]]; then
usage
exit 1
fi

# Check if the image tagged with ${DOCKERHUB_REPO}:1.8-OS-VER exists locally
if [[ ! $(docker images -a | awk -v pattern="^${DOCKERHUB_REPO}:1.8-$1\$" \
echo "Check if the image tagged with ${DOCKERHUB_REPO}:1.8-${OS__OS_VER} exists locally"
if [[ ! $(docker images -a | awk -v pattern="^${DOCKERHUB_REPO}:1.8-${OS__OS_VER}\$" \
'$1":"$2 ~ pattern') ]]
then
echo "ERROR: wrong argument."
usage
exit 1
fi

# Log in to the Docker Hub
echo "Log in to the Docker Hub"
docker login -u="$DOCKERHUB_USER" -p="$DOCKERHUB_PASSWORD"

# Push the image to the repository
docker push ${DOCKERHUB_REPO}:1.8-$1
echo "Push the image to the repository"
docker push ${DOCKERHUB_REPO}:1.8-${OS__OS_VER}