Commit e5398ce6 authored by Valentin Reis's avatar Valentin Reis

[ci] Offloading CI versioning to argotest.

This commits simplifies the CI setup for this repository, offloading
all complexity to the "argotest" repository.
parent 3e8a8ca8
Pipeline #4847 failed with stages
in 1 second
stages:
- build
- test
integration.test:
......@@ -20,3 +21,68 @@ integration.test:
- /^WIP\/.*/
tags:
- integration
.nix-build:
stage: build
tags:
- integration
.nix-integration:
stage: test
artifacts:
paths:
- _output/cmd_err.log
- _output/cmd_out.log
- _output/daemon_out.log
- _output/daemon_out.log
- _output/nrm.log
- _output/.argo_nodeos_config_exit_message
expire_in: 1 week
except:
- /^wip\/.*/
- /^WIP\/.*/
tags:
- integration
containers.build:
extends: .nix-build
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-build .nix -A containers
- rm -rf $CACHE
libnrm.build:
extends: .nix-build
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-build .nix -A libnrm
- rm -rf $CACHE
nrm.build:
extends: .nix-build
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-build .nix -A nrm
- rm -rf $CACHE
TestHello.test:
extends: .nix-integration
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-shell .nix -A test --run "argotk.hs TestHello"
- rm -rf $CACHE
TestListen.test:
extends: .nix-integration
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-shell .nix -A test --run "argotk.hs TestListen"
- rm -rf $CACHE
TestPerfwrapper.test:
extends: .nix-integration
script:
- CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
- XDG_CACHE_HOME=$CACHE nix-shell .nix -A test --run "argotk.hs TestPerfwrapper"
- rm -rf $CACHE
#ifndef __DEFAULTS_HPP__
#define __DEFAULTS_HPP__
#define VERSION "0.4" //[JZ] Poor version management; needs to automate somehow
#define APP_NAME "argo_nodeos_config"
#define EXIT_MESSAGE_FILE_NAME ".argo_nodeos_config_exit_message"
#define DEFAULT_ACL_CONFIG_PATH "/etc/argo/nodeos/"
#define DEFAULT_ACL_CONFIG "/etc/argo/nodeos/acl.conf"
#define OWNERSHIP_MAP_FOLDER "/var/run/argo/nodeos/"
#define OWNERSHIP_MAP "/var/run/argo/nodeos/.ownership_map"
#define LOCK_FILE_FOLDER "/var/lock/argo/"
#define LOCK_FILE_NAME "nodeos_config.lock"
#define DEFAULT_CGROUP_ROOT "/sys/fs/cgroup/"
#define ARGO_ROOT_CONTAINER_NAME "argo"
#define ARGO_SERVICE_OS_CONTAINER_NAME "service_os"
#define ARGO_COMPUTE_CONTAINERS_ROOT_NAME "argo_containers"
#endif //__DEFAULTS_HPP__
Markdown is supported
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