Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

GoCD Elastic Agent plugin for Apache Aurora

License

Notifications You must be signed in to change notification settings

amperity/gocd-aurora-elastic-agent

Repository files navigation

gocd-aurora-elastic-agent

NOTICE

⚠️ This project is no longer in active development and will be archived soon. Apache Aurora itself has been moved to the Apache Attic and is unmaintained. Please look into using one of the other GoCD elastic agent plugins supported by the GoCD community.

Description

CircleCI codecov

A plugin for GoCD providing elastic agent support via Apache Aurora.


Installation

Releases are published on the GitHub project. Download the latest version of the plugin and place it in your server's external plugin directory. Once installed, restart the GoCD server to load the plugin. The plugin should appear in your server's Admin - Plugins page when it is back up.

Configuration

The plugin is configured through the Admin - Elastic Profiles page. You can add cluster profiles which correspond to the Aurora clusters you want to run agents on. Within each cluster you can create multiple agent profiles defining the resources and tools necessary to run certain types of jobs.

Once you've defined the agents you need in each cluster, you can begin assigning the elastic agent profiles to pipeline jobs. Those jobs will then ask for elastic agents to launch and run on.

Local Development

If you're planning to work on the plugin code locally, make sure to read and understand the agent scheduler and state transitions. See the gocd directory for running a local GoCD server.

License

Licensed under the Apache License, Version 2.0. See the LICENSE file for rights and restrictions.