Skip to content

Conversation

tromai
Copy link
Contributor

@tromai tromai commented Jun 25, 2024

This Pull Request improves token file operations in run_macaron.sh.

  • Moved the token file creation to the end of run_macaron.sh so that if the script exits early, the token file is not persisted within the file system - f88f00a
  • Made sure that docker run if returns a non-zero status code doesn't trigger early exit (enable by set -e). This enables us to perform the cleaning up before exiting run_macaron.sh. Furthermore, the return status code of run_macaron.sh follows that of docker run - af4173e
  • Added integration test cases to check for token file persistence - 62b8098
  • Added the token file to gitignore - c2b83a5

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 25, 2024
@tromai tromai changed the title chore: move creating of token file to the end of run_macaron.sh chore: fix issues in run_macaron.sh Jun 25, 2024
@tromai tromai self-assigned this Jun 25, 2024
@tromai tromai changed the title chore: fix issues in run_macaron.sh chore: improve run_macaron.sh in handling token file Jun 26, 2024
@tromai tromai changed the title chore: improve run_macaron.sh in handling token file chore: improve handling token file in run_macaron.sh Jun 26, 2024
@tromai tromai changed the title chore: improve handling token file in run_macaron.sh chore: improve token support in run_macaron.sh Jun 26, 2024
@tromai tromai force-pushed the tromai/update-macaron-sh-script branch from 8fa9ee4 to c2b83a5 Compare June 26, 2024 01:19
@tromai tromai marked this pull request as ready for review June 26, 2024 01:25
@tromai tromai requested a review from behnazh-w as a code owner June 26, 2024 01:25
Trong Nhan Mai added 9 commits July 3, 2024 14:05
Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
…atus code of run_macaron.sh follows that of docker run

Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
…s been set already

Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
@tromai tromai force-pushed the tromai/update-macaron-sh-script branch from 3f3318c to ee0d533 Compare July 3, 2024 04:08
@tromai
Copy link
Contributor Author

tromai commented Jul 3, 2024

Rebased to update the changes from #783

@tromai tromai merged commit be50c33 into staging Jul 3, 2024
@tromai tromai deleted the tromai/update-macaron-sh-script branch July 3, 2024 05:21
art1f1c3R pushed a commit that referenced this pull request Nov 29, 2024
Signed-off-by: Trong Nhan Mai <trong.nhan.mai@oracle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants