Skip to content

Conversation

@neilmayhew
Copy link
Contributor

This builds on #34

levon-kechichian-KR and others added 5 commits December 8, 2021 18:49
…ate 'INPUT_WAIT_INTERVAL' in the ##Testing section of the README.
…gh a configurable last_workflow_interval input variable (defaults to 0). Redefine 'inputs' variable to be 'client_payload'. Lastly, using #bash, which uses /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
@neilmayhew
Copy link
Contributor Author

If two runs are started very close together, this logic will see two new runs. It's impossible to tell which is the one we triggered, so we wait for both of them. If either of them fails (and we're propagating failures) we fail this one.

The Alpine base image uses the busybox implementation of sh, so we need
to use the same shell when testing entrypoint.sh outside of Docker.
@neilmayhew
Copy link
Contributor Author

@keithconvictional Any chance of some movement on this? The behaviour of the current version is pretty flaky and this fixes it.

Copy link
Contributor

@keithconvictional keithconvictional left a comment

Choose a reason for hiding this comment

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

LGTM

@keithconvictional keithconvictional merged commit 8be90d7 into convictional:master Mar 9, 2022
@duhow
Copy link
Contributor

duhow commented Mar 9, 2022

Changes merged here reverted #41 😭

@neilmayhew
Copy link
Contributor Author

@duhow That's unfortunate. Looks like some of those changes got missed while resolving merge conflicts. The most important one is the -c option to jq, I think.

Do you plan to submit a new PR?

@keithconvictional
Copy link
Contributor

@duhow @neilmayhew - Sorry about that. If you put a new PR, I'll review by end of week. The slow down was testing, and I have a better way at testing these changes now.

@neilmayhew
Copy link
Contributor Author

@keithconvictional I've pushed a new PR (#47)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants