Skip to content

Commit

Permalink
Sort files when capturing user_dir contents for populateValuesYAML fu…
Browse files Browse the repository at this point in the history
…nction (#716)
  • Loading branch information
gsmith-sas authored Feb 12, 2025
1 parent 970ce57 commit aba0afd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

## unreleased

* **Overall**
* [CHANGE] A minor tweak to an internal function, v4m_replace, was made to improve its handling of
some special characters.

* **Metrics**
* [CHANGE] Removed temporary fix (added w/1.2.27) replacing a small number of Grafana dashboards
inherited from the Kube-Prometheus Stack Helm chart that did not work with Grafana 11.x due to Angular
Expand All @@ -24,7 +20,11 @@ deployment of the (generally unused) `Node Exporter/MacOS` dashboard within Graf
* [UPGRADE] Prometheus Operator has been upgraded from 0.76.1 to 0.79.2.
* [UPGRADE] Prometheus Pushgateway has been upgraded from 1.9.0 to 1.11.0.


* **Overall**
* [CHANGE] A minor tweak to an internal function, `v4m_replace`, was made to improve its handling of
some special characters.
* [CHANGE] A minor tweak to an internal function, `populateValuesYAML`, was made to sort the list of
files in the USER_DIR directory captured as part of deploying the V4M Helm Chart.


## Version 1.2.33 (14JAN2025)
Expand Down
2 changes: 1 addition & 1 deletion bin/version-include.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function populateValuesYAML() {
echo '"user_dir":' >> "$v4mValuesYAML"
echo " path: $USER_DIR" >> "$v4mValuesYAML"
echo ' files: |' >> "$v4mValuesYAML"
l=($(find "$USER_DIR" -type f))
l=($(find "$USER_DIR" -type f|sort))
for (( i=0; i<${#l[@]}; i++ )); do
fullPath=${l[i]}
path=${fullPath#"$USER_DIR/"}
Expand Down

0 comments on commit aba0afd

Please sign in to comment.