Skip to content

Commit

Permalink
Merge pull request #242 from CybercentreCanada/feature/updated_python…
Browse files Browse the repository at this point in the history
…_debian

Use python 3.9
  • Loading branch information
cccs-sgaron authored Jul 28, 2021
2 parents 47fd532 + 404dba9 commit 5910bb3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
15 changes: 4 additions & 11 deletions pipelines/azure-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ trigger:
pr: none

pool:
vmImage: "ubuntu-18.04"
vmImage: "ubuntu-20.04"

resources:
containers:
Expand Down Expand Up @@ -37,7 +37,7 @@ stages:
steps:
- task: UsePythonVersion@0
displayName: Set python version
inputs: { versionSpec: 3.8 }
inputs: { versionSpec: 3.9 }
- script: |
export VERSION=${BUILD_SOURCEBRANCH#"refs/tags/v"}
export COMMIT=`git rev-parse --verify ${BUILD_SOURCEBRANCH}`
Expand All @@ -59,12 +59,6 @@ stages:
- stage: test
jobs:
- job: run_test
strategy:
matrix:
python3_7:
python.version: "3.7"
Python3_8:
python.version: "3.8"
timeoutInMinutes: 10
services:
elasticsearch: elasticsearch
Expand All @@ -74,8 +68,7 @@ stages:
- checkout: none
- task: UsePythonVersion@0
displayName: Set python version
inputs:
versionSpec: "$(python.version)"
inputs: { versionSpec: 3.9 }
- download: current
artifact: dist
- download: current
Expand Down Expand Up @@ -120,7 +113,7 @@ stages:
steps:
- task: UsePythonVersion@0
displayName: Set python version
inputs: { versionSpec: 3.8 }
inputs: { versionSpec: 3.9 }
- download: current
artifact: dist
- script: |
Expand Down
10 changes: 5 additions & 5 deletions pipelines/azure-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ trigger: ["*"]
pr: ["*"]

pool:
vmImage: "ubuntu-18.04"
vmImage: "ubuntu-20.04"

resources:
containers:
Expand Down Expand Up @@ -41,10 +41,10 @@ jobs:
- job: run_test
strategy:
matrix:
python3_7:
python.version: "3.7"
Python3_8:
python.version: "3.8"
python3_9:
python.version: "3.9"
# Python3_10:
# python.version: "3.10"

timeoutInMinutes: 15
services:
Expand Down

0 comments on commit 5910bb3

Please sign in to comment.