Skip to content

Commit 08bd053

Browse files
committed
Merge develop into stable for v2024.07.16 release
2 parents 1f055fc + a870315 commit 08bd053

9 files changed

Lines changed: 32 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
4848
- name: Upload Exit Status
4949
if: always()
50-
uses: actions/upload-artifact@v3
50+
uses: actions/upload-artifact@v4
5151
with:
5252
name: exitstatus
5353
path: exitstatus
@@ -84,7 +84,7 @@ jobs:
8484
8585
- name: Upload Exit Status
8686
if: always()
87-
uses: actions/upload-artifact@v3
87+
uses: actions/upload-artifact@v4
8888
with:
8989
name: exitstatus
9090
path: exitstatus
@@ -109,7 +109,7 @@ jobs:
109109
110110
- name: Upload Exit Status
111111
if: always()
112-
uses: actions/upload-artifact@v3
112+
uses: actions/upload-artifact@v4
113113
with:
114114
name: exitstatus
115115
path: exitstatus
@@ -525,14 +525,14 @@ jobs:
525525

526526
- name: Download Exit Status Files
527527
if: always()
528-
uses: actions/download-artifact@v3
528+
uses: actions/download-artifact@v4
529529
with:
530530
name: exitstatus
531531
path: exitstatus
532532

533533
- name: Delete Exit Status Artifacts
534534
if: always()
535-
uses: geekyeggo/delete-artifact@v4
535+
uses: geekyeggo/delete-artifact@v5
536536
with:
537537
name: exitstatus
538538
failOnError: false

.github/workflows/templates/ci-tail.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111

1212
- name: Download Exit Status Files
1313
if: always()
14-
uses: actions/download-artifact@v3
14+
uses: actions/download-artifact@v4
1515
with:
1616
name: exitstatus
1717
path: exitstatus
1818

1919
- name: Delete Exit Status Artifacts
2020
if: always()
21-
uses: geekyeggo/delete-artifact@v4
21+
uses: geekyeggo/delete-artifact@v5
2222
with:
2323
name: exitstatus
2424
failOnError: false

.github/workflows/templates/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
4848
- name: Upload Exit Status
4949
if: always()
50-
uses: actions/upload-artifact@v3
50+
uses: actions/upload-artifact@v4
5151
with:
5252
name: exitstatus
5353
path: exitstatus
@@ -84,7 +84,7 @@ jobs:
8484
8585
- name: Upload Exit Status
8686
if: always()
87-
uses: actions/upload-artifact@v3
87+
uses: actions/upload-artifact@v4
8888
with:
8989
name: exitstatus
9090
path: exitstatus
@@ -109,7 +109,7 @@ jobs:
109109
110110
- name: Upload Exit Status
111111
if: always()
112-
uses: actions/upload-artifact@v3
112+
uses: actions/upload-artifact@v4
113113
with:
114114
name: exitstatus
115115
path: exitstatus

.github/workflows/test-linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
instance: ${{ fromJSON(inputs.instances) }}
3636

3737
steps:
38-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
3939

4040
- name: Setup Ruby
4141
uses: ruby/setup-ruby@v1
@@ -56,6 +56,7 @@ jobs:
5656
5757
- name: Create Test Instance
5858
run: |
59+
bundle exec kitchen create ${{ matrix.instance }}-${{ inputs.distro-slug }} || \
5960
(sleep 10 && bundle exec kitchen create ${{ matrix.instance }}-${{ inputs.distro-slug }})
6061
sleep 2
6162

.github/workflows/test-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
instance: ${{ fromJSON(inputs.instances) }}
4343

4444
steps:
45-
- uses: actions/checkout@v3
45+
- uses: actions/checkout@v4
4646

4747
- name: Setup Ruby
4848
uses: ruby/setup-ruby@v1

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# v2024.07.16
2+
3+
## What's Changed
4+
5+
- Update bootstrap-salt.sh by @javatask in https://github.com/saltstack/salt-bootstrap/pull/2005
6+
- Updated GitHub actions to later v4 by @dmurphy18 in https://github.com/saltstack/salt-bootstrap/pull/2004
7+
- Don't sort lists and dicts, as order of items matters by @dmurphy18 in https://github.com/saltstack/salt-bootstrap/pull/2006
8+
9+
## New Contributors
10+
11+
- @javatask made their first contribution in https://github.com/saltstack/salt-bootstrap/pull/2005
12+
13+
**Full Changelog**: https://github.com/saltstack/salt-bootstrap/compare/v2024.07.12...v2024.07.16
14+
115
# v2024.07.12
216

317
## What's Changed

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ sum** of the downloaded ``bootstrap-salt.sh`` file.
3232

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

35+
- 2024.07.12: ``526f4a5383db308081a120e26988679238ca6add4bf7a82120cbe71d57ab826e``
3536
- 2024.04.03: ``450ba5cde4af8d6cb5c56c66791f87b918bcda70ccdfb10abf3cc294143c8073``
3637
- 2024.01.04: ``cebcbc67895e238d1cf0024922a7fe5c772b9aaba346490c8fa6193bb0d993d4``
3738
- 2023.11.16: ``3757ed82161113fed4c711fd7332e922265eeeb54e6e4f657a08ea82d57cc3a2``

bootstrap-salt.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ if ($help) {
110110
exit 0
111111
}
112112

113-
$__ScriptVersion = "2024.07.12"
113+
$__ScriptVersion = "2024.07.16"
114114
$ScriptName = $myInvocation.MyCommand.Name
115115

116116
# We'll check for the Version next, because it also has no requirements

bootstrap-salt.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#======================================================================================================================
2727
set -o nounset # Treat unset variables as an error
2828

29-
__ScriptVersion="2024.07.12"
29+
__ScriptVersion="2024.07.16"
3030
__ScriptName="bootstrap-salt.sh"
3131

3232
__ScriptFullName="$0"
@@ -1388,6 +1388,7 @@ __check_dpkg_architecture() {
13881388
;;
13891389
"arm64")
13901390
# Saltstack official repository has full arm64 support since 3006
1391+
error_msg=""
13911392
__REPO_ARCH="arm64"
13921393
__REPO_ARCH_DEB="deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg arch=$__REPO_ARCH]"
13931394
;;
@@ -2367,7 +2368,7 @@ __overwriteconfig() {
23672368
fi
23682369

23692370
# Convert json string to a yaml string and write it to config file. Output is dumped into tempfile.
2370-
"$good_python" -c "import json; import yaml; jsn=json.loads('$json'); yml=yaml.safe_dump(jsn, line_break='\\n', default_flow_style=False); config_file=open('$target', 'w'); config_file.write(yml); config_file.close();" 2>"$tempfile"
2371+
"$good_python" -c "import json; import yaml; jsn=json.loads('$json'); yml=yaml.safe_dump(jsn, line_break='\\n', default_flow_style=False, sort_keys=False); config_file=open('$target', 'w'); config_file.write(yml); config_file.close();" 2>"$tempfile"
23712372

23722373
# No python errors output to the tempfile
23732374
if [ ! -s "$tempfile" ]; then

0 commit comments

Comments
 (0)