logs
This commit is contained in:
parent
d00433a074
commit
5f80636349
@ -20,7 +20,6 @@ build:
|
||||
before_script:
|
||||
- docker login -u mathwave -p $DOCKERHUB_PASSWORD
|
||||
script:
|
||||
- docker 2>/dev/null rmi docker images -q mathwave/sprint-repo || true
|
||||
- docker stack deploy -c ./docker-compose-deploy.yaml sprint
|
||||
|
||||
deploy-dev:
|
||||
|
@ -7,6 +7,11 @@ class Command(MessagingSupport):
|
||||
help = "starts docker cleaner"
|
||||
queue_name = "cleaner"
|
||||
|
||||
def handle(self, *args, **options):
|
||||
call('docker image rm $(docker images -q mathwave/sprint-repo)', shell=True)
|
||||
print("Old images removed")
|
||||
super().handle(*args, **options)
|
||||
|
||||
def process(self, payload: dict):
|
||||
name = payload['name']
|
||||
type = payload['type']
|
||||
|
Loading…
Reference in New Issue
Block a user