This commit is contained in:
Michael Grote 2023-08-02 20:56:31 +02:00
parent 2786f9d54d
commit 52b9bfb1eb
3 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ steps:
- # checkout latest stable release or stay on master for bleeding edge stuff (but expect bugs!) - # checkout latest stable release or stay on master for bleeding edge stuff (but expect bugs!)
#- git checkout $(git tag | grep "^v" | tail -n 1) #- git checkout $(git tag | grep "^v" | tail -n 1)
#- export version=$(git tag | grep "^v" | tail -n 1 | tr -d v) #- export version=$(git tag | grep "^v" | tail -n 1 | tr -d v)
- export version=3.0.2 - export version=3.0.3
- ls -lah - ls -lah
- pwd - pwd
- chmod 0755 sanoid - chmod 0755 sanoid
@ -66,7 +66,7 @@ steps:
- cd sanoid - cd sanoid
- ls -lah - ls -lah
- pwd - pwd
- export version=3.0.2 - export version=3.0.3
- echo $version - echo $version
- | - |
curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$(echo $version).deb" http://docker10.grote.lan:5040/upload curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$(echo $version).deb" http://docker10.grote.lan:5040/upload

View file

@ -8,7 +8,7 @@ ConditionFileNotEmpty=/etc/sanoid/sanoid.conf
[Service] [Service]
Type=oneshot Type=oneshot
Environment=TZ=UTC Environment=TZ=UTC
ExecStart=/usr/sbin/sanoid --prune-snapshots --verbose ExecStart=/usr/bin/sanoid --prune-snapshots --verbose
[Install] [Install]
WantedBy=sanoid.service WantedBy=sanoid.service

View file

@ -10,4 +10,4 @@ ConditionFileNotEmpty=/etc/sanoid/sanoid.conf
[Service] [Service]
Type=oneshot Type=oneshot
Environment=TZ=UTC Environment=TZ=UTC
ExecStart=/usr/sbin/sanoid --take-snapshots --verbose ExecStart=/usr/bin/sanoid --take-snapshots --verbose