9886c80daa
GoCD is an open source continuous delivery server specializing in advanced workflow modeling and visualization. Update maintainers list to include swarren83. Update module list to include gocd agent and server module. Update packages list to include gocd agent and server package. Update version, revision and checksum for GoCD release 16.5.0.
29 lines
581 B
Nix
29 lines
581 B
Nix
# verifies:
|
|
# 1. GoCD server starts
|
|
# 2. GoCD server responds
|
|
|
|
import ./make-test.nix ({ pkgs, ...} :
|
|
|
|
{
|
|
name = "gocd-server";
|
|
meta = with pkgs.stdenv.lib.maintainers; {
|
|
maintainers = [ swarren83 ];
|
|
};
|
|
|
|
nodes = {
|
|
gocd_server =
|
|
{ config, pkgs, ... }:
|
|
{
|
|
virtualisation.memorySize = 2048;
|
|
services.gocd-server.enable = true;
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
$gocd_server->start;
|
|
$gocd_server->waitForUnit("gocd-server");
|
|
$gocd_server->waitForOpenPort("8153");
|
|
$gocd_server->waitUntilSucceeds("curl -s -f localhost:8153/go");
|
|
'';
|
|
})
|