Skip to content

feat(install): air-gapped / GHE env vars for install.ps1#1246

Open
abhinavgautam01 wants to merge 4 commits into
microsoft:mainfrom
abhinavgautam01:fix/668-install-ps1-airgap
Open

feat(install): air-gapped / GHE env vars for install.ps1#1246
abhinavgautam01 wants to merge 4 commits into
microsoft:mainfrom
abhinavgautam01:fix/668-install-ps1-airgap

Conversation

@abhinavgautam01
Copy link
Copy Markdown

Fixes #668

Description

Windows PowerShell installer parity with install.sh (#660): install.ps1 now supports APM_INSTALL_DIR, GITHUB_URL, APM_REPO, and VERSION. Pinning VERSION skips the releases/latest HTTP API and pulls the Windows archive from {GITHUB_URL}/{APM_REPO}/releases/download/{tag}/.... For latest-release discovery, the API base is derived from GITHUB_URL (https://api.github.com on GitHub.com, {host}/api/v3 on GitHub Enterprise Server).
The installation docs, apm-guide skill, and CHANGELOG describe the variables and air-gapped / GHE usage.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass
  • Added tests for new functionality (if applicable)

Mirror install.sh: APM_INSTALL_DIR, GITHUB_URL, APM_REPO, VERSION; derive
GH API root from GITHUB_URL; skip releases/latest when VERSION is set.
Copilot AI review requested due to automatic review settings May 10, 2026 16:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 10 comments.

Comment thread install.ps1
Comment thread install.ps1
Comment thread install.ps1
Comment thread install.ps1
Comment thread install.ps1
Comment thread install.ps1
Comment thread docs/src/content/docs/getting-started/installation.md
Comment thread docs/src/content/docs/getting-started/installation.md Outdated
Comment thread install.ps1 Outdated
Comment thread install.ps1
@abhinavgautam01
Copy link
Copy Markdown
Author

ping @danielmeppiel

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.

Add air-gapped/GHE configurability to install.ps1 (Windows parity)

2 participants