Skip to content

Commit

Permalink
Adds UPTIME_MINIMUM_RUNNING_COUNT and RELAY_UP_NFT_CONTRACT_ADDRESS e…
Browse files Browse the repository at this point in the history
…nv vars to validator ops templates
  • Loading branch information
jim-toth committed Aug 9, 2024
1 parent fa2717e commit 9496a5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions operations/valid-ator-live.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ job "valid-ator-live" {
FACILITY_CONTRACT_ADDRESS="[[ consulKey "facilitator/sepolia/live/address" ]]"
REGISTRATOR_CONTRACT_ADDRESS="[[ consulKey "registrator/sepolia/live/address" ]]"
TOKEN_CONTRACT_ADDRESS="[[ consulKey "ator-token/sepolia/live/address" ]]"
RELAY_UP_NFT_CONTRACT_ADDRESS="[[ consulKey "relay-up-nft-contract/live/address" ]]"
{{- range service "validator-live-mongo" }}
MONGO_URI="mongodb://{{ .Address }}:{{ .Port }}/valid-ator-live-testnet"
{{- end }}
Expand All @@ -60,6 +61,7 @@ job "valid-ator-live" {
{{- range service "onionoo-war-live" }}
ONIONOO_DETAILS_URI="http://{{ .Address }}:{{ .Port }}/details"
{{- end }}
UPTIME_MINIMUM_RUNNING_COUNT=16
EOH
destination = "secrets/file.env"
env = true
Expand Down
2 changes: 2 additions & 0 deletions operations/valid-ator-stage.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ job "valid-ator-stage" {
REGISTRATOR_CONTRACT_ADDRESS="[[ consulKey "registrator/sepolia/stage/address" ]]"
FACILITY_CONTRACT_ADDRESS="[[ consulKey "facilitator/sepolia/stage/address" ]]"
TOKEN_CONTRACT_ADDRESS="[[ consulKey "ator-token/sepolia/stage/address" ]]"
RELAY_UP_NFT_CONTRACT_ADDRESS="[[ consulKey "relay-up-nft-contract/stage/address" ]]"
{{- range service "validator-stage-mongo" }}
MONGO_URI="mongodb://{{ .Address }}:{{ .Port }}/valid-ator-stage-testnet"
{{- end }}
Expand All @@ -61,6 +62,7 @@ job "valid-ator-stage" {
{{- range service "onionoo-war-stage" }}
ONIONOO_DETAILS_URI="http://{{ .Address }}:{{ .Port }}/details"
{{- end }}
UPTIME_MINIMUM_RUNNING_COUNT=16
EOH
destination = "secrets/file.env"
env = true
Expand Down

0 comments on commit 9496a5c

Please sign in to comment.