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

Swarm #394

Merged
merged 15 commits into from
Jul 26, 2022
Merged

Swarm #394

merged 15 commits into from
Jul 26, 2022

Conversation

grafnu
Copy link
Collaborator

@grafnu grafnu commented Jul 25, 2022

Merging swarm sprint branch into master. These changes have already been somewhat reviewed as parts of other PRs.

grafnu and others added 4 commits June 27, 2022 14:35
Introduce first config phase, "applied", in which a device is sent one or more inline payloads or URLs to retrieve. The device then applies the payloads.
fi

site_path=sites/udmi_site_model
device_id=AHU-22
Copy link
Collaborator

Choose a reason for hiding this comment

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

can it be made clear why this is hardcoded?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added comment (it's just hardcoded for testing)


pids=`ps ax | fgrep pubber | fgrep java | awk '{print $1}'`
if [[ -n $pids ]]; then
echo Killing pubber pids $pids
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should really be lock files etc instead of ps grepping.. at some point

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added TODO

@grafnu grafnu requested a review from johnrandolph July 26, 2022 18:30
@grafnu grafnu merged commit 58d4c20 into master Jul 26, 2022
@grafnu grafnu deleted the swarm branch July 26, 2022 21:25
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.

None yet

2 participants