diff --git a/testing/pipeline/k8s-custom-pipelines.yml b/testing/pipeline/k8s-custom-pipelines.yml index c9673e2af66..b5d6396dc2d 100644 --- a/testing/pipeline/k8s-custom-pipelines.yml +++ b/testing/pipeline/k8s-custom-pipelines.yml @@ -55,7 +55,7 @@ stages: path: ./test/extensions/public/Flux.Tests.ps1 - job: BuildPublishExtension pool: - vmImage: 'ubuntu-latest' + vmImage: 'ubuntu-20.04' displayName: "Build and Publish the Extension Artifact" variables: CLI_REPO_PATH: $(Agent.BuildDirectory)/s @@ -105,10 +105,11 @@ stages: azdev verify license + - job: StaticAnalysis displayName: "Static Analysis" pool: - vmImage: 'ubuntu-latest' + vmImage: 'ubuntu-20.04' steps: - task: UsePythonVersion@0 displayName: 'Use Python 3.6' @@ -209,4 +210,4 @@ stages: displayName: "CLI Linter on Modified Extension" env: ADO_PULL_REQUEST_LATEST_COMMIT: $(System.PullRequest.SourceCommitId) - ADO_PULL_REQUEST_TARGET_BRANCH: $(System.PullRequest.TargetBranch) \ No newline at end of file + ADO_PULL_REQUEST_TARGET_BRANCH: $(System.PullRequest.TargetBranch) diff --git a/testing/pipeline/templates/build-extension.yml b/testing/pipeline/templates/build-extension.yml index cf63db635a6..6ccd671f266 100644 --- a/testing/pipeline/templates/build-extension.yml +++ b/testing/pipeline/templates/build-extension.yml @@ -49,4 +49,4 @@ steps: azdev --version azdev setup -c ../azure-cli -r ${{ parameters.CLI_REPO_PATH }} -e $(EXTENSION_NAME) - azdev extension build $(EXTENSION_NAME) \ No newline at end of file + azdev extension build $(EXTENSION_NAME) diff --git a/testing/pipeline/templates/run-test.yml b/testing/pipeline/templates/run-test.yml index a9950f09063..c0897f3b83e 100644 --- a/testing/pipeline/templates/run-test.yml +++ b/testing/pipeline/templates/run-test.yml @@ -5,7 +5,7 @@ parameters: jobs: - job: ${{ parameters.jobName}} pool: - vmImage: 'ubuntu-latest' + vmImage: 'ubuntu-20.04' variables: ${{ if eq(variables['IS_PRIVATE_BRANCH'], 'False') }}: EXTENSION_NAME: "k8s-extension" @@ -101,4 +101,4 @@ jobs: inlineScript: | .\Cleanup.ps1 -CI workingDirectory: $(TEST_PATH) - condition: succeededOrFailed() \ No newline at end of file + condition: succeededOrFailed()