File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # GitHub Release v1.0.0
2+ resources :
3+ - repo : self
4+
5+ trigger : none
6+
7+ pr :
8+ branches :
9+ include :
10+ - ' *'
11+
12+ pool :
13+ vmImage : ' ubuntu-latest'
14+
15+ variables :
16+ pythonVersion : ' 3.12'
17+ venvDir : ' $(Pipeline.Workspace)/venv'
18+
19+ jobs :
20+ - job : BuildAndDeploy
21+ displayName : " Build and Deploy"
22+ pool :
23+ vmImage : ' ubuntu-latest'
24+ steps :
25+ - checkout : self
26+ fetchDepth : 0
27+ fetchTags : true
28+
29+ - task : Docker@2
30+ displayName : ' Run build in Python Docker container'
31+ inputs :
32+ containerRegistry : ' $(kraterdevteam)'
33+ repository : ' python'
34+ command : ' run'
35+ arguments : ' --rm -v $(Pipeline.Workspace):/workspace -w /workspace python:$(pythonVersion) /bin/bash -c "python -m venv $(venvDir)
36+ && source $(venvDir)/bin/activate && python -m pip install --upgrade pip && pip install setuptools==70.0.0
37+ && pip install --force-reinstall wheel==0.30.0 && pip install azdev && azdev setup -c -r azure-cli-extensions
38+ && azdev extension build acrcache"'
You can’t perform that action at this time.
0 commit comments