Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixops
  Commit: eda8e1cea9b5920c31f7dffad7d380c7fb9c176c
      
https://github.com/NixOS/nixops/commit/eda8e1cea9b5920c31f7dffad7d380c7fb9c176c
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M release.nix
    R tests/hetzner-backend.nix
    A tests/hetzner-backend/default.nix

  Log Message:
  -----------
  tests/hetzner: Move into a separate directory.

We're going to split up the expression file, so we can break off
unimportant stuff into other files than the default.nix.

Signed-off-by: aszlig <[email protected]>


  Commit: afdb290905848863a276ccbade087383d7205584
      
https://github.com/NixOS/nixops/commit/afdb290905848863a276ccbade087383d7205584
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M tests/hetzner-backend/default.nix
    A tests/hetzner-backend/repository.nix

  Log Message:
  -----------
  tests/hetzner: Factor out APT repository creation.

We now do this properly by also signing the repository with a valid GPG
key instead of trying to force APT into "insecure" mode.

So far we had repository creatien in the derivation creating the rescue
image, which now is split off because we want to trim down build time of
the rescue image to only the essential parts. That way it's easier to
work on and/or debug the rescue image creation.

As for the repository creation itself, it's now comprised of three
derivations:

 * Snakeoil GPG key
 * Snakeoil GPG key Debian package
 * The finished APT repository

Right now I'm not sure whether we can avoid the keyring package, but for
the matter of completeness it's good to have it (especially if we want
to generalize it for <nixpkgs> someday).

Signed-off-by: aszlig <[email protected]>


  Commit: 407134db8a1f70722d34a8e6262020b5f25c68e2
      
https://github.com/NixOS/nixops/commit/407134db8a1f70722d34a8e6262020b5f25c68e2
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M tests/hetzner-backend/default.nix

  Log Message:
  -----------
  tests/hetzner: Update to Debian Jessie.

We also switch to the latest version of live-build to avoid a range of
bugs and incompatibilities to the version shipped with Jessie.

The main reason however is that the real Hetzner rescue system is now on
Jessie, so in order to get our test environment as close to this, we
need to update as well.

Signed-off-by: aszlig <[email protected]>


  Commit: 43950a13f35d4f067e63317268b4862d65298f91
      
https://github.com/NixOS/nixops/commit/43950a13f35d4f067e63317268b4862d65298f91
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    A tests/hetzner-backend/backdoor.nix
    M tests/hetzner-backend/default.nix
    M tests/hetzner-backend/repository.nix

  Log Message:
  -----------
  tests/hetzner: Add backdoor as a Debian package.

We want to ensure we don't have to cope with all the changes to the nex
release of live-build, so we create a proper Debian package and put it
into the APT repository.

The reason why this is the best way to deal with it is because
live-build's goal is to go for unmodified Debian packages and the
configuration file names frequently change between versions.

Signed-off-by: aszlig <[email protected]>


  Commit: 92e125c50b93a8a1a5a75b688f29a3f95e8eb02c
      
https://github.com/NixOS/nixops/commit/92e125c50b93a8a1a5a75b688f29a3f95e8eb02c
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M tests/hetzner-backend/default.nix

  Log Message:
  -----------
  tests/hetzner: Set root passwords in testScript.

The chroot hook scripts need to be suffixed with .hook.chroot in the
latest version of live-build, so let's avoid stumbling on changes like
this by setting it imperatively in the testScript.

Signed-off-by: aszlig <[email protected]>


  Commit: 79a29bfce62c5483299d0b35d5639521666fb760
      
https://github.com/NixOS/nixops/commit/79a29bfce62c5483299d0b35d5639521666fb760
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M tests/hetzner-backend/default.nix

  Log Message:
  -----------
  tests/hetzner: Don't set a baudrate in ttyS0.

It's a dummy anyway, so it's just ugly if the baudrate sticks around ;-)

Signed-off-by: aszlig <[email protected]>


  Commit: de53bee48ebf489819b622d02317288c734ba83a
      
https://github.com/NixOS/nixops/commit/de53bee48ebf489819b622d02317288c734ba83a
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M tests/hetzner-backend/default.nix

  Log Message:
  -----------
  tests/hetzner: Set up /etc for rescue image.

This needs cpio within the live-build process, because it's using a
construct of find | cpio to copy the files over to the chroot.

As for the journal configuration, we want to have full information about
what's going on in the rescue system routed to the serial device.

Signed-off-by: aszlig <[email protected]>


  Commit: 5eee0b4b7379b1777c75cbee6b08024b9065b432
      
https://github.com/NixOS/nixops/commit/5eee0b4b7379b1777c75cbee6b08024b9065b432
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M tests/hetzner-backend/default.nix

  Log Message:
  -----------
  tests/hetzner: Correctly set bootloader timeout.

The hook we've used so far doesn't work anymore and also isn't
documented anymore in the latest version of live-build. So let's copy
the full bootloaders directory and change it directly instead of a hook.

Now, the rescue systems should properly boot.

Signed-off-by: aszlig <[email protected]>


  Commit: 71e6ce2ddb6bbbcbfa03caf7b40435ab1656265f
      
https://github.com/NixOS/nixops/commit/71e6ce2ddb6bbbcbfa03caf7b40435ab1656265f
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M tests/hetzner-backend/default.nix

  Log Message:
  -----------
  tests/hetzner: Make rescue system setup DRY.

Both $target1 and $target2 are set up the same way except for very few
differences, so it really makes sense to put them into a common sub.

Functionality-wise there are no changes, except for dropping the work-
around regarding mkfs.btrfs, which is no longer needed in newer versions
of live-build.

Signed-off-by: aszlig <[email protected]>


  Commit: 5bec79d6b6f4a9115a285e32b4b4f8c1cb1800eb
      
https://github.com/NixOS/nixops/commit/5bec79d6b6f4a9115a285e32b4b4f8c1cb1800eb
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M tests/hetzner-backend/default.nix

  Log Message:
  -----------
  tests/hetzner: Allow passwd auth as root@rescue.

On Debian Jessie, password authentication as user root isn't permitted
anymore, so we need to enable it for the rescue targets (because the
real Hetzner ones work solely on password authentication).

Signed-off-by: aszlig <[email protected]>


  Commit: 6da29bc79ddcbba97bdcb1135ff88c44dd4ba833
      
https://github.com/NixOS/nixops/commit/6da29bc79ddcbba97bdcb1135ff88c44dd4ba833
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M tests/hetzner-backend/default.nix

  Log Message:
  -----------
  tests/hetzner: Log $name in setupAndStartRescue.

Only an aesthetics issue for the resulting test log, no changes in
functionality.

Signed-off-by: aszlig <[email protected]>


  Commit: 8d6f5cb9a280fc468cf01dd5b2440a4ddec7f85e
      
https://github.com/NixOS/nixops/commit/8d6f5cb9a280fc468cf01dd5b2440a4ddec7f85e
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M tests/hetzner-backend/default.nix
    A tests/hetzner-backend/rescue-image.nix

  Log Message:
  -----------
  tests/hetzner: Split off rescue image creation.

We now no longer pollute the main test file, so that
tests/hetzner-backend/default.nix is now solely about the real test
while the implementation details about the rescue ISO are now in
rescue-image.nix and other files in that directory.

Signed-off-by: aszlig <[email protected]>


  Commit: 82f49691821a23402ea486154e24afe95a824682
      
https://github.com/NixOS/nixops/commit/82f49691821a23402ea486154e24afe95a824682
  Author: aszlig <[email protected]>
  Date:   2015-10-21 (Wed, 21 Oct 2015)

  Changed paths:
    M release.nix

  Log Message:
  -----------
  release.nix: Re-enable tests for Hetzner backend.

This reverts commit 209aa199c3b2d64b5bb9263760b579c465af9451.

Our tests are now working again, so we can build them on Hydra.

Signed-off-by: aszlig <[email protected]>


  Commit: 370e9284c7241fe8a66b33e98bda7c0433159382
      
https://github.com/NixOS/nixops/commit/370e9284c7241fe8a66b33e98bda7c0433159382
  Author: aszlig <[email protected]>
  Date:   2015-10-22 (Thu, 22 Oct 2015)

  Changed paths:
    M tests/hetzner-backend/default.nix

  Log Message:
  -----------
  tests/hetzner: Fix prepopulation of the Nix store.

This is in par with 2a76f9c95795c27f53c1a26cd1167f5170718958.

Over there, we do the same fix for the "none" backend. The approach here
doesn't suffer from the same problems because we were using myEnvFun,
which happens to properly reference the store paths.

While this is working, it's ugly as hell because myEnvFun could not only
cease to exist but also change implementation, so we're now doing the
same as in the referenced commit now.

Signed-off-by: aszlig <[email protected]>


  Commit: aa708f5450305b9fce30d0bcd9e642dfcb7cd277
      
https://github.com/NixOS/nixops/commit/aa708f5450305b9fce30d0bcd9e642dfcb7cd277
  Author: Eelco Dolstra <[email protected]>
  Date:   2015-10-26 (Mon, 26 Oct 2015)

  Changed paths:
    M release.nix
    R tests/hetzner-backend.nix
    A tests/hetzner-backend/backdoor.nix
    A tests/hetzner-backend/default.nix
    A tests/hetzner-backend/repository.nix
    A tests/hetzner-backend/rescue-image.nix

  Log Message:
  -----------
  Merge pull request #348 from aszlig/fixup-hetzner-tests

Fixup and refactor Hetzner backend tests


Compare: https://github.com/NixOS/nixops/compare/13a1d2744dc3...aa708f545030
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to