Skip to content

Commit

Permalink
fix hello azure
Browse files Browse the repository at this point in the history
  • Loading branch information
athletedecoded committed Nov 14, 2023
1 parent ac0feb1 commit a656562
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
10 changes: 0 additions & 10 deletions src/aws/codebuild_s3_cpu_recipe.md

This file was deleted.

4 changes: 1 addition & 3 deletions src/azure/azure-spot-runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Using Ephemeral Infrastructure with Azure VMS as GitHub Action Runners to build Candle binary latter.

## Requirements
* Setup [Azure Account](../hello-azure.md) and record the `subscription ID` you have from the setting.
* Setup [Azure Account](./hello-azure.md) and record the `subscription ID` you have from the setting.

* Create a [Personal Access Token (PAT)](https://github.com/settings/tokens/new?description=Azure+GitHub+Runner&scopes=repo) record as `$GitHubPAT`

Expand Down Expand Up @@ -30,7 +30,6 @@ az group create --location eastus --name "<RESOURCE_GROUP_NAME>"
Keep that resource group name handy for other operations. In this repository the `$<RESOURCE_GROUP_NAME>` resource group is used throughout. Note the location as well. Make sure that the location (region) maps to the resources you want to create.



### Create an Azure Key Vault
You will store your GitHub PAT here so that it can later be retrieved by the VM.
```
Expand Down Expand Up @@ -76,7 +75,6 @@ With the principalId you can assign it to the VMs now:
az role assignment create --assignee <principal_ID> --role Contributor --resource-group githubVM
```


### Trigger the create image run
Now you are ready to create the image. Run it manually and make sure it works correctly. If succesful, an image will be created for you which you can query with the following command:
```
Expand Down
7 changes: 2 additions & 5 deletions src/azure/hello-azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@
* An [Azure Account](https://azure.microsoft.com/en-us/free)


# Azure Spot Runner build


### Install Azure Cli
### Install Azure ClI
```
$ curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
```

### login in to Azure
### Login in to Azure
```
$ az login
Expand Down

0 comments on commit a656562

Please sign in to comment.