Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

Change from package to local references#89

Open
tothegills wants to merge 14 commits into
mainfrom
tothegills/localReferences
Open

Change from package to local references#89
tothegills wants to merge 14 commits into
mainfrom
tothegills/localReferences

Conversation

@tothegills
Copy link
Copy Markdown
Contributor

@tothegills tothegills commented Mar 31, 2023

Install Octopus to the default location (C:\Program Files\Octopus Deploy\Octopus). Load the solution, and the references should all line up with the installed version of Octopus.

@tothegills tothegills requested a review from a team as a code owner March 31, 2023 03:32
# Run this script after installing a new version of Octopus Server, but before starting it (due to file lock and dependency load issues).

$OctopusServerBinaryLocation = "E:\Program Files\Octopus Deploy\Octopus" # Make sure this points to where you install the Octopus Server binaries
$OctopusServerCustomExtensionsLocation = "C:\ProgramData\Octopus\CustomExtensions\" # This should always point to where the Octopus Server CustomExtenions folder lives
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This could be $env:PROGRAMDATA


<ItemGroup>
<Reference Include="Octopus.Server.Client">
<HintPath>C:\Program Files\Octopus Deploy\Octopus\Octopus.Server.Client.dll</HintPath>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The HintPath breaks non-Windows development.
Perhaps this should be a local file reference with the binary included in the repo (not ideal)

RoleClaimType = DefaultRoleClaimType;
}

public SensitiveString? ClientKey { get; set; }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not sure how these changes relate to the PR?

@zentron
Copy link
Copy Markdown
Contributor

zentron commented Apr 3, 2023

Nice one @tothegills , good to see these changes merge in finally 🎉. Onwards to deprecation!
Presumably these are also being merged into the OctopusServer version?

@tothegills
Copy link
Copy Markdown
Contributor Author

This PR allows AETNA/CVS to rebuild their custom plugin and upgrade to 2023.1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants