GitLab maintenance scheduled for Today, 2019-09-24, from 12:00 to 13:00 CT - Services will be unavailable during this time.

Commit 9be3146c authored by Valentin Reis's avatar Valentin Reis

[ci] Pinning integration tests

This commit pins the integration tests. This is done in the .integration.nix
file, which in turns uses the derivations from the 'argotest'
repository. These pin argopkgs - which itself pins nixpkgs, so
everything should be completely reproducible.

The integration target provisions the dependencies using nix-shell and
runs the basic 'hello world' container test.
parent 9aeabeee
Pipeline #4688 passed with stages
in 2 minutes and 10 seconds
......@@ -47,5 +47,5 @@ venv/
*.nav
*.out
# frequent clones
argotest
# integration tests
_output
......@@ -23,21 +23,19 @@ flake8:
- /^wip\/.*/
- /^WIP\/.*/
integration.test:
stage: test
script:
- git clone https://xgitlab.cels.anl.gov/argo/argotest.git
- cd argotest
- nix-shell -A test --run "./argotk.hs helloworld" --arg nrm-src ../.
- nix-shell .integration.nix --run "argotk.hs helloworld"
artifacts:
paths:
- argotest/cmd_err.log
- argotest/cmd_out.log
- argotest/daemon_out.log
- argotest/daemon_out.log
- argotest/nrm.log
- argotest/time.log
- _output/cmd_err.log
- _output/cmd_out.log
- _output/daemon_out.log
- _output/daemon_out.log
- _output/nrm.log
- _output/time.log
- _output/.argo_nodeos_config_exit_message
expire_in: 1 week
except:
- /^wip\/.*/
......
{ argotest ? (builtins.fetchGit {
url = https://xgitlab.cels.anl.gov/argo/argotest.git;
ref="refactor-argotk";
rev="a20358e5b72f267eb8e2a9152e62c9ebbb3b2d4a"; })
}:
(import argotest {
nrm-src = ./.;
}).test
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