Skip to content

Conversation

@JPRuskin
Copy link
Member

Description Of Changes

This PR introduces a few changes, including:

  • Removing Progress from the OfflineInstallPreparation Script
  • Updates to the Readme to help users complete all copied lines (prioritising real certificates)
  • An update to the contribution doc
  • A change to the parametersetname-based test in DatabaseCredential to ensure it is generated for self-signed certificates

Motivation and Context

Feedback came after a PR was merged.

Testing

  1. Deployed to local environment.

Operating Systems Testing

  • 2022 (local)
  • 2019 (build tests)

Change Types Made

  • Bug fix (non-breaking change).
  • [ ] Feature / Enhancement (non-breaking change).
  • [ ] Breaking change (fix or feature that could cause existing functionality to change).
  • Documentation changes.
  • PowerShell code changes.

Change Checklist

  • Requires a change to the documentation.
  • Documentation has been updated.
  • [ ] Tests to cover my changes, have been added.
  • All new and existing tests passed?
  • [ ] PowerShell code changes: PowerShell v3 compatibility checked?

Related Issue

Fixes #296

JPRuskin added 2 commits May 27, 2025 18:17
When the initialize script was being run as a self-signed environment, it wasn't correctly generating and storing the DatabaseCredential.

This caused a prompt, later in the install flow, to enter a credential.

This change ensures that instead of checking for a ParameterSetName (which isn't set when no parameters are passed), it generates a credential if one is not provided already.
Logs were being clogged with progress reports.
@JPRuskin JPRuskin requested a review from ryanrichter94 May 27, 2025 17:23
@JPRuskin JPRuskin self-assigned this May 27, 2025
Copy link
Member

@ryanrichter94 ryanrichter94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 79 and 80 can be removed from the README.md as you've put them in a separate offline install section of Step 1. Also, change line 81 to reference that people should proceed to the offline install section of Step 1.

@ryanrichter94 ryanrichter94 merged commit f46e329 into main May 29, 2025
15 checks passed
@ryanrichter94 ryanrichter94 deleted the patchReleaseLol branch May 29, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Self-Signed Certificate Run Doesn't Store DatabaseCredential

3 participants