Skip to content

Commit

Permalink
Merge pull request #1525 from input-output-hk/remove_sanchonet
Browse files Browse the repository at this point in the history
Remove sanchonet
  • Loading branch information
bernokl authored Nov 11, 2024
2 parents 21fd0fe + aad2d46 commit fed893b
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 115 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/cardano-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,12 @@ name: cardano-services
- dev-mainnet@us-east-1
- dev-preprod@us-east-1@v2
- dev-preview@us-east-1
- dev-sanchonet@us-east-1
- live-mainnet@eu-central-1@v2
- live-mainnet@us-east-2@v2
- live-preprod@eu-central-1@v2
- live-preprod@us-east-2@v2
- live-preview@eu-central-1@v2
- live-preview@us-east-2@v2
- live-sanchonet@eu-central-1
- live-sanchonet@us-east-2
- local-network@us-east-1@v1
- ops-preprod-1@us-east-1
- ops-preview-1@us-east-1
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/k6-web-socket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ on:
options:
- 'preview'
- 'preprod'
- 'sanchonet'
- 'mainnet'
wallets:
description: 'Number of wallets to simulate'
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/std.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ on:
type: boolean
required: true
default: false
deploy-dev-sanchonet:
description: Deploy to dev-sanchonet
type: boolean
required: true
default: false
deploy-local-network:
description: Deploy to local-network
type: boolean
Expand Down Expand Up @@ -116,9 +111,6 @@ jobs:
if [ "true" == ${{ inputs.deploy-dev-preview || (github.event_name == 'push' && github.ref_name == 'master') }} ] ; then
echo '{"environment":"dev-preview", "target":"dev-preview@us-east-1", "url": "https://dev-preview.lw.iog.io/"}'
fi
if [ "true" == ${{ inputs.deploy-dev-sanchonet || (github.event_name == 'push' && github.ref_name == 'conway-era') }} ] ; then
echo '{"environment":"dev-sanchonet", "target":"dev-sanchonet@us-east-1", "url": "https://dev-sanchonet.lw.iog.io/"}'
fi
if [ "true" == ${{ inputs.deploy-dev-preprod || false }} ] ; then
echo '{"environment":"dev-preprod", "target":"dev-preprod@us-east-1@v2", "url": "https://dev-preprod.lw.iog.io/"}'
fi
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-deploy-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ on:
options:
- 'preview'
- 'preprod'
- 'sanchonet'
cluster:
description: 'Target cluster'
type: choice
Expand Down
101 changes: 0 additions & 101 deletions nix/cardano-services/deployments/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -253,40 +253,6 @@ in
};
};

"dev-sanchonet@us-east-1" = final: {
name = "${final.namespace}-cardanojs";
namespace = "dev-sanchonet";
network = "sanchonet";
region = "us-east-1";

providers = {
backend = {
enabled = true;
};
stake-pool-provider = {
enabled = true;
};
chain-history-provider = {
enabled = true;
};
};

projectors = {
asset.enabled = true;
stake-pool.enabled = true;
wallet-api.enabled = true;
};

values = {
stakepool.databaseName = "stakepoolv2";
blockfrost-worker.enabled = false;
pg-boss-worker.enabled = true;
cardano-services = {
ingresOrder = 98;
};
};
};

"dev-mainnet@us-east-1" = final: {
namespace = "dev-mainnet";
network = "mainnet";
Expand Down Expand Up @@ -788,73 +754,6 @@ in
};
};

"live-sanchonet@us-east-2" = final: {
namespace = "live-sanchonet";
name = "${final.namespace}-cardanojs";
network = "sanchonet";
region = "us-east-2";
context = "eks-admin";

providers = {
backend = {
enabled = true;
};
stake-pool-provider = {
enabled = true;
};
chain-history-provider = {
enabled = true;
};
};

projectors = {
stake-pool = {
enabled = true;
};
};

values = {
blockfrost-worker.enabled = false;
pg-boss-worker.enabled = true;
cardano-services = {
ingresOrder = 99;
};
};
};

"live-sanchonet@eu-central-1" = final: {
namespace = "live-sanchonet";
name = "${final.namespace}-cardanojs";
network = "sanchonet";
region = "eu-central-1";
context = "eks-admin";

providers = {
backend = {
enabled = true;
};
stake-pool-provider = {
enabled = true;
};
chain-history-provider = {
enabled = true;
};
};

projectors = {
stake-pool = {
enabled = true;
};
};

values = {
blockfrost-worker.enabled = false;
pg-boss-worker.enabled = true;
cardano-services = {
ingresOrder = 99;
};
};
};
}
# Convenient for cases when you need to create multiple temporary deployments with the same configuration
// (builtins.mapAttrs (_: value: (final:
Expand Down
2 changes: 1 addition & 1 deletion nix/cardano-services/deployments/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ in {
};

network = lib.mkOption {
type = types.enum ["mainnet" "preprod" "preview" "sanchonet" "local"];
type = types.enum ["mainnet" "preprod" "preview" "local"];
description = "Network of the deployment";
};
};
Expand Down

0 comments on commit fed893b

Please sign in to comment.