Skip to content
Snippets Groups Projects
Select Git revision
  • 6390812cbb6b92ea630673eb6a639db30342b21a
  • main default protected
  • release/v2.6.x
  • dependabot/github_actions/ci-3649212e03
  • conform-k8s-1.33
  • rfc-external-artifact
  • release/v2.5.x
  • release/v2.4.x
  • remove-notation-validation
  • release/v2.3.x
  • release/v2.2.x
  • RFC
  • fix-commit-log
  • flux-audit
  • release/v2.1.x
  • context-ns
  • ksm-dashboard
  • rfc-passwordless-git-auth
  • release/v2.0.x
  • rfc-gating
  • release/v0.27.4
  • v2.6.2 protected
  • v2.6.1 protected
  • v2.6.0 protected
  • v2.5.1 protected
  • v2.5.0 protected
  • v2.4.0 protected
  • v2.3.0 protected
  • v2.2.3 protected
  • v2.2.2 protected
  • v2.2.1 protected
  • v2.2.0 protected
  • v2.1.2 protected
  • v2.1.1 protected
  • v2.1.0 protected
  • v2.0.1 protected
  • v2.0.0 protected
  • v2.0.0-rc.5 protected
  • v2.0.0-rc.4 protected
  • v2.0.0-rc.3 protected
  • v2.0.0-rc.2 protected
41 results

bootstrap.go

  • Hidde Beydals's avatar
    6390812c
    Factor bootstrap logic into `bootstrap` package · 6390812c
    Hidde Beydals authored
    
    This commit factors out the bootstrap logic into a new `bootstrap`
    package, while also moving to `go-git-providers` to handle things
    around Git providers (e.g. repository creation, deploy key
    upsertions).
    
    The `GitProviderBootstrapper` is a superset of the
    `PlainGitBootstrapper` that besides `Reconciler` also implements the
    `RepositoryReconciler`.
    
    The Git actions rely on an interface, making it easier to support
    other implementations than `go-git` at a later moment, to for example
    support bootstrapping to Git servers that only support the v2 protocol.
    
    Signed-off-by: default avatarHidde Beydals <hello@hidde.co>
    6390812c
    History
    Factor bootstrap logic into `bootstrap` package
    Hidde Beydals authored
    
    This commit factors out the bootstrap logic into a new `bootstrap`
    package, while also moving to `go-git-providers` to handle things
    around Git providers (e.g. repository creation, deploy key
    upsertions).
    
    The `GitProviderBootstrapper` is a superset of the
    `PlainGitBootstrapper` that besides `Reconciler` also implements the
    `RepositoryReconciler`.
    
    The Git actions rely on an interface, making it easier to support
    other implementations than `go-git` at a later moment, to for example
    support bootstrapping to Git servers that only support the v2 protocol.
    
    Signed-off-by: default avatarHidde Beydals <hello@hidde.co>