Skip to content

Commit

Permalink
fix: nomad noop on service restart (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci authored Sep 18, 2024
1 parent 8eb78b9 commit 5f27ffc
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ job "{{ job.name }}" {
# endtodo
EOH
destination = "local/run.sh"
change_mode = "noop"
perms = "0755"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ job "{{ job.name }}" {

EOH
destination = "etc/datadog-agent/datadog.yaml"
change_mode = "noop"
}

{% if job.type == 'logs' %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ job "{{ job.name }}" {
exec ./local/relayer-linux-amd64 start
EOH
destination = "local/run.sh"
change_mode = "noop"
perms = "0755"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ job "{{ job.name }}" {
-otel-collector-endpoint-url "${EMULATOR_OTEL_COLLECTOR_ENDPOINT_URL}" \
EOH
destination = "local/run.sh"
change_mode = "noop"
perms = "0755"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ job "{{ job.name }}" {
{% endraw %}
EOH
destination = "local/run.sh"
change_mode = "noop"
perms = "0755"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ job "{{ job.name }}" {
{% endraw %}
EOH
destination = "local/run.sh"
change_mode = "noop"
perms = "0755"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ job "{{ job.name }}" {
fi
EOH
destination = "local/run.sh"
change_mode = "noop"
perms = "0755"
}

Expand Down Expand Up @@ -225,7 +226,7 @@ job "{{ job.name }}" {
{% endif %}
NET_RESTRICT="{{ job.env['net_restrict'] }}"
GETH_NODE_TYPE="{{ job.env['type'] }}"
GETH_VERBOSITY={{ job.env.get('log-verbosity', '3') }}
GETH_VERBOSITY={{ job.env.get('log-verbosity', '5') }}
GETH_LOG_FORMAT="{{ job.env.get('log-format', 'json') }}"
GETH_LOG_TAGS="{{ 'service.name:' + job.name + '-{{ env "NOMAD_ALLOC_INDEX" }}' + ',service.version:' + version }}"
{% if job.env['type'] == 'bootnode' %}
Expand Down Expand Up @@ -299,6 +300,7 @@ job "{{ job.name }}" {
exec local/entrypoint.sh
EOH
destination = "local/run.sh"
change_mode = "noop"
perms = "0755"
}

Expand Down Expand Up @@ -401,6 +403,7 @@ job "{{ job.name }}" {
fi
EOH
destination = "local/run.sh"
change_mode = "noop"
perms = "0755"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ job "{{ job.name }}" {
{% endraw %}
EOH
destination = "local/run.sh"
change_mode = "noop"
perms = "0755"
}

Expand Down Expand Up @@ -314,6 +315,7 @@ job "{{ job.name }}" {
{% endraw %}
EOH
destination = "local/run.sh"
change_mode = "noop"
perms = "0755"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ job "{{ job.name }}" {
exec local/mev-commit
EOH
destination = "local/run.sh"
change_mode = "noop"
perms = "0755"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ job "{{ job.name }}" {
exec local/otel-collector --config local/collector.yaml
EOH
destination = "local/run.sh"
change_mode = "noop"
perms = "0755"
}

Expand Down

0 comments on commit 5f27ffc

Please sign in to comment.