Loading .gitlab-ci.yml +5 −22 Original line number Diff line number Diff line Loading @@ -65,23 +65,6 @@ gkfs: - ${INSTALL_PATH} expire_in: 1 week gkfwd: stage: build image: gekkofs/deps:0.9.2 interruptible: true needs: [] script: - cmake --preset ci-forwarding-coverage - cmake --build ${BUILD_PATH} -j $(nproc) --target install # reduce artifacts size - ${CI_SCRIPTS_DIR}/trim_build_artifacts.sh ${BUILD_PATH} artifacts: paths: - ${BUILD_PATH} - ${INSTALL_PATH} expire_in: 1 week ################################################################################ ## Testing ################################################################################ Loading Loading @@ -156,12 +139,12 @@ gkfwd:integration: stage: test image: gekkofs/testing:0.9.2 interruptible: true needs: ['gkfwd'] needs: ['gkfs'] parallel: matrix: - SUBTEST: [ forwarding ] rules: - when: never # rules: # - when: never script: ## run tests Loading Loading @@ -274,7 +257,7 @@ coverage:baseline: stage: report image: gekkofs/testing:0.9.2 interruptible: true needs: ['gkfs', 'gkfwd'] needs: ['gkfs'] script: ## capture initial coverage information to establish a baseline Loading @@ -301,7 +284,7 @@ coverage: image: gekkofs/testing:0.9.2 # needs: [ 'coverage:baseline', 'gkfs:integration', 'gkfwd:integration', # 'gkfs:unit' ] needs: [ 'coverage:baseline', 'gkfs:integration', 'gkfs:unit' ] needs: [ 'coverage:baseline', 'gkfs:integration', 'gkfs:unit', 'gkfwd:integration'] script: - cd ${CI_PROJECT_DIR} - cmake Loading CMakeLists.txt +1 −5 Original line number Diff line number Diff line Loading @@ -338,11 +338,7 @@ if (GKFS_BUILD_TESTS) message(STATUS "[gekkofs] Network interface for tests: ${GKFS_TESTS_INTERFACE}") message(STATUS "[gekkofs] Check for forwarding tests...") if (GKFS_ENABLE_FORWARDING) set(GKFS_TESTS_FORWARDING "ON" CACHE STRING "Enable I/O forwarding tests (default: OFF)") else () set(GKFS_TESTS_FORWARDING "OFF" CACHE STRING "Enable I/O forwarding tests (default: OFF)") endif () message(STATUS "[gekkofs] Forwarding tests: ${GKFS_TESTS_FORWARDING}") message(STATUS "[gekkofs] Check for guided distributor tests...") if (GKFS_USE_GUIDED_DISTRIBUTION) Loading CMakePresets.json +0 −59 Original line number Diff line number Diff line Loading @@ -27,14 +27,6 @@ "deprecated": true } }, { "name": "forwarding", "inherits": "default", "hidden": true, "cacheVariables": { "GKFS_ENABLE_FORWARDING": true } }, { "name": "release", "hidden": true, Loading Loading @@ -113,30 +105,6 @@ "release" ] }, { "name": "forwarding-debug", "displayName": "Forwarding gekkofs (debug)", "inherits": [ "forwarding", "debug" ] }, { "name": "forwarding-coverage", "displayName": "Forwarding gekkofs (coverage)", "inherits": [ "forwarding", "coverage" ] }, { "name": "forwarding-release", "displayName": "Forwarding gekkofs (release)", "inherits": [ "forwarding", "release" ] }, { "name": "ci-debug", "displayName": "Default gekkofs (debug, CI flags)", Loading Loading @@ -171,33 +139,6 @@ "default", "release" ] }, { "name": "ci-forwarding-debug", "displayName": "Forwarding gekkofs (debug, CI flags)", "inherits": [ "ci", "forwarding", "debug" ] }, { "name": "ci-forwarding-coverage", "displayName": "Forwarding gekkofs (coverage, CI flags)", "inherits": [ "ci", "forwarding", "coverage" ] }, { "name": "ci-forwarding-release", "displayName": "Forwarding gekkofs (release, CI flags)", "inherits": [ "ci", "forwarding", "release" ] } ] } include/client/env.hpp +1 −2 Original line number Diff line number Diff line Loading @@ -49,9 +49,8 @@ static constexpr auto LOG_PER_PROCESS = ADD_PREFIX("LOG_PER_PROCESS"); static constexpr auto LOG_OUTPUT_TRUNC = ADD_PREFIX("LOG_OUTPUT_TRUNC"); static constexpr auto CWD = ADD_PREFIX("CWD"); static constexpr auto HOSTS_FILE = ADD_PREFIX("HOSTS_FILE"); #ifdef GKFS_ENABLE_FORWARDING static constexpr auto FORWARDING_MAP_FILE = ADD_PREFIX("FORWARDING_MAP_FILE"); #endif static constexpr auto NUM_REPL = ADD_PREFIX("NUM_REPL"); } // namespace gkfs::env Loading include/client/preload.hpp +2 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,8 @@ #define IOINTERCEPT_PRELOAD_HPP #include <client/preload_context.hpp> #include <common/env_util.hpp> #include <client/env.hpp> #define EUNKNOWN (-1) #define CTX gkfs::preload::PreloadContext::getInstance() Loading Loading
.gitlab-ci.yml +5 −22 Original line number Diff line number Diff line Loading @@ -65,23 +65,6 @@ gkfs: - ${INSTALL_PATH} expire_in: 1 week gkfwd: stage: build image: gekkofs/deps:0.9.2 interruptible: true needs: [] script: - cmake --preset ci-forwarding-coverage - cmake --build ${BUILD_PATH} -j $(nproc) --target install # reduce artifacts size - ${CI_SCRIPTS_DIR}/trim_build_artifacts.sh ${BUILD_PATH} artifacts: paths: - ${BUILD_PATH} - ${INSTALL_PATH} expire_in: 1 week ################################################################################ ## Testing ################################################################################ Loading Loading @@ -156,12 +139,12 @@ gkfwd:integration: stage: test image: gekkofs/testing:0.9.2 interruptible: true needs: ['gkfwd'] needs: ['gkfs'] parallel: matrix: - SUBTEST: [ forwarding ] rules: - when: never # rules: # - when: never script: ## run tests Loading Loading @@ -274,7 +257,7 @@ coverage:baseline: stage: report image: gekkofs/testing:0.9.2 interruptible: true needs: ['gkfs', 'gkfwd'] needs: ['gkfs'] script: ## capture initial coverage information to establish a baseline Loading @@ -301,7 +284,7 @@ coverage: image: gekkofs/testing:0.9.2 # needs: [ 'coverage:baseline', 'gkfs:integration', 'gkfwd:integration', # 'gkfs:unit' ] needs: [ 'coverage:baseline', 'gkfs:integration', 'gkfs:unit' ] needs: [ 'coverage:baseline', 'gkfs:integration', 'gkfs:unit', 'gkfwd:integration'] script: - cd ${CI_PROJECT_DIR} - cmake Loading
CMakeLists.txt +1 −5 Original line number Diff line number Diff line Loading @@ -338,11 +338,7 @@ if (GKFS_BUILD_TESTS) message(STATUS "[gekkofs] Network interface for tests: ${GKFS_TESTS_INTERFACE}") message(STATUS "[gekkofs] Check for forwarding tests...") if (GKFS_ENABLE_FORWARDING) set(GKFS_TESTS_FORWARDING "ON" CACHE STRING "Enable I/O forwarding tests (default: OFF)") else () set(GKFS_TESTS_FORWARDING "OFF" CACHE STRING "Enable I/O forwarding tests (default: OFF)") endif () message(STATUS "[gekkofs] Forwarding tests: ${GKFS_TESTS_FORWARDING}") message(STATUS "[gekkofs] Check for guided distributor tests...") if (GKFS_USE_GUIDED_DISTRIBUTION) Loading
CMakePresets.json +0 −59 Original line number Diff line number Diff line Loading @@ -27,14 +27,6 @@ "deprecated": true } }, { "name": "forwarding", "inherits": "default", "hidden": true, "cacheVariables": { "GKFS_ENABLE_FORWARDING": true } }, { "name": "release", "hidden": true, Loading Loading @@ -113,30 +105,6 @@ "release" ] }, { "name": "forwarding-debug", "displayName": "Forwarding gekkofs (debug)", "inherits": [ "forwarding", "debug" ] }, { "name": "forwarding-coverage", "displayName": "Forwarding gekkofs (coverage)", "inherits": [ "forwarding", "coverage" ] }, { "name": "forwarding-release", "displayName": "Forwarding gekkofs (release)", "inherits": [ "forwarding", "release" ] }, { "name": "ci-debug", "displayName": "Default gekkofs (debug, CI flags)", Loading Loading @@ -171,33 +139,6 @@ "default", "release" ] }, { "name": "ci-forwarding-debug", "displayName": "Forwarding gekkofs (debug, CI flags)", "inherits": [ "ci", "forwarding", "debug" ] }, { "name": "ci-forwarding-coverage", "displayName": "Forwarding gekkofs (coverage, CI flags)", "inherits": [ "ci", "forwarding", "coverage" ] }, { "name": "ci-forwarding-release", "displayName": "Forwarding gekkofs (release, CI flags)", "inherits": [ "ci", "forwarding", "release" ] } ] }
include/client/env.hpp +1 −2 Original line number Diff line number Diff line Loading @@ -49,9 +49,8 @@ static constexpr auto LOG_PER_PROCESS = ADD_PREFIX("LOG_PER_PROCESS"); static constexpr auto LOG_OUTPUT_TRUNC = ADD_PREFIX("LOG_OUTPUT_TRUNC"); static constexpr auto CWD = ADD_PREFIX("CWD"); static constexpr auto HOSTS_FILE = ADD_PREFIX("HOSTS_FILE"); #ifdef GKFS_ENABLE_FORWARDING static constexpr auto FORWARDING_MAP_FILE = ADD_PREFIX("FORWARDING_MAP_FILE"); #endif static constexpr auto NUM_REPL = ADD_PREFIX("NUM_REPL"); } // namespace gkfs::env Loading
include/client/preload.hpp +2 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,8 @@ #define IOINTERCEPT_PRELOAD_HPP #include <client/preload_context.hpp> #include <common/env_util.hpp> #include <client/env.hpp> #define EUNKNOWN (-1) #define CTX gkfs::preload::PreloadContext::getInstance() Loading