Skip to content

Merge pull request #93 from Azure/azuresovereigncloud#94

Merged
arjgupta merged 5 commits into
releases/v1from
users/arjgupta/add-svgn-gov-cloud-support-release
Dec 31, 2020
Merged

Merge pull request #93 from Azure/azuresovereigncloud#94
arjgupta merged 5 commits into
releases/v1from
users/arjgupta/add-svgn-gov-cloud-support-release

Conversation

@arjgupta

Copy link
Copy Markdown
Contributor

GitHub Actions Beta Preview for deploying to Azure Stack Hub

 GitHub Actions Beta Preview for deploying to Azure Stack Hub
Comment thread action.yml
required: false
default: false
environment:
description: 'Name of the environment. Supported values are azurecloud, azurestack, azureusgovernment, azurechinacloud, azuregermancloud. Default being azurecloud'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

casing in description doesnt match the defaultValue's casing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

if (scheme === Constants.ServicePrincipal) {
if (args.environment.toLowerCase() == "azurestack") {
command += `Add-AzEnvironment -Name ${args.environment} -ARMEndpoint ${args.resourceManagerEndpointUrl} | out-null;`;
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: leave a line

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

Comment thread src/main.ts
}

// Attempting Az cli login
if (environment == "azurestack") {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could have a utility for azure stack

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot do anything for this now. these changes are already in master. I'll add a todo and leave it for later.

@arjgupta
arjgupta merged commit 77f1b2e into releases/v1 Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants