Skip to content

Commit

Permalink
CASMCMS-8923 - better cleanup on unexpected exit.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlaine-hpe committed Mar 2, 2024
1 parent 2497f21 commit a1d4f2c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- CASMCMS-8818 - ssh key injection into jobs.
- CASMCMS-8897 - changes for aarch64 remote build.
- CASMCMS-8895 - allow multiple concurrent remote customize jobs.
- CASMCMS-8923 - better cleanup on unexpected exit.

## [2.12.0] - 2024-02-22
### Dependencies
Expand Down
3 changes: 3 additions & 0 deletions scripts/remote_customize_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ set +x
echo off
echo "Waiting for signal file"

# set up trap for termination signals
trap "echo TERM; exit 1" SIGTERM SIGINT

# Wait for the user to signal they are done
until [ -f "$USER_SIGNAL_FILE_COMPLETE" ] || [ -f "$USER_SIGNAL_FILE_FAILED" ]
do
Expand Down
4 changes: 2 additions & 2 deletions update_external_versions.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: ims-python-helper
source: python
major: 2
minor: 15
major: 3
minor: 0

0 comments on commit a1d4f2c

Please sign in to comment.