Skip to content

Commit

Permalink
chore: infra maintenance (#878)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladinlight authored Nov 3, 2023
1 parent f866084 commit d386bbb
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 54 deletions.
108 changes: 54 additions & 54 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ aliases:
service-image-2: shapeshiftdao/unchained-blockbook:95ee9b5
service-cpu-limit-2: "2"
service-cpu-request-2: "1"
service-memory-limit-2: 32Gi
service-memory-limit-2: 36Gi
service-storage-size-2: 500Gi

- &bitcoin-dev
Expand Down Expand Up @@ -250,10 +250,10 @@ aliases:
api-memory-request: 250Mi
stateful-service-replicas: 2
service-name-1: daemon
service-image-1: shapeshiftdao/cosmoshub:v13.0.0
service-image-1: shapeshiftdao/cosmoshub:v13.0.1
service-cpu-limit-1: "2"
service-cpu-request-1: "1"
service-memory-limit-1: 32Gi
service-memory-limit-1: 40Gi
service-storage-size-1: 4000Gi

- &cosmos-dev
Expand Down Expand Up @@ -286,7 +286,7 @@ aliases:
api-memory-request: 250Mi
stateful-service-replicas: 2
service-name-1: daemon
service-image-1: avaplatform/avalanchego:v1.10.14
service-image-1: avaplatform/avalanchego:v1.10.15
service-cpu-limit-1: "2"
service-cpu-request-1: "1"
service-memory-limit-1: 8Gi
Expand Down Expand Up @@ -592,7 +592,7 @@ aliases:
service-cpu-request-1: "4"
service-memory-request-1: 32Gi
service-memory-limit-1: 48Gi
service-storage-size-1: 3500Gi
service-storage-size-1: 4000Gi
service-name-2: heimdall
service-image-2: 0xpolygon/heimdall:1.0.2
service-cpu-limit-2: "2"
Expand Down Expand Up @@ -687,7 +687,7 @@ aliases:
service-cpu-limit-1: "2"
service-cpu-request-1: "1"
service-memory-limit-1: 24Gi
service-storage-size-1: 1000Gi
service-storage-size-1: 500Gi
service-name-2: indexer
service-image-2: shapeshiftdao/unchained-blockbook:arbitrum-92a5619
service-cpu-limit-2: "2"
Expand Down Expand Up @@ -1411,56 +1411,56 @@ workflows:
<<: *only-main

####### ETHEREUM
#- deploy-coinstack-node:
# name: preview ethereum
# organization: TAXISTAKE
# pulumi-command: preview
# requires:
# - validate dependencies
# <<: *ethereum
# <<: *only-main

#- approve-coinstack:
# name: approve ethereum coinstack
# type: approval
# requires:
# - preview ethereum
# <<: *only-main

#- deploy-coinstack-node:
# name: deploy ethereum
# organization: TAXISTAKE
# pulumi-command: up -f --yes
# requires:
# - approve ethereum coinstack
# <<: *ethereum
# <<: *only-main
- deploy-coinstack-node:
name: preview ethereum
organization: TAXISTAKE
pulumi-command: preview
requires:
- validate dependencies
<<: *ethereum
<<: *only-main

- approve-coinstack:
name: approve ethereum coinstack
type: approval
requires:
- preview ethereum
<<: *only-main

- deploy-coinstack-node:
name: deploy ethereum
organization: TAXISTAKE
pulumi-command: up -f --yes
requires:
- approve ethereum coinstack
<<: *ethereum
<<: *only-main

####### AVALANCHE
#- deploy-coinstack-node:
# name: preview avalanche
# organization: TAXISTAKE
# pulumi-command: preview
# requires:
# - validate dependencies
# <<: *avalanche
# <<: *only-main

#- approve-coinstack:
# name: approve avalanche coinstack
# type: approval
# requires:
# - preview avalanche
# <<: *only-main

#- deploy-coinstack-node:
# name: deploy avalanche
# organization: TAXISTAKE
# pulumi-command: up -f --yes
# requires:
# - approve avalanche coinstack
# <<: *avalanche
# <<: *only-main
- deploy-coinstack-node:
name: preview avalanche
organization: TAXISTAKE
pulumi-command: preview
requires:
- validate dependencies
<<: *avalanche
<<: *only-main

- approve-coinstack:
name: approve avalanche coinstack
type: approval
requires:
- preview avalanche
<<: *only-main

- deploy-coinstack-node:
name: deploy avalanche
organization: TAXISTAKE
pulumi-command: up -f --yes
requires:
- approve avalanche coinstack
<<: *avalanche
<<: *only-main

####### OPTIMISM
- deploy-coinstack-node:
Expand Down
1 change: 1 addition & 0 deletions node/coinstacks/arbitrum-nova/daemon/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ start() {
--init.download-path /data/tmp \
--persistent.chain /data \
--auth.jwtsecret /jwt.hex \
--file-logging.enable='false' \
--http.addr 0.0.0.0 \
--http.port 8547 \
--http.api eth,net,web3,debug,txpool,arb \
Expand Down
1 change: 1 addition & 0 deletions node/coinstacks/arbitrum/daemon/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ start() {
--init.download-path /data/tmp \
--persistent.chain /data \
--auth.jwtsecret /jwt.hex \
--file-logging.enable='false' \
--http.addr 0.0.0.0 \
--http.port 8547 \
--http.api eth,net,web3,debug,txpool,arb \
Expand Down
6 changes: 6 additions & 0 deletions pulumi/src/statefulService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@ export function createCoinService(args: CoinServiceArgs, assetName: string): Ser
name: `${name}-monitor`,
image: 'shapeshiftdao/unchained-probe:1.0.0',
env,
resources: {
limits: {
cpu: '100m',
memory: '10Mi',
},
},
...(readinessProbe && {
readinessProbe: {
exec: {
Expand Down

0 comments on commit d386bbb

Please sign in to comment.