Skip to content

base: lmp: Push only to v2 of ostreehub API#1153

Merged
mike-sul merged 1 commit intomainfrom
use-only-v2-ostreehub
May 23, 2023
Merged

base: lmp: Push only to v2 of ostreehub API#1153
mike-sul merged 1 commit intomainfrom
use-only-v2-ostreehub

Conversation

@mike-sul
Copy link
Copy Markdown
Contributor

There is no reason to support the ostreehub API v1, so let's push a generated ostree repo only to ostreehub v2 API.

There is no reason to support the ostreehub API v1, so push ostree repo
only v2 API of ostreehub.

Signed-off-by: Mike <[email protected]>
@mike-sul mike-sul requested review from doanac and ricardosalveti May 22, 2023 12:06
@mike-sul
Copy link
Copy Markdown
Contributor Author

This is how the error looks like

(2023-05-22 12:29:17,824) Level 21: Pushing/checking an ostree repo, cmd: /usr/bin/fiopush
ERROR: lmp-factory-image-1.0-r0 do_image_ostreepush: The ostreehub version v1 is not supported (OSTREE_API_VERSION=v1)
ERROR: lmp-factory-image-1.0-r0 do_image_ostreepush: ExecutionError('/srv/oe/build/tmp-lmp/work/raspberrypi4_64-lmp-linux/lmp-factory-image/1.0-r0/temp/run.do_image_ostreepush.301629', 1, None, None)
ERROR: Logfile of failure stored in: /srv/oe/build/tmp-lmp/work/raspberrypi4_64-lmp-linux/lmp-factory-image/1.0-r0/temp/log.do_image_ostreepush.301629

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, merge whenever you want.

@mike-sul mike-sul merged commit f385edc into main May 23, 2023
@mike-sul mike-sul deleted the use-only-v2-ostreehub branch May 23, 2023 09:33
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.

4 participants