You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to optimise on our waiting time by keeping track of the state variable by the machine
Implementation
The logic of this can look like
If "state" == "provisioning", sleep 10s...
If "state" == "active", echo "Machine successfully created!" and continue.
If "state" == "failed", echo "Failed to create machine" and exit.
in the above mentioned bash script.
A little experimentation might be required based on the intervals on which we poll. (We do not want cause anything that might come under a DOS attack :) )
Acceptance Tests
A link to the self-hosted workflow run would be key to get your changes accepted
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Current Behavior
Currently we are arbitrarily waiting 10 minutes waiting for the server to get provisioned and started.
https://github.com/layer5io/meshery-smp-action/blob/20c0b6f64f4918c6ad2505810210e0480a409648/.github/workflows/scripts/start-cil-runner.sh#L27
Desired Behavior
We want to optimise on our waiting time by keeping track of the state variable by the machine
Implementation
The logic of this can look like
in the above mentioned bash script.
A little experimentation might be required based on the intervals on which we poll. (We do not want cause anything that might come under a DOS attack :) )
Acceptance Tests
A link to the self-hosted workflow run would be key to get your changes accepted
Contributor Guide
The text was updated successfully, but these errors were encountered: