Skip to content

Commit f5b801b

Browse files
annaji-msftAnnaji Sharma GantiCopilot
authored
Move ACA CLI installers to aca-cli/preview for public preview (#1739)
* Move ACA CLI installers to aca-cli/preview for public preview - Move install.sh, install.ps1, latest-version.txt from docs/early/aca-cli to aca-cli/preview; repoint latest-version.txt URL and pin version to aca-cli-v0.1.0-preview. - Add a quick aca-cli/preview/README.md (install, uninstall, supported platforms, link to the preview release). - Delete docs/early/aca-cli and docs/early/python-sdk. - Remove dangling docs/early/python-sdk references from plugin/skills/aca-sandboxes/SKILL.md. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Use aka.ms/aca-cli-install in README for Linux/macOS one-liners Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Use aka.ms/aca-cli-install-windows for Windows installer in README Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Use aka.ms/aca-cli-install-ps alias for Windows installer Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Annaji Sharma Ganti <Annaji.Ganti+microsoft@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 70b1e50 commit f5b801b

10 files changed

Lines changed: 71 additions & 2541 deletions

File tree

aca-cli/preview/README.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Azure Container Apps Sandboxes CLI (Preview)
2+
3+
The `aca` CLI is the command-line client for Azure Container Apps Sandboxes, now in public preview. These installers fetch the latest release from [GitHub Releases](https://github.com/microsoft/azure-container-apps/releases) and place the `aca` binary on your `PATH`.
4+
5+
## Prerequisites
6+
7+
- [Azure CLI](https://learn.microsoft.com/cli/azure/install-azure-cli) installed and logged in (`az login`)
8+
- An Azure subscription with a resource group
9+
10+
## Install
11+
12+
### Linux / macOS
13+
14+
```bash
15+
curl -fsSL https://aka.ms/aca-cli-install | sh
16+
```
17+
18+
Pin a specific version:
19+
20+
```bash
21+
curl -fsSL https://aka.ms/aca-cli-install | ACA_VERSION=aca-cli-v0.1.0-preview sh
22+
```
23+
24+
### Windows (PowerShell)
25+
26+
```powershell
27+
irm https://aka.ms/aca-cli-install-ps | iex
28+
```
29+
30+
Pin a specific version:
31+
32+
```powershell
33+
& ([scriptblock]::Create((irm https://aka.ms/aca-cli-install-ps))) -Version aca-cli-v0.1.0-preview
34+
```
35+
36+
## Uninstall
37+
38+
**Linux / macOS:**
39+
40+
```bash
41+
curl -fsSL https://aka.ms/aca-cli-install | sh -s -- --uninstall
42+
```
43+
44+
**Windows (PowerShell):**
45+
46+
```powershell
47+
& ([scriptblock]::Create((irm https://aka.ms/aca-cli-install-ps))) -Uninstall
48+
```
49+
50+
## Supported platforms
51+
52+
| Platform | Architecture |
53+
|----------|--------------|
54+
| Linux | x64 |
55+
| macOS | ARM64 |
56+
| Windows | x64 |
57+
58+
## Current preview release
59+
60+
The installers default to the tag pinned in [`latest-version.txt`](./latest-version.txt) — currently **`aca-cli-v0.1.0-preview`**. See the [release page](https://github.com/microsoft/azure-container-apps/releases/tag/aca-cli-v0.1.0-preview) for archive downloads and release notes.
61+
62+
## Feedback
63+
64+
This is a public preview. File issues and feedback at <https://github.com/microsoft/azure-container-apps/issues>.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ function Install-Aca {
4040

4141
if ($Version -eq "latest") {
4242
# Fetch latest version from version file (no API, no rate limits)
43-
$Version = (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$Repo/$Branch/docs/early/aca-cli/latest-version.txt" -UseBasicParsing).Content.Trim()
43+
$Version = (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/$Repo/$Branch/aca-cli/preview/latest-version.txt" -UseBasicParsing).Content.Trim()
4444
if (-not $Version) {
45-
throw "Could not determine latest version. Specify manually: -Version aca-cli-v0.1.0-early-access"
45+
throw "Could not determine latest version. Specify manually: -Version aca-cli-v0.1.0-preview"
4646
}
4747
Write-Host "Latest version: $Version"
4848
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ detect_platform() {
3939
get_download_url() {
4040
if [ "$VERSION" = "latest" ]; then
4141
# Fetch latest version from version file (no API, no rate limits)
42-
VERSION="$(curl -fsSL "https://raw.githubusercontent.com/${REPO}/${BRANCH}/docs/early/aca-cli/latest-version.txt" | tr -d '[:space:]')"
42+
VERSION="$(curl -fsSL "https://raw.githubusercontent.com/${REPO}/${BRANCH}/aca-cli/preview/latest-version.txt" | tr -d '[:space:]')"
4343
if [ -z "$VERSION" ]; then
4444
echo "Error: Could not determine latest version."
45-
echo "Specify a version manually: ACA_VERSION=aca-cli-v0.1.0-early-access $0"
45+
echo "Specify a version manually: ACA_VERSION=aca-cli-v0.1.0-preview $0"
4646
exit 1
4747
fi
4848
echo "Latest version: ${VERSION}"

aca-cli/preview/latest-version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
aca-cli-v0.1.0-preview

0 commit comments

Comments
 (0)