8000 Merge pull request #1102 from microsoft/v-bruhal/expazcontainer5-27 · TaffyWrinkle/botbuilder-python@6861169 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6861169

Browse files
authored
Merge pull request microsoft#1102 from microsoft/v-bruhal/expazcontainer5-27
Set up CI with Azure Pipelines
2 parents 37aa423 + 4a21e60 commit 6861169

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
trigger: none # no ci trigger
2+
3+
pr: none # no pr trigger
4+
5+
pool:
6+
vmImage: 'ubuntu-latest'
7+
8+
steps:
9+
- task: AzurePowerShell@5
10+
displayName: 'Create container'
11+
inputs:
12+
azureSubscription: 'FUSE Temporary (174c5021-8109-4087-a3e2-a1de20420569)'
13+
ScriptType: 'InlineScript'
14+
Inline: |
15+
Set-PSDebug -Trace 1;
16+
Write-Host 'blah';
17+
Write-Host 'az group create --name NightlyPythonFunctionalTestContainerRegistryRG --location eastus'
18+
az group create --name NightlyPythonFunctionalTestContainerRegistryRG --location eastus
19+
Write-Host 'az acr create --resource-group NightlyPythonFunctionalTestContainerRegistryRG --name NightlyPythonFunctionalTestContainerRegistry --sku Basic'
20+
az acr create --resource-group NightlyPythonFunctionalTestContainerRegistryRG --name NightlyPythonFunctionalTestContainerRegistry --sku Basic
21+
az acr login --name NightlyPythonFunctionalTestContainerRegistry
22+
docker pull hello-world
23+
docker tag hello-world nightlypythonfunctionaltestcontainerregistry.azurecr.io/hello-world:v1
24+
docker push nightlypythonfunctionaltestcontainerregistry.azurecr.io/hello-world:v1
25+
docker rmi nightlypythonfunctionaltestcontainerregistry.azurecr.io/hello-world:v1
26+
az acr repository list --name NightlyPythonFunctionalTestContainerRegistry --output table
27+
az acr repository show-tags --name NightlyPythonFunctionalTestContainerRegistry --repository hello-world --output table
28+
azurePowerShellVersion: 'LatestVersion'
29+
30+
- script: echo Hello, world!
31+
displayName: 'Run a one-line script'
32+
33+
- script: |
34+
echo Add other tasks to build, test, and deploy your project.
35+
echo See https://aka.ms/yaml
36+
displayName: 'Run a multi-line script'

0 commit comments

Comments
 (0)
0