-
Notifications
You must be signed in to change notification settings - Fork 787
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
Discovery on issues around boot/dev env repo, git changes, and merge conflicts #6132
Comments
When setting up a new Jenkins X install, after a fresh
I obviously have changes in that file, it would be nice if I somehow could resolve this conflict. |
Please let me know if I need to add anything else to this ticket.
|
Thanks - that’s exactly the datapoint I was looking for! |
Ok, first thing that needs to be done, I think, is removing
jx/pkg/cmd/step/verify/step_verify_environments.go Lines 233 to 236 in fa2e0aa
GIT_* env vars into the jenkins-x.yml , since they're getting set within the environment of the running steps now. That cuts down one of the cases of files getting modified in multiple histories.
|
How to deal with |
Trying to lay out scenarios in which conflicts can and can't appear: First, when running
|
Error cases during the pseudo-pipeline step execution are all in
|
|
Alright, Even in the best case scenario, if we can get rid of all the things that can result in false merge conflicts in |
I have a very bad feeling about this. IMO a lot of the problems stem from #5722 and the broken |
I'm not sure #5772 is responsible for many of the reported issues - it's only going to show up when you're booting using an existing dev env repo and a local clone of upstream boot config. Upgrade has its own mechanism for combining the different histories in upstream and the dev env, when you don't have an existing dev env repo, it doesn't hit this, and when you run boot from a clone of the dev env, it shouldn't hit this either. |
I'm marking this as done - the epic has three tangible issues to work on in it. |
We've seen a number of issues stemming from
jx boot
,jx upgrade boot
, orjx step verify environments
, relating to changes being made to the local boot clone/dev env repo that shouldn't be happening, or merge conflicts syncing up with the upstreamjenkins-x-boot-config
repo. This issue is to track investigative work on howjx boot
is intended to behave w.r.t. the boot repo, what it's doing now, and what needs to be reworked to get it to correctly, consistently, and reliably do what it needs to do.Related issues include:
jx upgrade boot
fails when nexus is disabled #6106jx boot
run #5827And closed issues like the ones listed below will be considered too - while they're "fixed" currently, their original problems were probably symptoms of the wider issues with the boot repo:
...
The text was updated successfully, but these errors were encountered: