taskcluster / ec2-manager

Mozilla Public License 2.0
2 stars 14 forks source link

Pricing in EC2-Manager #18

Closed jhford closed 7 years ago

jhford commented 7 years ago

I'd like to start being able to move pricing out of the aws-provisioner codebase and into the EC2 Manager codebase.

This PR accomplishes that.

jhford commented 7 years ago

This would resolve #8

jhford commented 7 years ago

So calling ourselves by http is more to implement a simple script to purge the queues, not something we're doing in production.

jhford commented 7 years ago

I'm going to land this. The purgequeues stuff is purely a convenience for development, i'd rather remove it altogether than figure out a better way to do it.

jhford commented 7 years ago

rebased with:

commit 9b747a355d8596eb54d72a9220737cd33600bfd9
Author: John Ford <john@johnford.org>
Date:   Mon Jul 10 19:26:39 2017 +0200

    Add pricing to the EC2-Manager API

commit 7789ad97cd89df6b27472bed6ba6f6c137d6ad3b
Author: John Ford <john@johnford.org>
Date:   Mon Jul 10 13:54:34 2017 +0200

    Code which fetches pricing.  Currently limited to spot-pricing