Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions eng/pack/templates/macos_64_env_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ parameters:
grpcBuild: ''

steps:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- task: UsePythonVersion@0
inputs:
versionSpec: ${{ parameters.pythonVersion }}
allowUnstable: true
addToPath: true
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- powershell: |
# Parse the Python minor version
$PY_VER = "$(pythonVersion)"
Expand Down
8 changes: 4 additions & 4 deletions eng/pack/templates/nix_arm64_env_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ parameters:
grpcBuild: ''

steps:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- task: UsePythonVersion@0
inputs:
versionSpec: ${{ parameters.pythonVersion }}
allowUnstable: true
addToPath: true
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- powershell: |
# Parse the Python minor version
$PY_VER = "$(pythonVersion)"
Expand Down
8 changes: 4 additions & 4 deletions eng/pack/templates/nix_env_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ parameters:
grpcBuild: ''

steps:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- task: UsePythonVersion@0
inputs:
versionSpec: ${{ parameters.pythonVersion }}
allowUnstable: true
addToPath: true
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- powershell: |
# Parse the Python minor version
$PY_VER = "$(pythonVersion)"
Expand Down
8 changes: 4 additions & 4 deletions eng/pack/templates/win_env_gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ parameters:
grpcBuild: ''

steps:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- task: UsePythonVersion@0
inputs:
versionSpec: ${{ parameters.pythonVersion }}
allowUnstable: true
architecture: ${{ parameters.architecture }}
addToPath: true
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- powershell: |
# Parse the Python minor version
$PY_VER = "$(pythonVersion)"
Expand Down
6 changes: 3 additions & 3 deletions eng/templates/jobs/ci-dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
Python314:
PYTHON_VERSION: '3.14'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: $(PYTHON_VERSION)
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: ${{ parameters.ArtifactFeed }}
- task: UsePythonVersion@0
inputs:
versionSpec: $(PYTHON_VERSION)
- powershell: |
$PY_VER = "$(PYTHON_VERSION)"
Write-Host "Python version: $PY_VER"
Expand Down
8 changes: 4 additions & 4 deletions eng/templates/jobs/ci-emulator-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
Python314:
PYTHON_VERSION: '3.14'
steps:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: ${{ parameters.ArtifactFeed }}
- bash: |
echo "Disk space before cleanup:"
df -h
Expand Down Expand Up @@ -68,10 +72,6 @@ jobs:
- task: UsePythonVersion@0
inputs:
versionSpec: $(PYTHON_VERSION)
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: ${{ parameters.ArtifactFeed }}
- task: UseDotNet@2
displayName: 'Install .NET 10'
inputs:
Expand Down
6 changes: 3 additions & 3 deletions eng/templates/jobs/ci-library-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
PYTHON_VERSION: '3.13'

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: $(PYTHON_VERSION)
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: ${{ parameters.ArtifactFeed }}
- task: UsePythonVersion@0
inputs:
versionSpec: $(PYTHON_VERSION)
- task: UseDotNet@2
displayName: 'Install .NET 10'
inputs:
Expand Down
8 changes: 4 additions & 4 deletions eng/templates/jobs/ci-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
Python314:
PYTHON_VERSION: '3.14'
steps:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: ${{ parameters.ArtifactFeed }}
- bash: |
echo "Disk space before cleanup:"
df -h
Expand Down Expand Up @@ -71,10 +75,6 @@ jobs:
- task: UsePythonVersion@0
inputs:
versionSpec: $(PYTHON_VERSION)
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: ${{ parameters.ArtifactFeed }}
- task: UseDotNet@2
displayName: 'Install .NET 10'
inputs:
Expand Down
6 changes: 3 additions & 3 deletions eng/templates/official/jobs/build-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
artifactName: "${{ parameters.ARTIFACT_NAME }}"

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "3.13"
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'public/PythonWorker_PublicPackages'
- task: UsePythonVersion@0
inputs:
versionSpec: "3.13"
- bash: |
python --version
displayName: 'Check python version'
Expand Down
8 changes: 4 additions & 4 deletions eng/templates/official/jobs/ci-core-tools-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
os: linux

steps:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- task: UsePythonVersion@0
displayName: 'Install Python'
inputs:
versionSpec: "3.10"
addToPath: true
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- task: UseDotNet@2
displayName: 'Install DotNet 3'
inputs:
Expand Down
6 changes: 3 additions & 3 deletions eng/templates/official/jobs/ci-custom-image-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
os: linux

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: $(CUSTOM_PYTHON_VERSION)
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- task: UsePythonVersion@0
inputs:
versionSpec: $(CUSTOM_PYTHON_VERSION)
- bash: |
chmod +x eng/scripts/install-dependencies.sh

Expand Down
6 changes: 3 additions & 3 deletions eng/templates/official/jobs/ci-docker-dedicated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:
EVENTGRID_CONNECTION: $(LinuxEventGridConnectionKeyString312)

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: $(PYTHON_VERSION)
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- task: UsePythonVersion@0
inputs:
versionSpec: $(PYTHON_VERSION)
- bash: |
chmod +x eng/scripts/install-dependencies.sh
Expand Down
8 changes: 4 additions & 4 deletions eng/templates/official/jobs/ci-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
EVENTGRID_URI: $(LinuxEventGridTopicUriString38)
EVENTGRID_CONNECTION: $(LinuxEventGridConnectionKeyString38)
steps:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- bash: |
echo "Disk space before cleanup:"
df -h
Expand Down Expand Up @@ -80,10 +84,6 @@ jobs:
- task: UsePythonVersion@0
inputs:
versionSpec: $(PYTHON_VERSION)
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- task: UseDotNet@2
displayName: 'Install .NET 10'
inputs:
Expand Down
8 changes: 4 additions & 4 deletions eng/templates/official/jobs/ci-fc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
Python314:
PYTHON_VERSION: '3.14'
steps:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- bash: |
echo "Disk space before cleanup:"
df -h
Expand All @@ -44,10 +48,6 @@ jobs:
- task: UsePythonVersion@0
inputs:
versionSpec: $(PYTHON_VERSION)
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'

- bash: |
# Start Azurite storage emulator in the background
Expand Down
10 changes: 5 additions & 5 deletions eng/templates/official/release/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

pool:
name: 1es-pool-azfunc
image: 1es-ubuntu-22.04
image: 1es-ubuntu-24.04
os: linux

templateContext:
Expand All @@ -45,6 +45,10 @@ jobs:
artifactName: ${{ parameters.artifactName }}

steps:
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- ${{ if ne(parameters.libraryVersion, '') }}:
- checkout: none
- bash: |
Expand All @@ -58,10 +62,6 @@ jobs:
- bash: |
python --version
displayName: 'Check python version'
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: 'internal/PythonWorker_Internal_PublicPackages'
- bash: |
python -m pip install -U pip
python -m pip install build
Expand Down
2 changes: 1 addition & 1 deletion eng/templates/official/release/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
displayName: 'Create Release Branch'
pool:
name: 1es-pool-azfunc
image: 1es-ubuntu-22.04
image: 1es-ubuntu-24.04
os: linux
steps:
- powershell: |
Expand Down
4 changes: 2 additions & 2 deletions eng/templates/official/release/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ jobs:

pool:
name: 1es-pool-azfunc
image: 1es-ubuntu-24.04-min
image: 1es-ubuntu-24.04
os: linux

steps:
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:

pool:
name: 1es-pool-azfunc
image: 1es-ubuntu-22.04
image: 1es-ubuntu-24.04
os: linux

steps:
Expand Down
6 changes: 3 additions & 3 deletions eng/templates/shared/build-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ parameters:
ArtifactFeed: ''

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: ${{ parameters.PYTHON_VERSION }}
- task: PipAuthenticate@1
displayName: 'Pip Authenticate'
inputs:
artifactFeeds: ${{ parameters.ArtifactFeed }}
- task: UsePythonVersion@0
inputs:
versionSpec: ${{ parameters.PYTHON_VERSION }}
- bash: |
python --version
displayName: 'Check python version'
Expand Down
Loading