Skip to content

Commit

Permalink
tullia tasks: Add 'nix' in the name for hydraJobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jbgi committed Mar 3, 2023
1 parent 825118a commit 46f7e28
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions nix/tullia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ rec {
};
in
{
"ci/pr/required" = mkBulkJobsTask "pr.required";
"ci/pr/nonrequired" = mkBulkJobsTask "pr.nonrequired --keep-going";
"ci/push/required" = mkBulkJobsTask "required";
"ci/push/nonrequired" = mkBulkJobsTask "nonrequired --keep-going";
"ci/pr/nix/required" = mkBulkJobsTask "pr.required";
"ci/pr/nix/nonrequired" = mkBulkJobsTask "pr.nonrequired --keep-going";
"ci/push/nix/required" = mkBulkJobsTask "required";
"ci/push/nix/nonrequired" = mkBulkJobsTask "nonrequired --keep-going";

"ci/cardano-deployment" = { lib, ... } @ args: {
imports = [ common ];
Expand All @@ -82,16 +82,6 @@ rec {
memory = 1024 * 16;
nomad.resources.cpu = 10000;
};

"ci/push" = { lib, ... } @ args: {
imports = [ common ];
after = [ "ci/push/required" "ci/cardano-deployment" ];
};

"ci/pr" = { lib, ... } @ args: {
imports = [ common ];
after = [ "ci/pr/required" "ci/pr/nonrequired" "ci/cardano-deployment" ];
};
};

actions =
Expand Down Expand Up @@ -124,24 +114,24 @@ rec {
in
{

"cardano-node/ci/push/required" = {
task = "ci/push/required";
"cardano-node/ci/push/nix/required" = {
task = "ci/push/nix/required";
io = pushIo;
};
"cardano-node/ci/push/nonrequired" = {
task = "ci/push/nonrequired";
"cardano-node/ci/push/nix/nonrequired" = {
task = "ci/push/nix/nonrequired";
io = pushIo;
};
"cardano-node/ci/push/cardano-deployment" = {
task = "ci/cardano-deployment";
io = pushIo;
};
"cardano-node/ci/pr/required" = {
task = "ci/pr/required";
"cardano-node/ci/pr/nix/required" = {
task = "ci/pr/nix/required";
io = prIo;
};
"cardano-node/ci/pr/nonrequired" = {
task = "ci/pr/nonrequired";
"cardano-node/ci/pr/nix/nonrequired" = {
task = "ci/pr/nix/nonrequired";
io = prIo;
};
"cardano-node/ci/pr/cardano-deployment" = {
Expand Down

0 comments on commit 46f7e28

Please sign in to comment.