Skip to content

Commit

Permalink
Merge #51
Browse files Browse the repository at this point in the history
51: Add new CI jobsets r=johnalotoski a=johnalotoski

* Clean up whitespace
* Clean up sorting to make it easier to find jobset / definition entries while still maintaining regex compatability
* Adds new jobsets: cardano-ops, metadata-server, voting-tools, cardano-metadata-submitter

Co-authored-by: John Lotoski <john.lotoski@iohk.io>
  • Loading branch information
iohk-bors[bot] and johnalotoski committed Jan 27, 2021
2 parents f0ed757 + bbf0a95 commit 9096d98
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 123 deletions.
234 changes: 135 additions & 99 deletions jobsets/default.nix
Expand Up @@ -29,7 +29,9 @@
, cardanoFaucetPrsJSON ? ./simple-pr-dummy.json
, cardanoGraphQLPrsJSON ? ./simple-pr-dummy.json
, cardanoLedgerSpecsPrsJSON ? ./simple-pr-dummy.json
, cardanoMetadataSubmitterPrsJSON ? ./simple-pr-dummy.json
, cardanoNodePrsJSON ? ./simple-pr-dummy.json
, cardanoOpsPrsJSON ? ./simple-pr-dummy.json
, cardanoPreludePrsJSON ? ./simple-pr-dummy.json
, cardanoRestPrsJSON ? ./simple-pr-dummy.json
, cardanoRosettaPrsJSON ? ./simple-pr-dummy.json
Expand All @@ -43,12 +45,14 @@
, iohkNixPrsJSON ? ./simple-pr-dummy.json
, kesPrsJSON ? ./simple-pr-dummy.json
, ledgerPrsJSON ? ./simple-pr-dummy.json
, metadataServerPrsJSON ? ./simple-pr-dummy.json
, nixopsPrsJSON ? ./simple-pr-dummy.json
, ouroborosNetworkPrsJSON ? ./simple-pr-dummy.json
, plutusPrsJSON ? ./simple-pr-dummy.json
, shellPrsJSON ? ./simple-pr-dummy.json
, smashPrsJSON ? ./simple-pr-dummy.json
, toolsPrsJSON ? ./simple-pr-dummy.json
, votingToolsPrsJSON ? ./simple-pr-dummy.json
, walletPrsJSON ? ./simple-pr-dummy.json
}:

Expand All @@ -63,26 +67,63 @@ let
# These are processed by the mkRepoJobsets function below.

repos = {
daedalus = {
description = "Daedalus Wallet";
url = "https://github.com/input-output-hk/daedalus.git";
cardano-addresses = {
description = "Cardano Addresses";
url = "https://github.com/input-output-hk/cardano-addresses.git";
branch = "master";
prs = cardanoAddressesPrsJSON;
bors = false;
};

cardano-base = {
description = "Cardano Base";
url = "https://github.com/input-output-hk/cardano-base.git";
prs = cardanoBasePrsJSON;
bors = true;
};

cardano-benchmarking = {
description = "Cardano benchmarks";
url = "https://github.com/input-output-hk/cardano-benchmarking.git";
prs = cardanoBenchmarkingPrsJSON;
bors = true;
};

cardano-db-sync = {
description = "Cardano DB Sync";
url = "https://github.com/input-output-hk/cardano-db-sync.git";
prs = cardanoDbSyncPrsJSON;
bors = true;
};

cardano-explorer-app = {
description = "Cardano Explorer App";
url = "https://github.com/input-output-hk/cardano-explorer-app.git";
branch = "develop";
prs = daedalusPrsJSON;
prs = cardanoExplorerAppPrsJSON;
bors = true;
};

plutus = {
description = "Plutus Language";
url = "https://github.com/input-output-hk/plutus.git";
prs = plutusPrsJSON;
cardano-faucet = {
description = "Cardano Faucet";
url = "https://github.com/input-output-hk/cardano-faucet.git";
prs = cardanoFaucetPrsJSON;
bors = true;
};

cardano-addresses = {
description = "Cardano Addresses";
url = "https://github.com/input-output-hk/cardano-addresses.git";
cardano-graphql = {
description = "Cardano GraphQL";
url = "https://github.com/input-output-hk/cardano-graphql.git";
branch = "master";
prs = cardanoAddressesPrsJSON;
bors = false;
prs = cardanoGraphQLPrsJSON;
};

cardano-ledger-specs = {
description = "Cardano Ledger Specs";
url = "https://github.com/input-output-hk/cardano-ledger-specs.git";
branch = "master";
prs = cardanoLedgerSpecsPrsJSON;
bors = true;
};

cardano-ledger = {
Expand All @@ -93,19 +134,26 @@ let
bors = true;
};

cardano-ledger-specs = {
description = "Cardano Ledger Specs";
url = "https://github.com/input-output-hk/cardano-ledger-specs.git";
cardano-metadata-submitter = {
description = "A library and CLI for manipulating data for the Metadata Server CIP";
url = "https://github.com/input-output-hk/cardano-metadata-submitter.git";
branch = "master";
prs = cardanoLedgerSpecsPrsJSON;
prs = cardanoMetadataSubmitterPrsJSON;
bors = true;
};

ouroboros-network = {
description = "Ouroboros Network";
url = "https://github.com/input-output-hk/ouroboros-network.git";
cardano-node = {
description = "Cardano Node";
url = "https://github.com/input-output-hk/cardano-node.git";
prs = cardanoNodePrsJSON;
bors = true;
};

cardano-ops = {
description = "NixOps deployment configuration for IOHK/Cardano devops";
url = "https://github.com/input-output-hk/cardano-ops.git";
branch = "master";
prs = ouroborosNetworkPrsJSON;
prs = cardanoOpsPrsJSON;
bors = true;
};

Expand All @@ -117,6 +165,13 @@ let
bors = true;
};

cardano-rest = {
description = "Cardano REST API";
url = "https://github.com/input-output-hk/cardano-rest.git";
prs = cardanoRestPrsJSON;
bors = true;
};

cardano-rosetta = {
description = "Cardano Rosetta API";
url = "https://github.com/input-output-hk/cardano-rosetta.git";
Expand All @@ -132,27 +187,19 @@ let
bors = true;
};

decentralized-software-updates = {
description = "Decentralized Software Updates";
url = "https://github.com/input-output-hk/decentralized-software-updates";
branch = "master";
prs = decentralizedSoftwareUpdatesPrsJSON;
bors = true;
};

iohk-monitoring = {
description = "IOHK Monitoring Framework";
url = "https://github.com/input-output-hk/iohk-monitoring-framework.git";
cardano-shell = {
description = "Cardano Shell";
url = "https://github.com/input-output-hk/cardano-shell.git";
branch = "master";
prs = iohkMonitoringPrsJSON;
bors = true;
prs = shellPrsJSON;
bors = false;
};

iohk-nix = {
description = "IOHK Common Nix Expressions";
url = "https://github.com/input-output-hk/iohk-nix.git";
cardano-wallet = {
description = "Cardano Wallet Backend";
url = "https://github.com/input-output-hk/cardano-wallet.git";
branch = "master";
prs = iohkNixPrsJSON;
prs = walletPrsJSON;
bors = true;
};

Expand All @@ -164,6 +211,22 @@ let
bors = true;
};

daedalus = {
description = "Daedalus Wallet";
url = "https://github.com/input-output-hk/daedalus.git";
branch = "develop";
prs = daedalusPrsJSON;
bors = true;
};

decentralized-software-updates = {
description = "Decentralized Software Updates";
url = "https://github.com/input-output-hk/decentralized-software-updates";
branch = "master";
prs = decentralizedSoftwareUpdatesPrsJSON;
bors = true;
};

haskell-nix = {
description = "Haskell.nix Build System";
url = "https://github.com/input-output-hk/haskell.nix.git";
Expand All @@ -174,84 +237,49 @@ let
modifier.schedulingshares = 10;
};

cardano-wallet = {
description = "Cardano Wallet Backend";
url = "https://github.com/input-output-hk/cardano-wallet.git";
iohk-monitoring = {
description = "IOHK Monitoring Framework";
url = "https://github.com/input-output-hk/iohk-monitoring-framework.git";
branch = "master";
prs = walletPrsJSON;
prs = iohkMonitoringPrsJSON;
bors = true;
};

cardano-shell = {
description = "Cardano Shell";
url = "https://github.com/input-output-hk/cardano-shell.git";
iohk-nix = {
description = "IOHK Common Nix Expressions";
url = "https://github.com/input-output-hk/iohk-nix.git";
branch = "master";
prs = shellPrsJSON;
bors = false;
};

cardano-node = {
description = "Cardano Node";
url = "https://github.com/input-output-hk/cardano-node.git";
prs = cardanoNodePrsJSON;
bors = true;
};

cardano-benchmarking = {
description = "Cardano benchmarks";
url = "https://github.com/input-output-hk/cardano-benchmarking.git";
prs = cardanoBenchmarkingPrsJSON;
bors = true;
};

cardano-base = {
description = "Cardano Base";
url = "https://github.com/input-output-hk/cardano-base.git";
prs = cardanoBasePrsJSON;
bors = true;
};

cardano-rest = {
description = "Cardano REST API";
url = "https://github.com/input-output-hk/cardano-rest.git";
prs = cardanoRestPrsJSON;
prs = iohkNixPrsJSON;
bors = true;
};

cardano-db-sync = {
description = "Cardano DB Sync";
url = "https://github.com/input-output-hk/cardano-db-sync.git";
prs = cardanoDbSyncPrsJSON;
kes-mmm-sumed25519 = {
description = "key evolving signature";
url = "https://github.com/input-output-hk/kes-mmm-sumed25519.git";
prs = kesPrsJSON;
bors = true;
};

cardano-explorer-app = {
description = "Cardano Explorer App";
url = "https://github.com/input-output-hk/cardano-explorer-app.git";
branch = "develop";
prs = cardanoExplorerAppPrsJSON;
metadata-server = {
description = "Metadata Server";
url = "https://github.com/input-output-hk/metadata-server.git";
branch = "master";
prs = metadataServerPrsJSON;
bors = true;
};

cardano-graphql = {
description = "Cardano GraphQL";
url = "https://github.com/input-output-hk/cardano-graphql.git";
ouroboros-network = {
description = "Ouroboros Network";
url = "https://github.com/input-output-hk/ouroboros-network.git";
branch = "master";
prs = cardanoGraphQLPrsJSON;
};

cardano-faucet = {
description = "Cardano Faucet";
url = "https://github.com/input-output-hk/cardano-faucet.git";
prs = cardanoFaucetPrsJSON;
prs = ouroborosNetworkPrsJSON;
bors = true;
};

kes-mmm-sumed25519 = {
description = "key evolving signature";
url = "https://github.com/input-output-hk/kes-mmm-sumed25519.git";
prs = kesPrsJSON;
bors = true;
plutus = {
description = "Plutus Language";
url = "https://github.com/input-output-hk/plutus.git";
prs = plutusPrsJSON;
};

smash = {
Expand All @@ -268,6 +296,14 @@ let
branch = "master";
prs = toolsPrsJSON;
};

voting-tools = {
description = "Voting Tools";
url = "https://github.com/input-output-hk/voting-tools.git";
branch = "master";
prs = votingToolsPrsJSON;
bors = true;
};
};

##########################################################################
Expand Down Expand Up @@ -319,7 +355,7 @@ let
exclusionFilter = prInfo: !(prHasLabel (import ./pr-labels.nix).excluded prInfo);
# Removes PRs which don't have any of the included labels in ./pr-labels.nix
inclusionFilter = prHasLabel (import ./pr-labels.nix).included;

loadPrsJSON = prFilter: path: filterAttrs (_: prFilter)
(builtins.fromJSON (builtins.readFile path));

Expand Down

0 comments on commit 9096d98

Please sign in to comment.