Commit e7751d13 authored by Marc Vef's avatar Marc Vef
Browse files

Merge branch 'setup-v0.9.4' into 'master'

Setup v0.9.4

Setup dependencies, docker, version numbers, spack.

See merge request !200
parents 05874f69 f80b8c9c
Loading
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -24,14 +24,14 @@ variables:
  GIT_SUBMODULE_STRATEGY:       recursive

# base image
image: gekkofs/core:0.9.3-rc1
image: gekkofs/core:0.9.4-dev

################################################################################
## Validating
################################################################################
check format:
  stage: lint
  image: gekkofs/linter:0.9.3-rc1
  image: gekkofs/linter:0.9.4-dev
  needs: []
  script:
    - ${SCRIPTS_DIR}/check_format.sh
@@ -45,7 +45,7 @@ check format:
################################################################################
gkfs:
  stage: build
  image: gekkofs/deps:0.9.3-rc1
  image: gekkofs/deps:0.9.4-dev
  interruptible: true
  needs: []
  script:
@@ -72,7 +72,7 @@ gkfs:
## == tests for scripts ====================
scripts:
  stage: test
  image: gekkofs/testing:0.9.3-rc1
  image: gekkofs/testing:0.9.4-dev
  needs: []
  script:
    - mkdir -p ${BUILD_PATH}/tests/scripts
@@ -88,7 +88,7 @@ scripts:
## == integration tests for gkfs ===========
gkfs:integration:
  stage: test
  image: gekkofs/testing:0.9.3-rc1
  image: gekkofs/testing:0.9.4-dev
  interruptible: true
  needs: ['gkfs']
  parallel:
@@ -137,7 +137,7 @@ gkfs:integration:
## == integration tests for gkfwd ==========
gkfwd:integration:
  stage: test
  image: gekkofs/testing:0.9.3-rc1
  image: gekkofs/testing:0.9.4-dev
  interruptible: true
  needs: ['gkfs']
  parallel:
@@ -187,7 +187,7 @@ gkfwd:integration:
## == unit tests for gkfs ==================
gkfs:unit:
  stage: test
  image: gekkofs/testing:0.9.3-rc1
  image: gekkofs/testing:0.9.4-dev
  needs: ['gkfs']
  script:
    ## Add path to mkfs.kreon
@@ -225,7 +225,7 @@ gkfs:unit:
################################################################################
documentation:
  stage: docs
  image: gekkofs/docs:0.9.3-rc1
  image: gekkofs/docs:0.9.4-dev
  needs: []
  rules:
    # we only build the documentation automatically if we are on the
@@ -255,7 +255,7 @@ documentation:
## == coverage baseline ====================
coverage:baseline:
  stage: report
  image: gekkofs/testing:0.9.3-rc1
  image: gekkofs/testing:0.9.4-dev
  interruptible: true
  needs: ['gkfs']

@@ -281,7 +281,7 @@ coverage:baseline:

coverage:
  stage: report
  image: gekkofs/testing:0.9.3-rc1
  image: gekkofs/testing:0.9.4-dev
#  needs: [ 'coverage:baseline', 'gkfs:integration', 'gkfwd:integration',
#           'gkfs:unit' ]
  needs: [ 'coverage:baseline', 'gkfs:integration', 'gkfs:unit', 'gkfwd:integration']
+40 −0
Original line number Diff line number Diff line
FROM debian:bullseye-slim

LABEL Description="Debian-based environment suitable to build GekkoFS and its dependencies"

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
		git \
		curl \
		ca-certificates \
		libtool \
		pkg-config \
		make \
		automake \
		gcc \
		g++ \
		ninja-build \
		procps \
		# AGIOS dependencies
		libconfig-dev \
		# Mercury dependencies
		libltdl-dev \
		lbzip2 \
        # Margo dependencies \
        libjson-c-dev \
		# RocksDB dependencies
		liblz4-dev \
		# syscall_intercept dependencies
		libcapstone-dev \
		# GekkoFS dependencies
		libboost-program-options-dev \
		uuid-dev && \
    # install cmake 3.14+ since it's needed for some dependencies
    curl -OL https://github.com/Kitware/CMake/releases/download/v3.25.2/cmake-3.25.2-Linux-x86_64.sh && \
    chmod u+x ./cmake-3.25.2-Linux-x86_64.sh && \
    ./cmake-3.25.2-Linux-x86_64.sh --skip-license --prefix=/usr && \
    # Clean apt cache to reduce image layer size
    rm -rf /var/lib/apt/lists/* && \
    # Clean apt caches of packages
    apt-get clean && apt-get autoclean && \
    rm ./cmake-3.25.2-Linux-x86_64.sh
+10 −0
Original line number Diff line number Diff line
.PHONY: all

amd64:
	docker buildx build --platform amd64 -t gekkofs/core:0.9.4-dev .

aarch64:
	docker buildx build --platform aarch64 -t gekkofs/core:0.9.4-dev .

all:
	docker buildx build -t gekkofs/core:0.9.4-dev .
+20 −0
Original line number Diff line number Diff line
FROM debian:bullseye-slim

LABEL Description="Environment to generate coverage reports in GekkoFS"

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        wget \
        git \
        cmake \
        gcc \
        g++ \
        lcov \
        python3 \
        python3-pip \
        python3-setuptools && \
    rm -rf /var/lib/apt/lists/* && \
    apt-get clean && \
    apt-get autoclean && \
    python3 -m pip install --upgrade pip && \
    pip3 install gcovr
+10 −0
Original line number Diff line number Diff line
.PHONY: all

amd64:
	docker build --platform amd64 -t gekkofs/coverage:0.9.4-dev .

aarch64:
	docker build --platform aarch64 -t gekkofs/coverage:0.9.4-dev .

all:
	docker build -t gekkofs/coverage:0.9.4-dev .
 No newline at end of file
Loading