Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for post_run #1778

Merged
merged 8 commits into from
May 17, 2024
Merged

Add support for post_run #1778

merged 8 commits into from
May 17, 2024

Conversation

shahzebsiddiqui
Copy link
Member

This PR will add a key name post_run in buildspec that can be used to execute commands after test is complete.

This is useful for cleaning up or running some commands after test is complete.

… will be used to specify commands to run after test is complete. The post_run

will generate a script that will be executed after execution of test. This will not impact that actual test and mainly used for cleanup.

We have an example buildspec to demonstrate this example test
…was not reaching this statement and later accessed.

We create symlink for example buildspec for regression test.
add method for testing example buildspec post_run.yml
change behavior of buildtest to show output of test with up to 10 lines
@pull-request-size pull-request-size bot added size/L and removed size/M labels May 17, 2024
@shahzebsiddiqui shahzebsiddiqui merged commit 399b3a2 into devel May 17, 2024
36 of 38 checks passed
@shahzebsiddiqui shahzebsiddiqui deleted the post_run branch May 17, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant