Skip to content

Commit

Permalink
Add classic-azure-ts-vm-provisioners to test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas11 committed Jul 2, 2024
1 parent 67ed7bd commit 4d2a30c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions classic-azure-ts-vm-provisioners/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const username = config.require("username");
const password = config.requireSecret("password");

// retrieve the ssh publicKey from config
const publicKey = config.get("publicKey");
const publicKey = config.require("publicKey");

// The privateKey associated with the selected key must be provided (either directly or base64 encoded).
const privateKey = config.requireSecret("privateKey").apply(key => {
Expand Down Expand Up @@ -144,7 +144,7 @@ const changeToken = getFileHash("myapp.conf");
const cpConfig = new command.remote.CopyToRemote("config", {
triggers: [changeToken],
connection,
source: new pulumi.asset.FileArchive("myapp.conf"),
source: new pulumi.asset.FileAsset("myapp.conf"),
remotePath: `/home/${username}/myapp.conf`,
}, { dependsOn: [vm, pubIp] });

Expand Down
1 change: 0 additions & 1 deletion classic-azure-ts-vm-provisioners/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "azure-vm-provisioners",
"version": "0.1.0",
"main": "index.js",
"dependencies": {
"@pulumi/azure": "^5.0.0",
"@pulumi/command": "^1.0.0",
Expand Down
4 changes: 4 additions & 0 deletions misc/test/definitions/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ var AzureTests = TestDefinitions{
Tags: []Tag{AzureCloud, AzureClassicProvider, TS},
Dir: "classic-azure-ts-stream-analytics",
},
{
Tags: []Tag{AzureCloud, AzureClassicProvider, TS},
Dir: "classic-azure-ts-vm-provisioners",
},
{
Tags: []Tag{AzureCloud, AzureClassicProvider, TS},
Dir: "classic-azure-ts-vm-scaleset",
Expand Down

0 comments on commit 4d2a30c

Please sign in to comment.