Extend CI with actual (or mock?) deployments #23

Closed
opened 2020-10-26 14:15:33 +00:00 by 3wordchant · 3 comments
Owner

Actual CI:

  • How to make abra / bats use Drone's drone_ssh_swarm_test secret
  • Which service can we rely on being there (Traefik?), or should we use a stub one (which might help with testing abra deploy..)

Mocking:

Actual CI: - How to make `abra` / `bats` use Drone's `drone_ssh_swarm_test` secret - Which service can we rely on being there (Traefik?), or should we use a stub one (which might help with testing `abra deploy`..) Mocking: - https://github.com/lox/bats-mock - How do we install `bats-mock` on the CI server? - How could we sensibly stub Docker's subcommands?
Owner

I would be down for actual deployments, that'd be rad! I could write a small python script which creates a fresh hetzner, deploys traefik and then does some stuff. That might actually be quite robust if we do it well. We could just have a test which deploys traefik and then other tests can simply rely on that being deployed if they all run linearly in the same CI step.

I would be down for actual deployments, that'd be rad! I could write a small python script which creates a fresh hetzner, deploys traefik and then does some stuff. That might actually be quite robust if we do it well. We could just have a test which deploys traefik and then other tests can simply rely on that being deployed if they all run linearly in the same CI step.
Author
Owner

I could write a small python script which creates a fresh hetzner, deploys traefik and then does some stuff.

Yeah that'd be rightous, let's do it! 👊

Counting minutes til Hetzner are using it in their own infra..

> I could write a small python script which creates a fresh hetzner, deploys traefik and then does some stuff. Yeah that'd be rightous, let's do it! 👊 Counting minutes til Hetzner are using it in their own infra..
decentral1se added the
CI/CD
label 2020-12-29 13:15:01 +00:00
Owner

I don't think we'll be investing time in CI here since we're heading towards the go-abra now, I will close this off.

I don't think we'll be investing time in CI here since we're heading towards the [`go-abra`](https://git.autonomic.zone/coop-cloud/go-abra) now, I will close this off.
This repo is archived. You cannot comment on issues.
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/abra#23
No description provided.