Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PrivateStorageio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PrivateStorage
PrivateStorageio
Commits
90c24e64
Commit
90c24e64
authored
3 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
update build/test instructions in dev docs
parent
3b369190
No related branches found
Branches containing commit
No related tags found
2 merge requests
!228
merge develop into production
,
!190
Protocol sequence diagrams for ZKAPs
Pipeline
#1349
passed
3 years ago
Stage: build
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/dev/README.rst
+3
-3
3 additions, 3 deletions
docs/dev/README.rst
with
3 additions
and
3 deletions
docs/dev/README.rst
+
3
−
3
View file @
90c24e64
...
...
@@ -16,13 +16,13 @@ The test system uses `Nix`_ which must be installed before any tests can be run.
Unit tests are run using this command::
$ nix-build
nixos/
unit-tests
.nix
$ nix-build
--attr
unit-tests
Unit tests are also run on CI.
The system tests are run using this command::
$ nix-build
nixos/
system-tests
.nix
$ nix-build
--attr
system-tests
The system tests boot QEMU VMs which prevents them from running on CI at this time.
The build requires > 10 GB of disk space,
...
...
@@ -32,7 +32,7 @@ try `raising the number of retries <https://whetstone.privatestorage.io/privates
It is also possible go through the testing script interactively - useful for debugging::
$ nix-build -
A
private-storage.driver
nixos/system-tests.nix
$ nix-build -
-attr system-tests.
private-storage.driver
This will give you a result symlink in the current directory.
Inside that is bin/nixos-test-driver which gives you a kind of REPL for interacting with the VMs.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment