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

Use URLs consistently #366

Merged
merged 7 commits into from
Jun 2, 2020

Conversation

michaelsauter
Copy link
Member

@michaelsauter michaelsauter commented Jun 2, 2020

Replaces #183.

Implements in the shared lib what is needed to finish opendevstack/ods-core#259 eventually.

Instead of making this a breaking change, the approach here is to support NEXUS_HOST as is for ODS 3. But projects created with ODS 3 will set NEXUS_URL instead of NEXUS_HOST and consequently have nexusUrl and nexusHost set to the expected values. Users of ODS have the choice during upgrade from 2 to 3 if they want to "fix" the Nexus config by setting NEXUS_URL in their Jenkins instance, or if they want to stick with the "broken" Nexus config by keeping NEXUS_HOST. I will document this in the update guide once I make the change in ods-core.

The PR also removes code duplication between the three pipelines, making reading of the env vars consistent. While doing that, I noticed that the orchestration pipeline assumed NEXUS_URL to be present, but I cannot see how that is set in the release-manager quickstarter at the moment. Now it works whether NEXUS_URL is set or not.

Given this PR will clash with #365, I can wait with merging after #365 is in, given that's the bigger changeset.

@michaelsauter michaelsauter merged commit 172ec7a into opendevstack:master Jun 2, 2020
@michaelsauter michaelsauter added this to Done in OpenDevStack 3.0 via automation Jun 2, 2020
@michaelsauter michaelsauter deleted the feature/host-to-url branch June 2, 2020 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants