Update VSTS to Azure DevOps and simplify dependencies (GH-9168)
This commit is contained in:
parent
08bcf647d8
commit
b7d613fc56
|
@ -4,7 +4,7 @@
|
|||
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
|
||||
|
||||
queue:
|
||||
name: Hosted Linux Preview
|
||||
name: 'Hosted Ubuntu 1604'
|
||||
|
||||
trigger:
|
||||
branches:
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
sudo apt-get update
|
||||
|
||||
sudo apt-get -yq install \
|
||||
build-essential \
|
||||
zlib1g-dev \
|
||||
libbz2-dev \
|
||||
liblzma-dev \
|
||||
libncurses5-dev \
|
||||
libreadline6-dev \
|
||||
libsqlite3-dev \
|
||||
libssl-dev \
|
||||
libgdbm-dev \
|
||||
tk-dev \
|
||||
lzma \
|
||||
lzma-dev \
|
||||
liblzma-dev \
|
||||
libffi-dev \
|
||||
uuid-dev \
|
||||
xvfb
|
|
@ -4,7 +4,7 @@
|
|||
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
|
||||
|
||||
queue:
|
||||
name: Hosted Linux Preview
|
||||
name: 'Hosted Ubuntu 1604'
|
||||
|
||||
trigger:
|
||||
branches:
|
||||
|
@ -30,31 +30,9 @@ steps:
|
|||
|
||||
#- template: linux-deps.yml
|
||||
|
||||
# See https://github.com/Microsoft/vsts-agent/blob/master/docs/preview/yamlgettingstarted-templates.md
|
||||
# For now, we copy/paste the steps
|
||||
- script: echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial main" > /etc/apt/sources.list.d/python.list && sudo apt-get update
|
||||
displayName: 'Update apt-get lists'
|
||||
|
||||
- script: echo ##vso[task.prependpath]$(OPENSSL_DIR)
|
||||
displayName: 'Add $(OPENSSL_DIR) to PATH'
|
||||
- script: >
|
||||
sudo apt-get -yq install
|
||||
build-essential
|
||||
zlib1g-dev
|
||||
libbz2-dev
|
||||
liblzma-dev
|
||||
libncurses5-dev
|
||||
libreadline6-dev
|
||||
libsqlite3-dev
|
||||
libssl-dev
|
||||
libgdbm-dev
|
||||
tk-dev
|
||||
lzma
|
||||
lzma-dev
|
||||
liblzma-dev
|
||||
libffi-dev
|
||||
uuid-dev
|
||||
xvfb
|
||||
- script: ./.vsts/install_deps.sh
|
||||
displayName: 'Install dependencies'
|
||||
- script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux
|
||||
displayName: 'python multissltests.py'
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
|
||||
|
||||
queue:
|
||||
name: Hosted Linux Preview
|
||||
name: 'Hosted Ubuntu 1604'
|
||||
|
||||
trigger:
|
||||
branches:
|
||||
|
@ -40,32 +40,9 @@ steps:
|
|||
|
||||
#- template: linux-deps.yml
|
||||
|
||||
# See https://github.com/Microsoft/vsts-agent/blob/master/docs/preview/yamlgettingstarted-templates.md
|
||||
# For now, we copy/paste the steps
|
||||
- script: echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial main" > /etc/apt/sources.list.d/python.list && sudo apt-get update
|
||||
displayName: 'Update apt-get lists'
|
||||
condition: and(succeeded(), ne(variables['DocOnly'], 'true'))
|
||||
|
||||
- script: echo ##vso[task.prependpath]$(OPENSSL_DIR)
|
||||
displayName: 'Add $(OPENSSL_DIR) to PATH'
|
||||
- script: >
|
||||
sudo apt-get -yq install
|
||||
build-essential
|
||||
zlib1g-dev
|
||||
libbz2-dev
|
||||
liblzma-dev
|
||||
libncurses5-dev
|
||||
libreadline6-dev
|
||||
libsqlite3-dev
|
||||
libssl-dev
|
||||
libgdbm-dev
|
||||
tk-dev
|
||||
lzma
|
||||
lzma-dev
|
||||
liblzma-dev
|
||||
libffi-dev
|
||||
uuid-dev
|
||||
xvfb
|
||||
- script: ./.vsts/install_deps.sh
|
||||
displayName: 'Install dependencies'
|
||||
condition: and(succeeded(), ne(variables['DocOnly'], 'true'))
|
||||
- script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
# Note: this file is not currently used, but when template support comes to VSTS it
|
||||
# will be referenced from the other scripts..
|
||||
|
||||
# Current docs for the syntax of this file are at:
|
||||
# https://github.com/Microsoft/vsts-agent/blob/master/docs/preview/yamlgettingstarted.md
|
||||
|
||||
parameters:
|
||||
OPENSSL: 1.1.0g
|
||||
OPENSSL_DIR: "$(build.sourcesDirectory)/multissl/openssl/$(OPENSSL)"
|
||||
|
||||
steps:
|
||||
- script: echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial main" > /etc/apt/sources.list.d/python.list && sudo apt-get update
|
||||
displayName: 'Update apt-get lists'
|
||||
|
||||
- script: echo ##vso[task.prependpath]$(OPENSSL_DIR)
|
||||
displayName: 'Add $(OPENSSL_DIR) to PATH'
|
||||
- script: >
|
||||
sudo apt-get -yq install
|
||||
build-essential
|
||||
zlib1g-dev
|
||||
libbz2-dev
|
||||
liblzma-dev
|
||||
libncurses5-dev
|
||||
libreadline6-dev
|
||||
libsqlite3-dev
|
||||
libssl-dev
|
||||
libgdbm-dev
|
||||
tk-dev
|
||||
lzma
|
||||
lzma-dev
|
||||
liblzma-dev
|
||||
libffi-dev
|
||||
uuid-dev
|
||||
xvfb
|
||||
displayName: 'Install dependencies'
|
||||
- script: python3 Tools/ssl/multissltests.py --steps=library --base-directory $(build.sourcesDirectory)/multissl --openssl $(OPENSSL) --system Linux
|
||||
displayName: 'python multissltests.py'
|
|
@ -4,7 +4,7 @@
|
|||
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
|
||||
|
||||
queue:
|
||||
name: Hosted Linux Preview
|
||||
name: 'Hosted Ubuntu 1604'
|
||||
|
||||
trigger:
|
||||
branches:
|
||||
|
@ -40,34 +40,11 @@ steps:
|
|||
|
||||
#- template: linux-deps.yml
|
||||
|
||||
# See https://github.com/Microsoft/vsts-agent/blob/master/docs/preview/yamlgettingstarted-templates.md
|
||||
# For now, we copy/paste the steps
|
||||
- script: echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial main" > /etc/apt/sources.list.d/python.list && sudo apt-get update
|
||||
displayName: 'Update apt-get lists'
|
||||
condition: and(succeeded(), ne(variables['DocOnly'], 'true'))
|
||||
|
||||
- script: echo ##vso[task.prependpath]$(OPENSSL_DIR)
|
||||
displayName: 'Add $(OPENSSL_DIR) to PATH'
|
||||
condition: and(succeeded(), ne(variables['DocOnly'], 'true'))
|
||||
|
||||
- script: >
|
||||
sudo apt-get -yq install
|
||||
build-essential
|
||||
zlib1g-dev
|
||||
libbz2-dev
|
||||
liblzma-dev
|
||||
libncurses5-dev
|
||||
libreadline6-dev
|
||||
libsqlite3-dev
|
||||
libssl-dev
|
||||
libgdbm-dev
|
||||
tk-dev
|
||||
lzma
|
||||
lzma-dev
|
||||
liblzma-dev
|
||||
libffi-dev
|
||||
uuid-dev
|
||||
xvfb
|
||||
- script: ./.vsts/install_deps.sh
|
||||
displayName: 'Install dependencies'
|
||||
condition: and(succeeded(), ne(variables['DocOnly'], 'true'))
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
|
||||
|
||||
queue:
|
||||
name: Hosted macOS Preview
|
||||
name: Hosted macOS
|
||||
|
||||
trigger:
|
||||
branches:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
|
||||
|
||||
queue:
|
||||
name: Hosted macOS Preview
|
||||
name: Hosted macOS
|
||||
|
||||
trigger:
|
||||
branches:
|
||||
|
|
18
README.rst
18
README.rst
|
@ -9,17 +9,17 @@ This is Python version 3.8.0 alpha 0
|
|||
:alt: CPython build status on Appveyor
|
||||
:target: https://ci.appveyor.com/project/python/cpython/branch/master
|
||||
|
||||
.. image:: https://python.visualstudio.com/cpython/_apis/build/status/Linux-Buildbot?branchName=master&label=Linux
|
||||
:alt: CPython build status on VSTS (Linux)
|
||||
:target: https://python.visualstudio.com/cpython/_build/latest?definitionId=6&branchName=master
|
||||
.. image:: https://dev.azure.com/python/cpython/_apis/build/status/Linux-Buildbot?branchName=master&label=Linux
|
||||
:alt: CPython build status on Azure DevOps (Linux)
|
||||
:target: https://dev.azure.com/python/cpython/_build/latest?definitionId=6&branchName=master
|
||||
|
||||
.. image:: https://python.visualstudio.com/cpython/_apis/build/status/macOS-Buildbot?branchName=master&label=macOS
|
||||
:alt: CPython build status on VSTS (macOS)
|
||||
:target: https://python.visualstudio.com/cpython/_build/latest?definitionId=5&branchName=master
|
||||
.. image:: https://dev.azure.com/python/cpython/_apis/build/status/macOS-Buildbot?branchName=master&label=macOS
|
||||
:alt: CPython build status on Azure DevOps (macOS)
|
||||
:target: https://dev.azure.com/python/cpython/_build/latest?definitionId=5&branchName=master
|
||||
|
||||
.. image:: https://python.visualstudio.com/cpython/_apis/build/status/Windows-Buildbot?branchName=master&label=Windows
|
||||
:alt: CPython build status on VSTS (Windows)
|
||||
:target: https://python.visualstudio.com/cpython/_build/latest?definitionId=4&branchName=master
|
||||
.. image:: https://dev.azure.com/python/cpython/_apis/build/status/Windows-Buildbot?branchName=master&label=Windows
|
||||
:alt: CPython build status on Azure DevOps (Windows)
|
||||
:target: https://dev.azure.com/python/cpython/_build/latest?definitionId=4&branchName=master
|
||||
|
||||
.. image:: https://codecov.io/gh/python/cpython/branch/master/graph/badge.svg
|
||||
:alt: CPython code coverage on Codecov
|
||||
|
|
Loading…
Reference in New Issue