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

gitops run bootstrapping #2853

Merged
merged 1 commit into from
Oct 12, 2022
Merged

gitops run bootstrapping #2853

merged 1 commit into from
Oct 12, 2022

Conversation

ozamosi
Copy link
Contributor

@ozamosi ozamosi commented Oct 11, 2022

This is a first version of gitops run bootstrap.

This only supports github, gitlab and bitbucket - I haven't implemented plain git, and I haven't implemented "write to disk instead".

This is poorly tested, with nothing automatic and little manual testing.

I added a question before bootstrapping, so that a user has a chance to understand that the shutdown finished and something else is starting. I also wrapped it in a loop, because I keep forgetting to put the correct values into place and then I have to delete my cluster and recreate it and if I'm annoyed I'm sure a user would be, too.

There is a limitation where this right now runs on every run - this will be fixed by the fix for #2863.

This closes #2700.
This closes #2702.

@ozamosi ozamosi changed the title WIP: gitops run bootstrapping gitops run bootstrapping Oct 12, 2022
This is still rough. The code should be split up further.

There's absolutely no support for "plain" git repositories. There's no
way to get the manifests in the local directory if they're not
pushed. We don't pull after pushing.

However, it does seem to work - at least a little.
@ozamosi ozamosi marked this pull request as ready for review October 12, 2022 16:16
@ozamosi ozamosi requested a review from a team October 12, 2022 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
2 participants