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 exit injection via env for Go app #8

Merged
merged 4 commits into from
Aug 25, 2023
Merged

add exit injection via env for Go app #8

merged 4 commits into from
Aug 25, 2023

Conversation

ctrox
Copy link
Contributor

@ctrox ctrox commented Aug 25, 2023

for our e2e tests we want a deplo.io app that exits with a certain code
so we can test some of the status handling. So e.g. when setting the env
var DEBUG_EXIT=2, the go app will exit with code 2.

The second commit adds an action to build the go app and upload the image so we can use it in our e2e tests.

for our e2e tests we want a deplo.io app that exits with a certain code
so we can test some of the status handling. So e.g. when setting the env
var DEBUG_EXIT=2, the go app will exit with code 2.
@ctrox ctrox force-pushed the go-inject-error branch 5 times, most recently from 56392d1 to e120b74 Compare August 25, 2023 13:04
for now this is just for use in e2e tests but eventually we could also
verify the apps will build with our build packs.
Copy link
Contributor

@thirdeyenick thirdeyenick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@ctrox ctrox merged commit 792f344 into main Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants