Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
argotest
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Reis
argotest
Commits
772f8098
Commit
772f8098
authored
Dec 18, 2018
by
Valentin Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[doc] Readme update
parent
87081c28
Pipeline
#4715
passed with stage
in 6 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
.README.md
.README.md
+2
-2
README.md
README.md
+10
-10
No files found.
.README.md
View file @
772f8098
...
...
@@ -35,12 +35,12 @@ this repository. They all have default values.
For a more involved example, let's run a test in a custom environment. Here,
we'll run the 'helloworld' test in an environment that uses a local
`nrm`
source, the master
`libnrm`
branch and a specific revision of the
`containers`
branch
:
branch
. We'l'l use the master
`argotest`
branch for that.
```
nix
nix-shell
-
E
'
{
argotest
?
(
builtins
.
fetchGit
{
url
=
https://xgitlab.cels.anl.gov/argo/argotest.git
;
ref
=
"
argo-nodeos-config-suid-di
r"
;})
ref
=
"
maste
r"
;})
}:
(
import
argotest
{
nrm-src
=
/path/to/nrm
;
...
...
README.md
View file @
772f8098
...
...
@@ -35,12 +35,13 @@ file in this repository. They all have default values.
For a more involved example, let's run a test in a custom environment.
Here, we'll run the 'helloworld' test in an environment that uses a
local
`nrm`
source, the master
`libnrm`
branch and a specific revision
of the
`containers`
branch:
of the
`containers`
branch. We'l'l use the master
`argotest`
branch for
that.
```
{.nix}
nix-shell -E '{ argotest ? (builtins.fetchGit {
url = https://xgitlab.cels.anl.gov/argo/argotest.git;
ref="
argo-nodeos-config-suid-di
r";})
ref="
maste
r";})
}:
(import argotest {
nrm-src = /path/to/nrm;
...
...
@@ -128,8 +129,10 @@ Available commands:
with properly cleaned sockets, logfiles.
application Setup stack and run an arbitrary command in a
container.
helloworld Test 1: Setup stack and check that hello world app
helloworld Test 1: Setup stack and check that
a
hello world app
sends message back to cmd.
perfwrapper Test 2: Setup stack and check that a hello world app
sends message back to cmd. Uses argo-perf-wrapper.
```
```
{.bash}
...
...
@@ -138,7 +141,8 @@ argotk.hs helloworld --help
```
{.txt}
Usage: argotk.hs helloworld
Test 1: Setup stack and check that hello world app sends message back to cmd.
Test 1: Setup stack and check that a hello world app sends message back to
cmd.
Available options:
-h,--help Show this help text
...
...
@@ -149,12 +153,10 @@ argotk.hs application --help
```
```
{.txt}
Usage: argotk.hs application
[-w|--working_directory DIRECTORY]
COMMAND
Usage: argotk.hs application COMMAND
Setup stack and run an arbitrary command in a container.
Available options:
-w,--working_directory DIRECTORY
Working directory. Will be used for logging.
COMMAND Application to run inside the container
-h,--help Show this help text
```
...
...
@@ -164,13 +166,11 @@ argotk.hs daemon --help
```
```
{.txt}
Usage: argotk.hs daemon
[-w|--working_directory DIRECTORY]
Usage: argotk.hs daemon
Set up and launch the daemon in synchronous mode, with properly cleaned
sockets, logfiles.
Available options:
-w,--working_directory DIRECTORY
Working directory. Will be used for logging.
-h,--help Show this help text
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment