Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bikes-azure-pipelines.yml #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Bikes/bikes-azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ stages:
- job: Build
displayName: Build job
pool:
name: work-machine
# name: work-machine
vmImage: 'ubuntu-latest'

steps:

Expand All @@ -65,7 +66,8 @@ stages:
- deployment: Deploy
displayName: Deploy job
pool:
name: work-machine
# name: work-machine
vmImage: 'ubuntu-latest'

environment: 'BikeSharingSampleApp-Dev'
strategy:
Expand Down Expand Up @@ -188,8 +190,10 @@ stages:
azureSubscription: 'Azure-Sub-Bike'
scriptLocation: inlineScript
inlineScript: |
# az aks use-dev-spaces -n $(AZDSControllerName) -g $(AZDSControllerName) -y -s $(AZDSDefaultSpace)/$(system.pullRequest.sourceBranch) --update
azds controller select -n $(AZDSControllerName) -g $(AZDSControllerRG)
azds space select -n $(AZDSDefaultSpace)/$(system.pullRequest.sourceBranch) -y
azds up -d
azds list-uris -o json
azds list-uris -o json > $(AGENT.TEMPDIRECTORY)/azdsuri.txt

Expand Down