Skip to content

Commit 7e63657

Browse files
bavneetsingh16Bavneet Singh
authored andcommitted
fix testcases for nodepool image issues (#5)
1 parent 33bd1c8 commit 7e63657

3 files changed

Lines changed: 4 additions & 16 deletions

File tree

testing/pipeline/k8s-custom-pipelines.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ stages:
5353
path: ./test/extensions/public/Flux.Tests.ps1
5454
- job: BuildPublishExtension
5555
pool:
56-
vmImage: 'ubuntu-20.04'
56+
vmImage: 'ubuntu-latest'
5757
displayName: "Build and Publish the Extension Artifact"
5858
variables:
5959
CLI_REPO_PATH: $(Agent.BuildDirectory)/s
@@ -103,18 +103,6 @@ stages:
103103
104104
azdev verify license
105105
106-
- job: StaticAnalysis
107-
displayName: "Static Analysis"
108-
pool:
109-
vmImage: 'ubuntu-20.04'
110-
steps:
111-
- task: UsePythonVersion@0
112-
displayName: 'Use Python 3.6'
113-
inputs:
114-
versionSpec: 3.6
115-
- bash: pip install wheel==0.30.0 pylint==1.9.5 flake8==3.5.0 requests
116-
displayName: 'Install wheel, pylint, flake8, requests'
117-
118106
- job: IndexVerify
119107
displayName: "Verify Extensions Index"
120108
pool:

testing/pipeline/templates/build-extension.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ steps:
2727
condition: and(succeeded(), eq(variables['IS_PRIVATE_BRANCH'], 'False'))
2828
displayName: "Copy Files, Set Variables for k8s-extension"
2929
- task: UsePythonVersion@0
30-
displayName: 'Use Python 3.6'
30+
displayName: 'Use Python 3.10'
3131
inputs:
32-
versionSpec: 3.6
32+
versionSpec: 3.10
3333
- bash: |
3434
set -ev
3535
echo "Building extension ${EXTENSION_NAME}..."

testing/pipeline/templates/run-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ parameters:
55
jobs:
66
- job: ${{ parameters.jobName}}
77
pool:
8-
vmImage: 'ubuntu-20.04'
8+
vmImage: 'ubuntu-latest'
99
variables:
1010
${{ if eq(variables['IS_PRIVATE_BRANCH'], 'False') }}:
1111
EXTENSION_NAME: "k8s-extension"

0 commit comments

Comments
 (0)