-
Notifications
You must be signed in to change notification settings - Fork 199
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
Allow overriding home dir and download url during install #1542
Conversation
When installing, let the user override with PORTER_HOME and PORTER_MIRROR the location where porter should be installed, or the location from which it should be downloaded. I have updated the porter CLI to understand the new configuration value PORTER_MIRROR, which and also be specified as a flag or config file setting. This lets us test out alternate download infra from end-to-end, and also allows a user to set up a mirror of Porter's assets. I am also getting rid of the troubleshooting I had added for Azure's storage and CDN now that we aren't using it anymore (e.g. dynamically generated PORTER_TRACE user agents). Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
/azp run porter-install-check |
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
docs/content/install.md
Outdated
@@ -13,9 +13,11 @@ We have a few release types available for you to use: | |||
* [Older Version](#older-version) | |||
|
|||
You can also install and manage [mixins](#mixins) and [plugins](#plugins) using | |||
porter, and use the [Porter VS Code Extension][vscode-ext] for help authoring | |||
porter, and use the [Porter VS Code Extension][vscode-ext] for help author |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps change back to authoring
-- or '.. to help author bundles' ?
docs/content/install.md
Outdated
|
||
# Install Script Parameters | ||
|
||
The installation scripts provide the following parameters. Paramters can be specified with environment variables for the macOS and Linux scripts, and on Windows they are named parameters in the script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The installation scripts provide the following parameters. Paramters can be specified with environment variables for the macOS and Linux scripts, and on Windows they are named parameters in the script. | |
The installation scripts provide the following parameters. Parameters can be specified with environment variables for the macOS and Linux scripts, and on Windows they are named parameters in the script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed a couple places with that same typo. I really have trouble with typing that word! 😊
Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
What does this change
When installing, let the user override with PORTER_HOME and PORTER_MIRROR the location where porter should be installed, or the location from which it should be downloaded.
I have updated the porter CLI to understand the new configuration value PORTER_MIRROR, which and also be specified as a flag or config file setting.
This lets us test out alternate download infra from end-to-end, and also allows a user to set up a mirror of Porter's assets.
I am also getting rid of the troubleshooting I had added for Azure's storage and CDN now that we aren't using it anymore (e.g. dynamically generated PORTER_TRACE user agents).
What issue does it fix
Fixes https://groups.io/g/porter/message/30
Notes for the reviewer
N/A
Checklist