From 1955baebcc94960f8cb207f5eeb71fbe25f30fc0 Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Wed, 26 Feb 2025 11:44:03 -0600 Subject: [PATCH] nicer formatting --- eng/ci/public-build.yml | 6 +++--- eng/templates/jobs/build.yml | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/eng/ci/public-build.yml b/eng/ci/public-build.yml index 1435a373..470a94f9 100644 --- a/eng/ci/public-build.yml +++ b/eng/ci/public-build.yml @@ -52,6 +52,8 @@ extends: - stage: Build jobs: - template: /eng/templates/jobs/build.yml@self + # Skip the build stage for SDK and Extensions release branches. This stage will fail because pyproject.toml contains the updated (and unreleased) library version + condition: and(eq(variables.isSdkRelease, false), eq(variables.isExtensionsRelease, false), eq(variables['USETESTPYTHONSDK'], false), eq(variables['USETESTPYTHONEXTENSIONS'], false)) - stage: RunUnitTests dependsOn: Build jobs: @@ -61,6 +63,4 @@ extends: jobs: - template: /eng/templates/jobs/ci-emulator-tests.yml@self parameters: - PoolName: 1es-pool-azfunc-public - # Don't run emulator tests as part of public build for releases. Emulator tests run on internal pipeline to pick up artifacts - condition: and(eq(variables.isSdkRelease, false), eq(variables.isExtensionsRelease, false), eq(variables['USETESTPYTHONSDK'], false), eq(variables['USETESTPYTHONEXTENSIONS'], false)) \ No newline at end of file + PoolName: 1es-pool-azfunc-public \ No newline at end of file diff --git a/eng/templates/jobs/build.yml b/eng/templates/jobs/build.yml index 2bacb12d..c5b989c7 100644 --- a/eng/templates/jobs/build.yml +++ b/eng/templates/jobs/build.yml @@ -1,8 +1,6 @@ jobs: - job: "Build" displayName: 'Build python worker' - # Skip the build stage for SDK and Extensions release branches. This stage will fail because pyproject.toml contains the updated (and unreleased) library version - condition: and(eq(variables.isSdkRelease, false), eq(variables.isExtensionsRelease, false), eq(variables['USETESTPYTHONSDK'], false), eq(variables['USETESTPYTHONEXTENSIONS'], false)) pool: name: 1es-pool-azfunc-public