Compare commits
No commits in common. "e3ee336440e7623851bbd49c85ff5b889b298a16" and "44b0431490d6fd5e959c75ab0287b3538788d596" have entirely different histories.
e3ee336440
...
44b0431490
@ -11,11 +11,6 @@ Dockerfile
|
||||
*.csv
|
||||
*.toml
|
||||
*.git*
|
||||
.DS_Store
|
||||
.vscode/*
|
||||
thunder-tests/*
|
||||
.drone.yml
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
|
19
.drone.yml
19
.drone.yml
@ -1,19 +0,0 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.jbranan.com
|
||||
dry_run: true
|
||||
username: jblu
|
||||
password:
|
||||
from_secret: gittea_drone
|
||||
repo: jblu/crane
|
||||
tags:
|
||||
- latest
|
||||
- main
|
||||
when:
|
||||
branch:
|
||||
- main
|
4
crane.py
4
crane.py
@ -55,7 +55,6 @@ class Crn:
|
||||
self.observed_containers = list(self.config["containers"].values())
|
||||
self.container_statuses = ["paused","dead","created","exited","removing","restarting","created"]
|
||||
#healthcheck
|
||||
self.use_healthcheck = self.config["healthcheck"]["use_healthcheck"]
|
||||
self.healthcheck_url = self.config["healthcheck"]["healthcheck_url"]
|
||||
|
||||
cont_log(self)
|
||||
@ -83,8 +82,7 @@ class Crn:
|
||||
cont_notify_summary(self, apprise_notify, requests)
|
||||
if self.use_apprise:
|
||||
cont_notify_summary(self, apprise_notify, requests)
|
||||
if self.use_healthcheck:
|
||||
send_ping(self, requests, self.healthcheck_url)
|
||||
send_ping(self, requests, self.healthcheck_url)
|
||||
|
||||
# Run
|
||||
if __name__== "__main__":
|
||||
|
Loading…
x
Reference in New Issue
Block a user