Compare commits

...

4 Commits

Author SHA1 Message Date
256488187e updated healthchecks to have a run time
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-03 22:47:11 -05:00
9576004c4b test
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-09 10:53:35 -05:00
4b75a8fb32 changed drone 2023-08-06 23:33:17 -05:00
9bf1d46ce3 updated drone events
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-27 12:18:38 -05:00
3 changed files with 23 additions and 7 deletions

View File

@ -4,33 +4,39 @@ steps:
- name: docker
image: plugins/docker
settings:
registry: git.jbranan.com
registry: git.jonb.io
dry_run: false
username: jblu
password:
from_secret: gittea_drone
repo: git.jbranan.com/jblu/crane
repo: git.jonb.io/jblu/crane
tags:
- latest
when:
branch:
- main
event:
- push
- pull_request
- name: docker-test
image: plugins/docker
settings:
registry: git.jbranan.com
registry: git.jonb.io
dry_run: false
username: jblu
password:
from_secret: gittea_drone
repo: git.jbranan.com/jblu/crane
repo: git.jonb.io/jblu/crane
tags:
- dev
when:
branch:
- dev*
event:
- push
- pull_request
- name: test-main
image: git.jbranan.com/jblu/crane:latest
image: git.jonb.io/jblu/crane:latest
environment:
CRANE_HOST:
from_secret: CRANE_HOST
@ -46,8 +52,11 @@ steps:
when:
branch:
- main
event:
- push
- pull_request
- name: test-dev
image: git.jbranan.com/jblu/crane:dev
image: git.jonb.io/jblu/crane:dev
environment:
CRANE_HOST:
from_secret: CRANE_HOST
@ -62,4 +71,7 @@ steps:
- python test_crane.py
when:
branch:
- dev*
- dev*
event:
- push
- pull_request

View File

@ -1,2 +1,4 @@
# crane
App to make sure specified containers are running in portainer
a

View File

@ -62,6 +62,8 @@ class Crn:
cont_log(self)
cont_notify(self)
self.t = time
if self.use_healthcheck:
send_ping(self, requests, self.healthcheck_url.rstrip("/") + "/start")
#logging in
try: