Skip to content

Commit ca0c75b

Browse files
authored
Merge pull request #319 from Azure/ipam-actions-fixes2
Added PIP Freeze Timestamp
2 parents c9fc485 + cdac5f9 commit ca0c75b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/azure-ipam-version.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
working-directory: engine
100100
run: |
101101
echo "# Dependencies for Azure IPAM v${{ steps.updateVersion.outputs.ipamVersion }}" > requirements.lock.txt
102+
echo "# Generated on $(date)" >> requirements.lock.txt
102103
pip freeze >> requirements.lock.txt
103104
104105
- name: Commit Updated Azure IPAM Code

tools/build.ps1

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,12 @@ try {
198198

199199
Write-Host "INFO: Running PIP install..." -ForegroundColor Green
200200

201-
# Remove package directory if it exists
202-
Remove-Item -Path TEMP:\packages -Recurse -Force -ErrorAction SilentlyContinue
203-
204201
# Create temporary directory for PIP packages
205202
$packageDir = New-Item -ItemType Directory -Path (Join-Path -Path $tempFolder -ChildPath "packages")
206203

207204
# Fetch Azure IPAM Engine modules
208205
$pipInstallErr = $(
209-
$pipInstall = pip install --upgrade -r requirements.lock.txt --target $packageDir.FullName --no-warn-script-location --progress-bar off
206+
$pipInstall = pip install -r requirements.lock.txt --target $packageDir.FullName --no-warn-script-location --progress-bar off
210207
) 2>&1
211208

212209
# Switch back to original dir

0 commit comments

Comments
 (0)