Skip to content

Commit

Permalink
chore: move geth port specfication up in nomad file
Browse files Browse the repository at this point in the history
  • Loading branch information
ckartik committed Aug 29, 2024
1 parent 32c9a05 commit 010c155
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ job "{{ job.name }}" {
GETH_KEYSTORE_DIR="/local/data-{{ env "NOMAD_ALLOC_INDEX" }}/keystore"
GETH_KEYSTORE_FILENAME="{{ with secret "secret/data/mev-commit" }}{{ .Data.data.{% endraw %}{{ job.artifacts | selectattr('keystore', 'defined') | map(attribute='keystore.name') | first }}{% raw %}_filename }}{{ end }}"
GETH_KEYSTORE_PASSWORD="{{ with secret "secret/data/mev-commit" }}{{ .Data.data.{% endraw %}{{ job.artifacts | selectattr('keystore', 'defined') | map(attribute='keystore.name') | first }}{% raw %}_password }}{{ end }}"
GETH_PORT = "{{ job.env['port'] }}"
{% endraw %}
{% elif job.env['type'] == 'member' %}
GETH_SYNC_MODE="{{ job.env['sync_mode'] }}"
Expand Down Expand Up @@ -159,9 +160,6 @@ job "{{ job.name }}" {
config {
command = "bash"
args = ["-c", "local/run.sh"]
env {
GETH_PORT = "{{ job.env['port'] }}"
}
}
}
}
Expand Down

0 comments on commit 010c155

Please sign in to comment.