Skip to content

Bump aklite and composectl#1454

Merged
ricardosalveti merged 2 commits intomainfrom
bump-aklite-and-composectl
May 15, 2024
Merged

Bump aklite and composectl#1454
ricardosalveti merged 2 commits intomainfrom
bump-aklite-and-composectl

Conversation

@mike-sul
Copy link
Copy Markdown
Contributor

  • Add callback support to the offline updater.
  • Add bundle metadata support to the offline updater. The bundle metadata are signed by TUF targets role key and contains description of the bundle, i.e. tag, bundle targets, whether it is prod or CI bundle, etc. The offline updater checks the bundle metadata signature and use information found in it to determine whether an update should be permitted, possible, and what targets can be installed.
  • Move app functionality to check whether app is fetched, installed, and running from aklite to composectl.

mike-sul added 2 commits May 10, 2024 09:56
Relevant changes:
- d0b3094 check: Check whether app is installed
- 9875947 ps: Add command to check whether apps are running
- 327ec81 check: Add json output format

Signed-off-by: Mike Sul <[email protected]>
Relevant changes:
- 200cc491 aktualizr: httpclient: Send empty header value
- 08397daa api: Enable check-for-update-* callbacks in API
- ca02627f api, liteclient: Add download events and callbacks to offline update
- 9dd56a52 api, liteclient: Re-enable events on offline updates
- f68a52b1 offline: Allow using device TUF meta if bundle's one is outdated
- 5a009941 api: offline: Add bundle metadata support
- f07b189f apps: Use composectl to check whether app is fetched,
  		 installed, and running

Signed-off-by: Mike Sul <[email protected]>
@mike-sul mike-sul requested a review from detsch May 10, 2024 11:05
@doanac
Copy link
Copy Markdown
Member

doanac commented May 10, 2024

@caiotpereira ^ FYI - this will wind up in release notes

@mike-sul mike-sul marked this pull request as ready for review May 13, 2024 08:11
@mike-sul
Copy link
Copy Markdown
Contributor Author

Copy link
Copy Markdown
Member

@detsch detsch left a comment

Choose a reason for hiding this comment

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

LGTM. Did some testing with qemu, and all worked as expected.

Copy link
Copy Markdown
Member

@ricardosalveti ricardosalveti left a comment

Choose a reason for hiding this comment

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

LGTM

@ricardosalveti ricardosalveti merged commit 56ffcac into main May 15, 2024
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