aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-11-18 01:42:05 +0100
committerGravatar Leon Sandøy <[email protected]>2018-11-18 01:42:05 +0100
commit42f40b1d8c57c6632fb19b7da1cc8fa1d9b532e9 (patch)
tree49975f5d14cf498e40a7f0903693da0953fa2bd7
parentBecause maybe. (diff)
Nope, all of that was stupid and this is the real thing. Let's install Setuptools manually.
-rw-r--r--azure-pipelines.yml15
1 files changed, 3 insertions, 12 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 2efe5cc6..5aa44d7d 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -45,17 +45,11 @@ jobs:
displayName: 'Build Containers'
dependsOn: 'test'
- pool:
- vmImage: 'Ubuntu 16.04'
-
variables:
PIPENV_CACHE_DIR: ".cache/pipenv"
PIP_CACHE_DIR: ".cache/pip"
steps:
- - script: sudo apt-get install build-essential curl docker libffi-dev libfreetype6-dev libxml2 libxml2-dev libxslt1-dev zlib1g zlib1g-dev
- displayName: 'Install base dependencies'
-
- task: Docker@1
displayName: 'Login: Docker Hub'
@@ -64,13 +58,10 @@ jobs:
dockerRegistryEndpoint: 'DockerHub'
command: 'login'
- - task: UsePythonVersion@0
- displayName: 'Set Python version'
- inputs:
- versionSpec: '3.7.x'
- addToPath: true
+ - script: sudo apt install python3-setuptools
+ displayName: 'Install setuptools'
- - script: sudo pip install salt-pepper
+ - script: sudo pip3 install salt-pepper
displayName: 'Install pepper'
- task: ShellScript@2