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

Adding test case for checking the API endpoints of resin-supervisor #77

Closed
wants to merge 7 commits into from
Closed

Conversation

horia-delicoti
Copy link
Contributor

[Closes #41]

@@ -54,6 +54,13 @@ Git push "${directory}" to application "${application_name}"
${result} = Run Process git push resin HEAD:refs/heads/master shell=yes cwd=${directory}
Process ${result}

Git push force "${directory}" to application "${application_name}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we merge this into the Git push keyword with an optional force parameter?

Process ${result}
[Return] ${result.stdout}

Ping "${deviceId}" from application "${appId}" using "${token}" via the API proxy
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use resin cli instead of curl urls? Since Resin CLI implicitly calls these URLS

* Fix keyword that runs an image with delta already enabled of using the same socket name as the first image.

Signed-off-by: Horia Delicoti <[email protected]>
…-supervisor.

* Adding keyword that can add commands to run inside the application.
* Keyword "Add console output <message> to <directory>" should not add the output message to a specific line because of inconsistency.
* Keyword "Syncronize <device_uuid> to return <message>" shold not add the output message to a specific line because of inconsistency.
* Adding keyword for git to force push to application.
* Changing the way to get information from resin-cli comamnds: "resin apps <application_name>" and "resin device <device_uuid>" for reusability.

Signed-off-by: Horia Delicoti <[email protected]>
…supervisor.

* Update application commit hash to the latest commit from resin-io/autohat-ondevice repository.

Signed-off-by: Horia Delicoti <[email protected]>
Signed-off-by: Horia Delicoti <[email protected]>
Signed-off-by: Horia Delicoti <[email protected]>
@ab77 ab77 closed this Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resin-Supervisor: test its API endpoints
3 participants