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
3911b5dc
Commit
3911b5dc
authored
Dec 20, 2018
by
Valentin Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[doc] Readme update.
parent
60cb38b4
Pipeline
#4734
passed with stage
in 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
19 deletions
+13
-19
.README.md
.README.md
+7
-11
README.md
README.md
+6
-8
No files found.
.README.md
View file @
3911b5dc
#### integration testing
This repository contains integration tests that validate the argo stack,
leveraging the 'argopkgs' repo
Integration tests that validate the argo stack, leveraging the 'argopkgs' repo.
The intended usage is to override (some of) the source(s) with WIP
version(s), as part of development or continuous integration. This
gitlab CI snippets shows how to do this on a nix-enabled runner. Mind
that this setup tracks argotest master.
version(s), as part of development or continuous integration.
### Usage (tl;dr, I already have nix on my machine.)
...
...
@@ -24,10 +21,10 @@ nix-shell -E '
### Usage (in three parts)
-
[
*
1
*
] Get Nix:
`curl https://nixos.org/nix/install | sh`
-
[
*
*1*
*
] Get Nix:
`curl https://nixos.org/nix/install | sh`
-
[
*
2*
] Use the ~test~
attribute of the argotest' nix attribute set to enter a
test environment.
For example, we can run default tests on the
-
[
*
*2**
] Use the
`test`
attribute of the argotest' nix attribute set to enter a
test environment. For example, we can run default tests on the
"argopkgs-pinned" version of argo components using:
```
bash
...
...
@@ -70,7 +67,7 @@ nix-shell -E '{ argotest ? (builtins.fetchGit {
})
.
test
'
--
run
'
argotk
.
hs
helloworld
'
```
-
[
3
] The
`test`
environment contains the
`argotk.hs`
tool, which runs various
-
[
**3**
] The
`test`
environment contains the
`argotk.hs`
tool, which runs various
operations on the argo stack:
Commands list:
...
...
@@ -120,7 +117,6 @@ There are a few things one has to be aware of using this workflow:
### Example CI setup
For example, we could setup the CI for the
`containers`
repo like:
```
{.yml}
integration.test:
stage: test
...
...
@@ -129,7 +125,7 @@ integration.test:
url = https://xgitlab.cels.anl.gov/argo/argotest.git;
ref="master";})
}:
(import argotest { containers-src = ./. ; }).test'
(import argotest { containers-src = ./. ; }).test'
\
--run 'argotk.hs helloworld'
artifacts:
paths:
...
...
README.md
View file @
3911b5dc
...
...
@@ -4,9 +4,7 @@ This repository contains integration tests that validate the argo stack,
leveraging the 'argopkgs' repo
The intended usage is to override (some of) the source(s) with WIP
version(s), as part of development or continuous integration. This
gitlab CI snippets shows how to do this on a nix-enabled runner. Mind
that this setup tracks argotest master.
version(s), as part of development or continuous integration.
### Usage (tl;dr, I already have nix on my machine.)
...
...
@@ -24,11 +22,11 @@ nix-shell -E '
### Usage (in three parts)
-
\[
*
1
*
\]
Get Nix:
`curl https://nixos.org/nix/install | sh`
-
\[
*
*1*
*
\]
Get Nix:
`curl https://nixos.org/nix/install | sh`
-
\[
*
2*
\]
Use the ~test~ attribute of the argotest' nix attribute set
to enter a test environment. For example, we can run default tests
on the "argopkgs-pinned" version of argo components using:
-
\[
*
*2**
\]
Use the
`test`
attribute of the argotest' nix attribute
set to enter a test environment. For example, we can run default
tests
on the "argopkgs-pinned" version of argo components using:
```
{.bash}
nix-shell -E '
...
...
@@ -70,7 +68,7 @@ nix-shell -E '{ argotest ? (builtins.fetchGit {
}).test' --run 'argotk.hs helloworld'
```
-
\[
3
\]
The
`test`
environment contains the
`argotk.hs`
tool, which
-
\[
**3**
\]
The
`test`
environment contains the
`argotk.hs`
tool, which
runs various operations on the argo stack:
Commands list:
...
...
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