Skip to content

Commit

Permalink
Merge pull request #753 from intershop/release/develop/icm
Browse files Browse the repository at this point in the history
Release icm:patch icm-replication:patch
  • Loading branch information
khauser authored Jul 17, 2024
2 parents 78b2238 + ea617e5 commit 7bf3ea6
Show file tree
Hide file tree
Showing 10 changed files with 106 additions and 16 deletions.
2 changes: 1 addition & 1 deletion charts/icm-replication/.bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "2.2.0"
current_version = "2.2.1"

[[tool.bumpversion.files]]
filename = "Chart.yaml"
Expand Down
27 changes: 27 additions & 0 deletions charts/icm-replication/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,38 @@

<a name="icm-replication-2.2.1"></a>
## [icm-replication-2.2.1](https://github.com/intershop/helm-charts/compare/icm-replication-2.2.0...icm-replication-2.2.1)

> 2024-07-17
### Chore

* bump versions of icm:patch icm-replication:patch

### Fix

* **icm:** use logger instead of tee ([#716](https://github.com/intershop/helm-charts/issues/716))


<a name="icm-replication-2.2.0"></a>
## [icm-replication-2.2.0](https://github.com/intershop/helm-charts/compare/icm-replication-2.1.5...icm-replication-2.2.0)

> 2024-07-09
### Chore

* bump versions of icm-web:minor
* generated changelog+release notes for icm:patch icm-replication:patch
* bump versions of icm:patch icm-replication:patch


<a name="icm-replication-2.1.5"></a>
## [icm-replication-2.1.5](https://github.com/intershop/helm-charts/compare/icm-replication-2.1.4...icm-replication-2.1.5)

> 2024-07-08
### Chore

* generated changelog+release notes for icm:patch icm-replication:patch
* bump versions of icm:patch icm-replication:patch

### Fix
Expand Down
6 changes: 3 additions & 3 deletions charts/icm-replication/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ appVersion: "11.9.0"
description: Intershop Commerce Management - ICM Replication
# name and version must be in this exact order, otherwise bump2version won't work
name: icm-replication
version: 2.2.0
version: 2.2.1
annotations:
requestedMemoryQuota: 9Gi
requestedCpuQuotaInMinutes: 3000
dependencies:
- name: icm
version: 2.2.0
version: 2.2.1
repository: file://../icm
alias: icm-live
- name: icm
version: 2.2.0
version: 2.2.1
repository: file://../icm
alias: icm-edit
8 changes: 4 additions & 4 deletions charts/icm-replication/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

<a name="icm-replication-2.1.5"></a>
## [icm-replication-2.1.5](https://github.com/intershop/helm-charts/compare/icm-replication-2.1.4...icm-replication-2.1.5)
<a name="icm-replication-2.2.1"></a>
## [icm-replication-2.2.1](https://github.com/intershop/helm-charts/compare/icm-replication-2.2.0...icm-replication-2.2.1)

> 2024-07-08
> 2024-07-17
### Chore

* bump versions of icm:patch icm-replication:patch

### Fix

* **icm:** use domain to check system status ([#736](https://github.com/intershop/helm-charts/issues/736))
* **icm:** use logger instead of tee ([#716](https://github.com/intershop/helm-charts/issues/716))

20 changes: 19 additions & 1 deletion charts/icm-replication/values-iste_linux.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,26 @@ icm-live:
su ${SERVER_DIRECTORY_USER} <<'EOF'
set -x
export PATH=$ROOTPATH
sh /intershop/bin/testrunner.sh -s=${TESTSUITE} -o=${RESULT_DIRECTORY} 2>&1 | tee -a ${RESULT_DIRECTORY}/istestrunner_log.txt
logfile=${RESULT_DIRECTORY}/istestrunner_log.txt
sh /intershop/bin/testrunner.sh -s=${TESTSUITE} -o=${RESULT_DIRECTORY} 2>&1 | tee outfile $logfile &
main_pid=$!

prev_size=0
update_modified_date() {
while kill -0 $main_pid 2>/dev/null; do
sleep 10
curr_size=$(stat -c%s "$logfile")
if [ "$curr_size" -ne "$prev_size" ]; then
touch $logfile
sync
prev_size=$curr_size
fi
done
}
update_modified_date &
wait $main_pid
PROCESS_ERROR_LEVEL=$?

TEST_EXECUTION_RESULT_STATUS="failed"
if [ "${PROCESS_ERROR_LEVEL}" -eq 0 ];
then
Expand Down
2 changes: 1 addition & 1 deletion charts/icm/.bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "2.2.0"
current_version = "2.2.1"

[[tool.bumpversion.files]]
filename = "Chart.yaml"
Expand Down
27 changes: 27 additions & 0 deletions charts/icm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,38 @@

<a name="icm-2.2.1"></a>
## [icm-2.2.1](https://github.com/intershop/helm-charts/compare/icm-2.2.0...icm-2.2.1)

> 2024-07-17
### Chore

* bump versions of icm:patch icm-replication:patch

### Fix

* **icm:** use logger instead of tee ([#716](https://github.com/intershop/helm-charts/issues/716))


<a name="icm-2.2.0"></a>
## [icm-2.2.0](https://github.com/intershop/helm-charts/compare/icm-2.1.3...icm-2.2.0)

> 2024-07-09
### Chore

* bump versions of icm-web:minor
* generated changelog+release notes for icm:patch icm-replication:patch
* bump versions of icm:patch icm-replication:patch


<a name="icm-2.1.3"></a>
## [icm-2.1.3](https://github.com/intershop/helm-charts/compare/icm-2.1.2...icm-2.1.3)

> 2024-07-08
### Chore

* generated changelog+release notes for icm:patch icm-replication:patch
* bump versions of icm:patch icm-replication:patch

### Fix
Expand Down
2 changes: 1 addition & 1 deletion charts/icm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: "12.0.0"
description: Intershop Commerce Management - ICM
# name and version must be in this exact order, otherwise bump2version won't work
name: icm
version: 2.2.0
version: 2.2.1
# test related annotations
annotations:
requestedMemoryQuota: 5300Mi
Expand Down
8 changes: 4 additions & 4 deletions charts/icm/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

<a name="icm-2.1.3"></a>
## [icm-2.1.3](https://github.com/intershop/helm-charts/compare/icm-2.1.2...icm-2.1.3)
<a name="icm-2.2.1"></a>
## [icm-2.2.1](https://github.com/intershop/helm-charts/compare/icm-2.2.0...icm-2.2.1)

> 2024-07-08
> 2024-07-17
### Chore

* bump versions of icm:patch icm-replication:patch

### Fix

* **icm:** use domain to check system status ([#736](https://github.com/intershop/helm-charts/issues/736))
* **icm:** use logger instead of tee ([#716](https://github.com/intershop/helm-charts/issues/716))

20 changes: 19 additions & 1 deletion charts/icm/values-iste_linux.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,26 @@ testrunner:
su ${SERVER_DIRECTORY_USER} <<'EOF'
set -x
export PATH=$ROOTPATH
sh /intershop/bin/testrunner.sh -s=${TESTSUITE} -o=${RESULT_DIRECTORY} 2>&1 | tee -a ${RESULT_DIRECTORY}/istestrunner_log.txt
logfile=${RESULT_DIRECTORY}/istestrunner_log.txt
sh /intershop/bin/testrunner.sh -s=${TESTSUITE} -o=${RESULT_DIRECTORY} 2>&1 | tee outfile $logfile &
main_pid=$!

prev_size=0
update_modified_date() {
while kill -0 $main_pid 2>/dev/null; do
sleep 10
curr_size=$(stat -c%s "$logfile")
if [ "$curr_size" -ne "$prev_size" ]; then
touch $logfile
sync
prev_size=$curr_size
fi
done
}
update_modified_date &
wait $main_pid
PROCESS_ERROR_LEVEL=$?

TEST_EXECUTION_RESULT_STATUS="failed"
if [ "${PROCESS_ERROR_LEVEL}" -eq 0 ];
then
Expand Down

0 comments on commit 7bf3ea6

Please sign in to comment.