Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jit config #163

Merged
merged 14 commits into from
Sep 24, 2023
Merged

Commits on Sep 24, 2023

  1. Add jitconfig model field

    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    034cc47 View commit details
    Browse the repository at this point in the history
  2. Add helper functions for marshaling and sealing

    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    de17fb0 View commit details
    Browse the repository at this point in the history
  3. Add Jit functions to GH client interface

    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    09d2f1b View commit details
    Browse the repository at this point in the history
  4. Add temporary redirect to go-github fork

    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    591641a View commit details
    Browse the repository at this point in the history
  5. Ignore instances that are still being created from reaping

    When using JIT runners, we register the runner on GitHub before we get
    a chance to spin up the instance in the provider. In such cases, we end
    up with a runner in "offline" state while we're creating the actual resource
    that will embody the runner. This change will give runners a chance to come
    online before garm tries to clean them up.
    
    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    d5f8cf0 View commit details
    Browse the repository at this point in the history
  6. Add temporary replace to fork

    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    6dea1c1 View commit details
    Browse the repository at this point in the history
  7. Add jit config for new runner

    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    5214aca View commit details
    Browse the repository at this point in the history
  8. Add jit config routes

    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    1268507 View commit details
    Browse the repository at this point in the history
  9. Add metadata URLs

    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    e53c271 View commit details
    Browse the repository at this point in the history
  10. update modules

    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    e238f84 View commit details
    Browse the repository at this point in the history
  11. Use accessors when getting response values

    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    5f2cb19 View commit details
    Browse the repository at this point in the history
  12. Fix URLs for enterprises

    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    4bedb1d View commit details
    Browse the repository at this point in the history
  13. Run go generate

    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    8c507a9 View commit details
    Browse the repository at this point in the history
  14. Add JIT config as part of instance create

    We must create the DB entry for a runner with a JIT config included. Adding it later
    via an update runs the risk of having the consolidate loop pick up the incomplete instance.
    
    Signed-off-by: Gabriel Adrian Samfira <[email protected]>
    gabriel-samfira committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    019948a View commit details
    Browse the repository at this point in the history