Giter Club home page Giter Club logo

cbactions's People

Contributors

aidansteele avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

syllogy

cbactions's Issues

Alternatives to LD_PRELOAD

Soooo it just occurred to me that maybe we could just have multiple copies of the runner's code on the filesystem and that could help avoid all the preload shenanigans. We should investigate if that's better or worse in terms of performance, complexity, etc.

Lock down KMS-encrypted data

Right now the cfn template allows any key ARN to be used for encrypting job information. We should instead include an AWS::KMS::Key resource in the template with a key policy that:

  • Explicitly restricts kms:Decrypt to a principal listed in the encryption context
  • Includes a timestamp in the encryption context. kms:Decrypt should only be allowed if the current time is less than this timestamp.
  • Maybe include repo information for record-keeping in CloudTrail

Graceful shutdown

Right now when the task is stopped, the replacement task's listeners are rejected for a few minutes until the old listeners timeout. Maybe there's a way to fix that.

Graceful shutdown

Right now when the task is stopped, the replacement task's listeners are rejected for a few minutes until the old listeners timeout. Maybe there's a way to fix that

Pass assumed role credentials to CodeBuild build

Right now the actions operate with the role assigned to the CodeBuild project. This isn't the end of the world, but I would like to experiment with the idea of having the Fargate task assume a role and then pass it to CodeBuild as environment variables. Thoughts:

  • Obviously needs to be encrypted. As it's sensitive, maybe it should wait on the improvements in #3.
  • Then the IAM role for CodeBuild only needs kms:Decrypt and the CloudWatch logs permissions. VPC ones too.
  • When assuming the role, we can pass in a wealth of context as role session tags and the role session name. Things like
    • Repository
    • Workflow
    • Job name
    • "Actor" (who triggered it)
    • Branch
    • Commit SHA

Question

Hi, I think it is a neat idea to use CodeBuild jobs as self-hosted runners for GitHub Actions! I was curious how's it working out for you?

Also, presuming you're still using the project, I was wondering if some of the new GitHub features would change the design, in particular GitHub Actions OIDC (which I learned about from your blog, thanks!) or ephemeral self-hosted runners?

Rightsize Fargate task

We should work out how much vCPU and how much RAM is required for the Fargate task when there are N listeners running.

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.