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

fix: Fall back to not using provider for dev env creation in more cases #6574

Conversation

abayer
Copy link
Contributor

@abayer abayer commented Jan 21, 2020

Submitter checklist

  • Change is code complete and matches issue description.
  • Change is covered by existing or new tests.

Description

The specific issue prompting this was a GHE user with a custom boot config upstream forked in github.com. That slipped through, since we were specifically looking for cases where the destination wasn't github.com and the origin was the default boot config repository, but when I think about it more, it makes more sense to just fall back to the simpler non-provider-driven approach to the origin for all cases where the git host for the origin and destination repository URLs differ.

Special notes for the reviewer(s)

Which issue this PR fixes

fixes #6551

The specific issue prompting this was a GHE user with a custom boot
config upstream forked in github.com. That slipped through, since we
were specifically looking for cases where the destination wasn't
github.com and the origin was the default boot config repository, but
when I think about it more, it makes more sense to just fall back to
the simpler non-provider-driven approach to the origin for all cases
where the git host for the origin and destination repository URLs differ.

fixes jenkins-x#6551

Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
@hferentschik
Copy link

/lgtm

@jenkins-x-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hferentschik

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jenkins-x-bot jenkins-x-bot merged commit a5f7b03 into jenkins-x:master Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jx boot failing on GHE with latest CLI due to failing GET request
3 participants