-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into adsandor/tldefault
- Loading branch information
Showing
12,952 changed files
with
1,650,458 additions
and
677,660 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,13 +159,15 @@ have issues with Azure PowerShell or Azure services. | |
If there is a feature you would like to see in Azure PowerShell, use the | ||
[`Send-Feedback`][SendFeedback] cmdlet, or file an issue in our [GitHub repo][GitHubRepo]. | ||
|
||
## Contribute Code | ||
## Contributing | ||
For details on contributing to this repository, see the [contributing guide][Contributing] and the [_Azure PowerShell Developer Guide_][DeveloperGuide]. | ||
|
||
If you would like to become a contributor to this project, see the instructions provided in | ||
[Microsoft Azure Projects Contribution Guidelines][ContributionGuidelines]. | ||
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit | ||
https://cla.microsoft.com. | ||
|
||
Additional information about contributing to this repository can be found in | ||
[`CONTRIBUTING.md`][Contributing] and the [_Azure PowerShell Developer Guide_][DeveloperGuide]. | ||
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA. | ||
|
||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments. | ||
|
||
## Telemetry | ||
|
||
|
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
FROM mcr.microsoft.com/powershell:alpine-3.16 | ||
|
||
ARG REPOSITORY=PSGallery | ||
ARG MODULE=Az | ||
ARG CONFIG=config | ||
ARG AZURERM_CONTEXT_SETTINGS=AzureRmContextSettings.json | ||
ARG AZURE=/root/.Azure | ||
ARG VCS_REF="none" | ||
ARG BUILD_DATE= | ||
ARG VERSION= | ||
ARG LATEST= | ||
ARG BLOB_URL= | ||
ARG IMAGE_NAME=mcr.microsoft.com/azure-powershell:${VERSION}-alpine-3.16 | ||
|
||
ENV AZUREPS_HOST_ENVIRONMENT="dockerImage/${VERSION}-alpine-3.16" | ||
|
||
LABEL maintainer="Azure PowerShell Team <[email protected]>" \ | ||
readme.md="http://aka.ms/azpsdockerreadme" \ | ||
description="This Dockerfile will install the latest release of Azure PowerShell." \ | ||
org.label-schema.build-date=${BUILD_DATE} \ | ||
org.label-schema.usage="http://aka.ms/azpsdocker" \ | ||
org.label-schema.url="http://aka.ms/azpsdockerreadme" \ | ||
org.label-schema.vcs-url="https://github.com/Azure/azure-powershell" \ | ||
org.label-schema.name="azure powershell" \ | ||
org.label-schema.vendor="Azure PowerShell" \ | ||
org.label-schema.version=${VERSION} \ | ||
org.label-schema.schema-version="1.0" \ | ||
org.label-schema.vcs-ref=${VCS_REF} \ | ||
org.label-schema.docker.cmd="docker run --rm ${IMAGE_NAME} pwsh -c '\$PSVERSIONTABLE'" \ | ||
org.label-schema.docker.cmd.devel="docker run -it --rm -e 'DebugPreference=Continue' ${IMAGE_NAME} pwsh" \ | ||
org.label-schema.docker.cmd.test="currently not available" \ | ||
org.label-schema.docker.cmd.help="docker run --rm ${IMAGE_NAME} pwsh -c Get-Help" | ||
|
||
RUN if [ "${LATEST}" = True ] ; then \ | ||
# install latest azure-powershell from BLOB | ||
pwsh -Command Invoke-WebRequest -uri ${BLOB_URL} -OutFile latest.tar.gz && \ | ||
mkdir latest && \ | ||
tar -zxvf ./latest.tar.gz -C ./latest && \ | ||
pwsh -Command ./latest/InstallModule.ps1 -Scope AllUsers ;\ | ||
else \ | ||
# install old azure-powershell from PSGallery | ||
pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Trusted && \ | ||
pwsh -Command Install-Module -Name ${MODULE} -RequiredVersion ${VERSION} -Scope AllUsers -Repository ${REPOSITORY} && \ | ||
pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Untrusted ;\ | ||
fi | ||
|
||
# create AzureRmContextSettings.json before it was generated | ||
COPY ${CONFIG}/${AZURERM_CONTEXT_SETTINGS} ${AZURE}/${AZURERM_CONTEXT_SETTINGS} | ||
|
||
CMD [ "pwsh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
FROM mcr.microsoft.com/powershell:alpine-3.17 | ||
|
||
ARG REPOSITORY=PSGallery | ||
ARG MODULE=Az | ||
ARG CONFIG=config | ||
ARG AZURERM_CONTEXT_SETTINGS=AzureRmContextSettings.json | ||
ARG AZURE=/root/.Azure | ||
ARG VCS_REF="none" | ||
ARG BUILD_DATE= | ||
ARG VERSION= | ||
ARG LATEST= | ||
ARG BLOB_URL= | ||
ARG IMAGE_NAME=mcr.microsoft.com/azure-powershell:${VERSION}-alpine-3.17 | ||
|
||
ENV AZUREPS_HOST_ENVIRONMENT="dockerImage/${VERSION}-alpine-3.17" | ||
|
||
LABEL maintainer="Azure PowerShell Team <[email protected]>" \ | ||
readme.md="http://aka.ms/azpsdockerreadme" \ | ||
description="This Dockerfile will install the latest release of Azure PowerShell." \ | ||
org.label-schema.build-date=${BUILD_DATE} \ | ||
org.label-schema.usage="http://aka.ms/azpsdocker" \ | ||
org.label-schema.url="http://aka.ms/azpsdockerreadme" \ | ||
org.label-schema.vcs-url="https://github.com/Azure/azure-powershell" \ | ||
org.label-schema.name="azure powershell" \ | ||
org.label-schema.vendor="Azure PowerShell" \ | ||
org.label-schema.version=${VERSION} \ | ||
org.label-schema.schema-version="1.0" \ | ||
org.label-schema.vcs-ref=${VCS_REF} \ | ||
org.label-schema.docker.cmd="docker run --rm ${IMAGE_NAME} pwsh -c '\$PSVERSIONTABLE'" \ | ||
org.label-schema.docker.cmd.devel="docker run -it --rm -e 'DebugPreference=Continue' ${IMAGE_NAME} pwsh" \ | ||
org.label-schema.docker.cmd.test="currently not available" \ | ||
org.label-schema.docker.cmd.help="docker run --rm ${IMAGE_NAME} pwsh -c Get-Help" | ||
|
||
RUN if [ "${LATEST}" = True ] ; then \ | ||
# install latest azure-powershell from BLOB | ||
pwsh -Command Invoke-WebRequest -uri ${BLOB_URL} -OutFile latest.tar.gz && \ | ||
mkdir latest && \ | ||
tar -zxvf ./latest.tar.gz -C ./latest && \ | ||
pwsh -Command ./latest/InstallModule.ps1 -Scope AllUsers;\ | ||
else \ | ||
# install old azure-powershell from PSGallery | ||
pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Trusted && \ | ||
pwsh -Command Install-Module -Name ${MODULE} -RequiredVersion ${VERSION} -Scope AllUsers -Repository ${REPOSITORY} && \ | ||
pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Untrusted ;\ | ||
fi | ||
|
||
# create AzureRmContextSettings.json before it was generated | ||
COPY ${CONFIG}/${AZURERM_CONTEXT_SETTINGS} ${AZURE}/${AZURERM_CONTEXT_SETTINGS} | ||
|
||
CMD [ "pwsh" ] |
Oops, something went wrong.