Reports success in Drone even when the deployment failed #1

Closed
opened 2020-09-25 10:28:11 +00:00 by 3wordchant · 2 comments
Owner

I guess a return code is getting lost somewhere? e.g. https://drone.autonomic.zone/compose-stacks/traefik/1/1/2:

failed to create config traefik_traefik_yml_: Error response from daemon: rpc error: code = InvalidArgument desc = invalid name, only 64 [a-zA-Z0-9-_.] characters allowed, and the start and end character must be [a-zA-Z0-9]
--- end deployment ---
I guess a return code is getting lost somewhere? e.g. https://drone.autonomic.zone/compose-stacks/traefik/1/1/2: ``` failed to create config traefik_traefik_yml_: Error response from daemon: rpc error: code = InvalidArgument desc = invalid name, only 64 [a-zA-Z0-9-_.] characters allowed, and the start and end character must be [a-zA-Z0-9] --- end deployment --- ```
Owner

Soooo, apparently https://git.autonomic.zone/autonomic-cooperative/stack-ssh-deploy/src/branch/main/plugin.sh#L3 fixes this! I've changed the target tag of stack-ssh-deploy to latest and updated configurations that used to point to 0.0.1. I will try to test that this is indeed the right fix now on the new traefik CI.

Soooo, apparently https://git.autonomic.zone/autonomic-cooperative/stack-ssh-deploy/src/branch/main/plugin.sh#L3 fixes this! I've changed the target tag of stack-ssh-deploy to `latest` and updated configurations that used to point to `0.0.1`. I will try to test that this is indeed the right fix now on the new traefik CI.
Owner
> https://drone.autonomic.zone/compose-stacks/traefik/5/1/2
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/stack-ssh-deploy#1
No description provided.