update to 0.15.2; add container
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6c6c197de5
commit
0d6a94c6fa
2 changed files with 6 additions and 6 deletions
|
@ -98,9 +98,9 @@ def main [
|
|||
|
||||
print $"HOSTNAME: ($env.HOSTNAME)"
|
||||
|
||||
if ($env | get -i RESTIC_PASSWORD_FILE | is-empty) {
|
||||
print "RESTIC_PASSWORD_FILE not set."
|
||||
healthcheck_fail $healthcheck_url "RESTIC_PASSWORD_FILE not set."
|
||||
if ($env | get -i RESTIC_PASSWORD_FILE | is-empty) and ($env | get -i RESTIC_PASSWORD_COMMAND | is-empty) {
|
||||
print "Must set either RESTIC_PASSWORD_FILE or RESTIC_PASSWORD_COMMAND."
|
||||
healthcheck_fail $healthcheck_url "Must set either RESTIC_PASSWORD_FILE or RESTIC_PASSWORD_COMMAND."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
restic =
|
||||
let
|
||||
pname = "restic";
|
||||
version = "0.15.1";
|
||||
hash = "sha256-KdPslVJHH+xdUuFfmLZumP2lHzkDrrAvpDaj38SuP8o=";
|
||||
vendorHash = "sha256-oetaCiXWEBUEf382l4sjO0SCPxkoh+bMTgIf/qJTQms=";
|
||||
version = "0.15.2";
|
||||
hash = "sha256-YJBHk/B8+q5f0k5i5hpucsJK4T/cRu9Jv7+O6vlT64Q=";
|
||||
vendorHash = "sha256-GWFaCfiE8Ph2uBTBI0E47pH+EJsMsMr1NDuaIGvyXRM=";
|
||||
in
|
||||
pkgs.buildGoModule {
|
||||
inherit pname version vendorHash;
|
||||
|
|
Loading…
Reference in a new issue