Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixops
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3f1e40719d93
Choose a base ref
...
head repository: NixOS/nixops
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2b06ab1a3800
Choose a head ref
  • 1 commit
  • 8 files changed
  • 1 contributor

Commits on Sep 26, 2019

  1. Verified

    This commit was signed with the committer’s verified signature.
    edolstra Eelco Dolstra
    Copy the full SHA
    2b06ab1 View commit details
17 changes: 0 additions & 17 deletions doc/manual/hacking.xml
Original file line number Diff line number Diff line change
@@ -49,25 +49,8 @@ linkend="sec-deploying-to-ec2"/>.) To run a specific test, run
<literal>python2 tests.py
<replaceable>test-name</replaceable></literal>, e.g.

To run all tests in <filename>./tests/functional/test_encrypted_links.py</filename>

<screen>
$ python2 tests.py tests.functional.test_encrypted_links
</screen>

To run only one test in <filename>tests/functional/test_encrypted_links.py</filename>

<screen>
$ python2 tests.py tests.functional.test_encrypted_links:TestEncryptedLinks.test_deploy
</screen>

To filter on which backends you want to run functional tests against, you can
filter on one or more tags.
To run e.g. only the virtualbox tests, run:

<screen>
$ python2 tests.py tests.functional -A vbox
</screen>


There are also a few NixOS VM tests. These can be run as follows:
5 changes: 0 additions & 5 deletions doc/manual/installation.xml
Original file line number Diff line number Diff line change
@@ -26,9 +26,4 @@ $ nix-env -i nixops

</orderedlist>

<!--
<para>FIXME: VirtualBox configuration (vboxnet0 host-only networking
interface).</para>
-->

</chapter>
11 changes: 0 additions & 11 deletions maintainers/build-virtualbox-image.sh

This file was deleted.

12 changes: 1 addition & 11 deletions nix/options.nix
Original file line number Diff line number Diff line change
@@ -27,17 +27,7 @@ in
type = types.str;
description = ''
This option specifies the type of the environment in which the
machine is to be deployed by NixOps. Currently, it can have
the following values. <literal>"none"</literal> means
deploying to a pre-existing physical or virtual NixOS machine,
reachable via SSH under the hostname or IP address specified
in <option>deployment.targetHost</option>.
<literal>"ec2"</literal> means that a virtual machine should
be instantiated in an Amazon EC2-compatible cloud environment
(see <option>deployment.ec2.*</option>).
<literal>"virtualbox"</literal> causes a VirtualBox VM to be
created on your machine. (This requires VirtualBox to be
configured on your system.)
machine is to be deployed by NixOps.
'';
};

13 changes: 0 additions & 13 deletions tests/functional/encrypted-links.nix

This file was deleted.

7 changes: 0 additions & 7 deletions tests/functional/single_machine_test.py
Original file line number Diff line number Diff line change
@@ -16,13 +16,6 @@ def setup(self):
super(SingleMachineTest,self).setup()
self.depl.nix_exprs = [ logical_spec ]

@attr("vbox")
def test_vbox(self):
self.depl.nix_exprs = self.depl.nix_exprs + [
('%s/single_machine_vbox_base.nix' % (parent_dir))
]
self.run_check()

@attr("ec2")
def test_ec2(self):
self.depl.nix_exprs = self.depl.nix_exprs + [
8 changes: 0 additions & 8 deletions tests/functional/single_machine_vbox_base.nix

This file was deleted.

42 changes: 0 additions & 42 deletions tests/functional/test_encrypted_links.py

This file was deleted.