summaryrefslogtreecommitdiffstats
path: root/.vsts
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2018-09-11 17:47:46 (GMT)
committerGitHub <noreply@github.com>2018-09-11 17:47:46 (GMT)
commitb7d613fc5636d5d8c5ec32d8004c095e20cc4d7d (patch)
tree5a79cee4e6b8e94fa7f8a9ec2f2e3eeedc7601f4 /.vsts
parent08bcf647d8a92e4bd47531588b284c6820b7a7ef (diff)
downloadcpython-b7d613fc5636d5d8c5ec32d8004c095e20cc4d7d.zip
cpython-b7d613fc5636d5d8c5ec32d8004c095e20cc4d7d.tar.gz
cpython-b7d613fc5636d5d8c5ec32d8004c095e20cc4d7d.tar.bz2
Update VSTS to Azure DevOps and simplify dependencies (GH-9168)
Diffstat (limited to '.vsts')
-rw-r--r--.vsts/docs.yml2
-rwxr-xr-x.vsts/install_deps.sh19
-rw-r--r--.vsts/linux-buildbot.yml26
-rw-r--r--.vsts/linux-coverage.yml27
-rw-r--r--.vsts/linux-deps.yml37
-rw-r--r--.vsts/linux-pr.yml27
-rw-r--r--.vsts/macos-buildbot.yml2
-rw-r--r--.vsts/macos-pr.yml2
8 files changed, 28 insertions, 114 deletions
diff --git a/.vsts/docs.yml b/.vsts/docs.yml
index 93a7282..0be07b3 100644
--- a/.vsts/docs.yml
+++ b/.vsts/docs.yml
@@ -4,7 +4,7 @@
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
queue:
- name: Hosted Linux Preview
+ name: 'Hosted Ubuntu 1604'
trigger:
branches:
diff --git a/.vsts/install_deps.sh b/.vsts/install_deps.sh
new file mode 100755
index 0000000..7b98cfd
--- /dev/null
+++ b/.vsts/install_deps.sh
@@ -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
diff --git a/.vsts/linux-buildbot.yml b/.vsts/linux-buildbot.yml
index fc2c8ca..5170400 100644
--- a/.vsts/linux-buildbot.yml
+++ b/.vsts/linux-buildbot.yml
@@ -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'
diff --git a/.vsts/linux-coverage.yml b/.vsts/linux-coverage.yml
index 1112555..cc03e42 100644
--- a/.vsts/linux-coverage.yml
+++ b/.vsts/linux-coverage.yml
@@ -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
diff --git a/.vsts/linux-deps.yml b/.vsts/linux-deps.yml
deleted file mode 100644
index 83b0b59..0000000
--- a/.vsts/linux-deps.yml
+++ /dev/null
@@ -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'
diff --git a/.vsts/linux-pr.yml b/.vsts/linux-pr.yml
index 145ebb3..6e4ac7c 100644
--- a/.vsts/linux-pr.yml
+++ b/.vsts/linux-pr.yml
@@ -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'))
diff --git a/.vsts/macos-buildbot.yml b/.vsts/macos-buildbot.yml
index d9b2297..f58ea16 100644
--- a/.vsts/macos-buildbot.yml
+++ b/.vsts/macos-buildbot.yml
@@ -4,7 +4,7 @@
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
queue:
- name: Hosted macOS Preview
+ name: Hosted macOS
trigger:
branches:
diff --git a/.vsts/macos-pr.yml b/.vsts/macos-pr.yml
index a3fd448..c56e66b 100644
--- a/.vsts/macos-pr.yml
+++ b/.vsts/macos-pr.yml
@@ -4,7 +4,7 @@
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
queue:
- name: Hosted macOS Preview
+ name: Hosted macOS
trigger:
branches: