From a65656259b4f014376331000654fa313f0ecf73d Mon Sep 17 00:00:00 2001 From: Kahlia Hogg <47726907+athletedecoded@users.noreply.github.com> Date: Tue, 14 Nov 2023 23:04:21 +0000 Subject: [PATCH] fix hello azure --- src/aws/codebuild_s3_cpu_recipe.md | 10 ---------- src/azure/azure-spot-runner.md | 4 +--- src/azure/hello-azure.md | 7 ++----- 3 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 src/aws/codebuild_s3_cpu_recipe.md diff --git a/src/aws/codebuild_s3_cpu_recipe.md b/src/aws/codebuild_s3_cpu_recipe.md deleted file mode 100644 index 6fc26da..0000000 --- a/src/aws/codebuild_s3_cpu_recipe.md +++ /dev/null @@ -1,10 +0,0 @@ -# codebuild-s3 - -## Prerequisites - -* A [Github Account](https://github.com/join) -* An [AWS Account](https://portal.aws.amazon.com/billing/signup) - -## Recipes - -- [codebuild + S3](./codebuild_s3_cpu.md) ~ automated binary build + run using CPU \ No newline at end of file diff --git a/src/azure/azure-spot-runner.md b/src/azure/azure-spot-runner.md index 17f3d1e..d1249f4 100644 --- a/src/azure/azure-spot-runner.md +++ b/src/azure/azure-spot-runner.md @@ -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` @@ -30,7 +30,6 @@ az group create --location eastus --name "" Keep that resource group name handy for other operations. In this repository the `$` 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. ``` @@ -76,7 +75,6 @@ With the principalId you can assign it to the VMs now: az role assignment create --assignee --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: ``` diff --git a/src/azure/hello-azure.md b/src/azure/hello-azure.md index 3468964..7360a74 100644 --- a/src/azure/hello-azure.md +++ b/src/azure/hello-azure.md @@ -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