Skip to content

Commit cc69d7f

Browse files
committed
Merge develop into stable for v2025.09.03 release
2 parents ea5430d + 5af35c4 commit cc69d7f

File tree

9 files changed

+150
-85
lines changed

9 files changed

+150
-85
lines changed

.github/workflows/test-windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ jobs:
5959
run: |
6060
# We need to get the version here and make it an environment variable
6161
# It is used to install via bootstrap and in the test
62-
# The version is in the instance name
62+
# The version is in the instance name:
63+
# ["stable-3006", "stable-3006-8", "stable-3007", "stable-3007-1", "latest"]
6364
$instance = "${{ matrix.instance }}"
6465
$version = $instance -split "-",2
6566
if ( $version.Count -gt 1 ) {

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
minimum_pre_commit_version: 1.15.2
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.5.0
5+
rev: v5.0.0
66
hooks:
77
- id: check-merge-conflict # Check for files that contain merge conflict strings.
88
- id: trailing-whitespace # Trims trailing whitespace.

AUTHORS.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Ashok Raja R ashokrajar [email protected]
3131
Beau Hargis beaucephus [email protected]
3232
Benjamin Drung bdrung [email protected]
3333
BlaineAtAffirmOnceMore BlaineAtAffirm
34-
Boris Feld Lothiraldan
34+
Boris Feld Lothiraldan [email protected]
3535
Brad Thurber bradthurber
3636
Brandon Clifford brandon099 [email protected]
3737
Bret Fisher BretFisher [email protected]
@@ -60,14 +60,16 @@ Denys Havrysh vutny [email protected]
6060
deployboy deployboy
6161
Diego Woitasen diegows [email protected]
6262
Dmitry Kuzmenko DmitryKuzmenko [email protected]
63+
Ed Silva edlitmus [email protected]
6364
EHJ-52n EHJ-52n [email protected]
6465
ek9 ek9
65-
Elias Probst eliasp
66+
Elias Probst eliasp [email protected]
6667
eliezerlp eliezerlp
6768
Emiel Kollof ekollof
6869
Eric Radman eradman [email protected]
6970
Erik Ankrom erikankrom
7071
Erik Johnson terminalmage [email protected]
72+
Erwin Dondorp erwindon [email protected]
7173
EYJ eyj
7274
Felippe Burk felippeb
7375
fizmat fizmat
@@ -170,7 +172,7 @@ Sam sticky-note [email protected]
170172
Sebastian Wendel sourceindex
171173
Sebastien Blaisot sblaisot
172174
Sergey Paramonov serge-p [email protected]
173-
Shane Lee twangboy slee@saltstack.com
175+
Shane Lee twangboy shane.lee@broadcom.com
174176
Shawn Butts shawnbutts
175177
Skyler Berg skylerberg [email protected]
176178
Stanislav B stanislavb

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
# v2025.09.03
2+
3+
## What's Changed
4+
5+
- fixes for Photon4/5 by @erwindon in https://github.com/saltstack/salt-bootstrap/pull/2080
6+
- Get versions correctly by @twangboy in https://github.com/saltstack/salt-bootstrap/pull/2081
7+
- Prep release by @twangboy in https://github.com/saltstack/salt-bootstrap/pull/2082
8+
- Add support for specifying a directory other than /tmp for installation execution by @edlitmus in https://github.com/saltstack/salt-bootstrap/pull/2068
9+
- Add another PR and a few more emails by @twangboy in https://github.com/saltstack/salt-bootstrap/pull/2083
10+
11+
## New Contributors
12+
13+
- @erwindon made their first contribution in https://github.com/saltstack/salt-bootstrap/pull/2080
14+
- @edlitmus made their first contribution in https://github.com/saltstack/salt-bootstrap/pull/2068
15+
16+
**Full Changelog**: https://github.com/saltstack/salt-bootstrap/compare/v2025.02.24...v2025.09.03
17+
18+
# v2025.09.03
19+
20+
## What's Changed
21+
22+
- Fixed installation on Photon 4 and Photon 5 by @erwindon in https://github.com/saltstack/salt-bootstrap/pull/2080
23+
- Properly handle 2 digit minor versions of Salt by @twangboy in https://github.com/saltstack/salt-bootstrap/pull/2081
24+
- Added an option to specify something other than `/tmp` for installation execution by @edlitmus in https://github.com/saltstack/salt-bootstrap/pull/2068
25+
126
# v2025.02.24
227

328
## What's Changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ sum** of the downloaded ``bootstrap-salt.sh`` file.
3737

3838
The SHA256 sum of the ``bootstrap-salt.sh`` file, per release, is:
3939

40+
- 2025.02.24: ``a0e3a58fc6358a7c6f708ee4910229e72fbdab7161819514b0696146a2edb62d``
4041
- 2024.12.12: ``7cc91adfa5a15ff57d203dc2b79608c773efc639d4e9bf03861198903e11becd``
4142
- 2024.12.09: ``44f9405a6d9622ad8fa7c93e83a52e01ca328f27e4e9dea4a52268c6a22dbe6d``
4243
- 2024.11.29: ``0ac87384dee051aceded69704485a5de0e4a308551a462b10c262111b57acff0``
@@ -198,6 +199,9 @@ To view the latest options and descriptions for ``salt-bootstrap``, use ``-h`` a
198199
-r Disable all repository configuration performed by this script. This
199200
option assumes all necessary repository configuration is already present
200201
on the system.
202+
-T If set this overrides the use of /tmp for script execution. This is
203+
to allow for systems in which noexec is applied to temp filesystem mounts
204+
for security reasons
201205
-U If set, fully upgrade the system prior to bootstrapping Salt
202206
-v Display script version
203207
-V Install Salt into virtualenv

bootstrap-salt.ps1

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ if ($help) {
108108
exit 0
109109
}
110110

111-
$__ScriptVersion = "2025.02.24"
111+
$__ScriptVersion = "2025.09.03"
112112
$ScriptName = $myInvocation.MyCommand.Name
113113

114114
# We'll check for the Version next, because it also has no requirements
@@ -207,25 +207,36 @@ function Get-AvailableVersions {
207207
Write-Verbose "- $_"
208208
}
209209

210-
# Get the latest version, should be the last in the list
211-
Write-Verbose "Getting latest available version"
212-
$latest = $available_versions | Select-Object -Last 1
213-
Write-Verbose "Latest available version: $latest"
214-
215210
# Create a versions table
216211
# This will have the latest version available, the latest version available
217212
# for each major version, and every version available. This makes the
218213
# version lookup logic easier. The contents of the versions table can be
219214
# found by running -Verbose
220215
Write-Verbose "Populating the versions table"
221-
$versions_table = [ordered]@{"latest"=$latest}
216+
$versions_table = [ordered]@{}
222217
$available_versions | ForEach-Object {
223-
$versions_table[$(Get-MajorVersion $_)] = $_
218+
$major_version = $(Get-MajorVersion $_)
219+
if ( $versions_table.Keys -contains $major_version ) {
220+
if ( [System.Version]$_ -gt [System.Version]$versions_table[$major_version] ) {
221+
$versions_table[$major_version] = $_
222+
}
223+
} else {
224+
$versions_table[$major_version] = $_
225+
}
226+
227+
if ( $versions_table -contains "latest" ) {
228+
if ( [System.Version]$_ -gt [System.Version]$versions_table["latest"] ) {
229+
$versions_table["latest"] = $_
230+
}
231+
} else {
232+
$versions_table["latest"] = $_
233+
}
234+
224235
$versions_table[$_.ToLower()] = $_.ToLower()
225236
}
226237

227238
Write-Verbose "Versions Table:"
228-
$versions_table | Sort-Object Name | Out-String | ForEach-Object {
239+
$versions_table.GetEnumerator() | Sort-Object Name | Out-String | ForEach-Object {
229240
Write-Verbose "$_"
230241
}
231242

0 commit comments

Comments
 (0)