Git Product home page Git Product logo

do-actions-runner's Introduction

Actions Runner on DigitalOcean App Platform

This is a self hosted GitHub Actions runner for deploying to DigitalOcean App Platform. You will get the simplicity of automated cluster deployment and scaling by DigitalOcean App Platform.

It will register and remove itself automatically when DigitalOcean App Platform start and stop the container. You can vertical scale or horizontal scale your runner. If you do a horizontal scale (Pro plan only), all runners will be automatically registered to GitHub.

This project is part of DigitalOcean App Platform Hackathon. See submission post.

Usage

Deploy to DO

Currently, we cannot deploy a new app that only has the worker. So you need to create a new app with a service then delete that service and create a worker.

This actions runners can be installed as a runner for repository and organization.

Environment variable

You must provide the following environment variables.

  • TOKEN – Your GitHub personal access token with repo scope for repository-level and admin:org scope for organization-level runner. This token will be used for self-hosted runner registration.

Repository-level runner

  • OWNER – Owner of the repository
  • REPO – Repository name

Organization-level runner

  • ORG – Organization name

Screenshots

GitHub settings

Actions self-hosted settings

Horizontal scaling

Horizontally scaled runners are registered automatically

DigitalOcean dashboard

DigitalOcean App Platform dashboard

Additional resources

Buy Me A Coffee

do-actions-runner's People

Contributors

dougbarrett avatar iamfj avatar thewbear avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.