Skip to content

Commit b7d5e05

Browse files
authored
v201224 release (#89)
* [+] bump Python to v3.13.1 * [+] bump etcd to v3.5.16 * [+] bump Patroni to v4.0.4 * [+] bump vip-manager to v3.0.0 * [+] bump PostgreSQL to v17.2 * [*] add Ignore error action
1 parent 80e86cd commit b7d5e05

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/setup-python@v5
1414
with:
15-
python-version: '3.12.5'
15+
python-version: '3.13.1'
1616

1717
- name: Checkout code
1818
uses: actions/checkout@v4

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/setup-python@v5
1414
with:
15-
python-version: '3.12.5'
15+
python-version: '3.13.1'
1616

1717
- name: Check out code
1818
uses: actions/checkout@v4

env.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
$MD = "PES"
22
$VCREDIST_REF = "https://aka.ms/vs/17/release/vc_redist.x64.exe"
3-
$ETCD_REF = "https://github.com/etcd-io/etcd/releases/download/v3.5.16/etcd-v3.5.16-windows-amd64.zip"
4-
$PATRONI_REF = "https://github.com/patroni/patroni/archive/refs/tags/v4.0.2.zip"
3+
$ETCD_REF = "https://github.com/etcd-io/etcd/releases/download/v3.5.17/etcd-v3.5.17-windows-amd64.zip"
4+
$PATRONI_REF = "https://github.com/patroni/patroni/archive/refs/tags/v4.0.4.zip"
55
$MICRO_REF = "https://github.com/zyedidia/micro/releases/download/v2.0.14/micro-2.0.14-win64.zip"
66
$WINSW_REF = "https://github.com/winsw/winsw/releases/download/v2.12.0/WinSW.NET461.exe"
7-
$VIP_REF = "https://github.com/cybertec-postgresql/vip-manager/releases/download/v2.6.0/vip-manager_2.6.0_Windows_x86_64.zip"
8-
$PGSQL_REF = "https://get.enterprisedb.com/postgresql/postgresql-16.4-1-windows-x64-binaries.zip"
9-
$PYTHON_REF = "https://www.python.org/ftp/python/3.12.5/python-3.12.5-amd64.exe"
7+
$VIP_REF = "https://github.com/cybertec-postgresql/vip-manager/releases/download/v3.0.0/vip-manager_3.0.0_Windows_x86_64.zip"
8+
$PGSQL_REF = "https://get.enterprisedb.com/postgresql/postgresql-17.2-1-windows-x64-binaries.zip"
9+
$PYTHON_REF = "https://www.python.org/ftp/python/3.13.1/python-3.13.1-amd64.exe"
1010
# one should change python version in github action workflows when changed here
1111

1212
$SEVENZIP = "C:\Program Files\7-Zip\7z.exe"

make.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function Extract-ZipFile {
1515
} else {
1616
Expand-Archive -Path "$zipFilePath" -DestinationPath "$destinationPath"
1717
}
18-
Remove-Item -Force "$zipFilePath"
18+
Remove-Item -Force "$zipFilePath" -ErrorAction Ignore
1919
}
2020

2121
function Compress-ToZipFile {
@@ -68,7 +68,7 @@ function Get-VIPManager {
6868
Invoke-WebRequest -Uri $VIP_REF -OutFile "$env:TEMP\vip.zip"
6969
Extract-ZipFile "$env:TEMP\vip.zip" "$MD"
7070
Rename-Item "$MD\vip-manager*" "vip-manager"
71-
Remove-Item "$MD\vip-manager\*.yml" -ErrorAction SilentlyContinue
71+
Remove-Item "$MD\vip-manager\*.yml" -ErrorAction Ignore
7272
Copy-Item "src\vip.yaml" "$MD\vip-manager"
7373
Write-Host "`n--- VIP-MANAGER downloaded ---" -ForegroundColor green
7474
}
@@ -77,7 +77,7 @@ function Get-PostgreSQL {
7777
Write-Host "`n--- Download POSTGRESQL ---" -ForegroundColor blue
7878
Invoke-WebRequest -Uri $PGSQL_REF -OutFile "$env:TEMP\pgsql.zip"
7979
Extract-ZipFile "$env:TEMP\pgsql.zip" "$MD"
80-
Remove-Item -Recurse -Force "$MD\pgsql\pgAdmin 4", "$MD\pgsql\symbols"
80+
Remove-Item -Recurse -Force "$MD\pgsql\pgAdmin 4", "$MD\pgsql\symbols" -ErrorAction Ignore
8181
Write-Host "`n--- POSTGRESQL downloaded ---" -ForegroundColor green
8282
}
8383

@@ -86,7 +86,7 @@ function Get-Patroni {
8686
Invoke-WebRequest -Uri $PATRONI_REF -OutFile "$env:TEMP\patroni.zip"
8787
Extract-ZipFile "$env:TEMP\patroni.zip" "$MD"
8888
Rename-Item "$MD\patroni-*" "patroni"
89-
Remove-Item "$MD\patroni\postgres?.yml"
89+
Remove-Item "$MD\patroni\postgres?.yml" -ErrorAction Ignore
9090
Copy-Item "src\patroni.yaml" "$MD\patroni"
9191
Write-Host "`n--- PATRONI downloaded ---" -ForegroundColor green
9292
}

0 commit comments

Comments
 (0)