Commit 53458e04 authored by Valentin Reis's avatar Valentin Reis

hydra declarative configuration changes

parent b7beb9cd
Pipeline #3700 canceled with stage
{ hostNixpkgs, declInput }: let pkgs = import nixpkgs {}; in {
jobsets = pkgs.runCommand "spec.json" {} ''
cat <<EOF
${builtins.toXML declInput}
EOF
cat > $out <<EOF
{
"master": {
"enabled": 1,
"hidden": false,
"description": "js",
"nixexprinput": "argopkgs",
"nixexprpath": "release.nix",
"checkinterval": 300,
"schedulingshares": 100,
"enableemail": true,
"emailoverride": "fre@freux.fr",
"keepnr": 3,
"inputs": {
"argopkgs": { "type": "git", "value": "https://xgitlab.cels.anl.gov/argo/argopkgs.git", "emailresponsible": false },
"hostNixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs.git release-18.03", "emailresponsible": false }
}
}
}
EOF
'';
}
......@@ -3,7 +3,7 @@
"hidden": false,
"description": "Argopkgs Jobsets",
"nixexprinput": "argopkgs",
"nixexprpath": "ci.nix",
"nixexprpath": "hydra.nix",
"checkinterval": 300,
"schedulingshares": 100,
"enableemail": true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment