An open API service indexing awesome lists of open source software.

https://github.com/envato/spot_build

Agents are transient, Jobs are forever
https://github.com/envato/spot_build

buildkite-agent

Last synced: about 1 year ago
JSON representation

Agents are transient, Jobs are forever

Awesome Lists containing this project

README

          

# Managing Spot Fleets with Buildkite

[![License MIT](https://img.shields.io/github/license/envato/spot_build)](https://github.com/envato/spot_build/blob/HEAD/LICENSE)
[![Gem Version](https://img.shields.io/gem/v/spot_build)](https://rubygems.org/gems/spot_build)
[![Build Status](https://github.com/envato/spot_build/workflows/tests/badge.svg?branch=master)](https://github.com/envato/spot_build/actions?query=workflow%3Atests+branch%3Amaster)

AWS EC2 Spot instances are cheaper, Buildkite Agents are a natural fit for Spot instnaces as the workload is interruptable.

SpotBuild makes it easier to use Spot instances and Spot fleets with Buildkite Agents by providing an agent that will shutdown the agent when the instance is scheduled for termination, preventing it from starting any new jobs and retry the current job it's working on.

# Running

Run this gem as a daemon on your buildkite agents and supply it the Organisation Slug and a Buildkite API token with the following permissions:
- read_agents
- read_builds
- write_builds

## Development Status

Very early stages of development