Skip to content

Commit dbb9dcc

Browse files
authored
Merge pull request #431 from MicrosoftDocs/xpillons/ccws_deploy_with_cli
update CCW clone instructions when deploying from the CLI
2 parents 957a1ca + b10edbb commit dbb9dcc

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

articles/cyclecloud/how-to/ccws/deploy-with-cli.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: How to deploy a CycleCloud Workspace for Slurm environment using the CLI
33
description: How to deploy a CycleCloud Workspace for Slurm environment using the Azure CLI and the Azure Portal UI Sandbox
44
author: xpillons
5-
ms.date: 08/22/2024
5+
ms.date: 01/29/2025
66
ms.author: xpillons
77
---
88

@@ -13,7 +13,9 @@ Prerequisites: Users will need to install the Azure CLI and Git. They will then
1313
- Clone the Azure CycleCloud Workspace for Slurm on the latest stable release
1414

1515
```bash
16-
git clone https://github.com/Azure/cyclecloud-slurm-workspace.git --branch <release>
16+
latest=$(curl -s https://api.github.com/repos/azure/cyclecloud-slurm-workspace/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')
17+
echo "cloning on $latest"
18+
git clone --depth 1 --branch $latest https://github.com/azure/cyclecloud-slurm-workspace.git
1719
```
1820

1921
- Copy the content of the UI definition file `./uidefinitions/createUiDefinition.json`
@@ -41,3 +43,8 @@ az deployment sub create --template-file ./cyclecloud-slurm-workspace/bicep/main
4143
```
4244

4345
- Wait until the shell indicates that the deployment was successful. One can also track the progress of the deployment in the Azure Portal by navigating to the resource group indicated in the UI, selecting `Deployments` from the Settings dropdown menu on the left-hand side menu, and checking the Status of the Deployment Name that begins with “pid-” at the bottom of the displayed list.
46+
47+
## Resources
48+
49+
* [How to connect to the CycleCloud Portal through Bastion](/azure/cyclecloud/how-to/ccws/connect-to-portal-with-bastion)
50+
* [How to connect to a Login Node through Bastion](/azure/cyclecloud/how-to/ccws/connect-to-login-node-with-bastion)

0 commit comments

Comments
 (0)