Skip to content

[rawhide] Switch to ostree-format: "oci"#1213

Merged
jlebon merged 1 commit intocoreos:rawhidefrom
cgwalters:rawhide-oci-2
Sep 15, 2021
Merged

[rawhide] Switch to ostree-format: "oci"#1213
jlebon merged 1 commit intocoreos:rawhidefrom
cgwalters:rawhide-oci-2

Conversation

@cgwalters
Copy link
Member

(Take 2, now that we have coreos/coreos-assembler#2417 )

Part of coreos/fedora-coreos-tracker#812

In this initial step, we're merely switching the internal
tarball to be a different format.

A future step will change the FCOS pipeline to automatically
push this container to quay.io.

(Take 2, now that we have coreos/coreos-assembler#2417 )

Part of coreos/fedora-coreos-tracker#812

In this initial step, we're merely switching the internal
tarball to be a different format.

A future step will change the FCOS pipeline to automatically
push this container to quay.io.
@cgwalters cgwalters requested a review from coreosbot September 14, 2021 21:35
@jlebon jlebon changed the title Switch to ostree-format: "oci" [rawhide] Switch to ostree-format: "oci" Sep 15, 2021
Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

Cool, let's do it!

@jlebon jlebon merged commit d6ae23d into coreos:rawhide Sep 15, 2021
Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

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

LGTM

@cgwalters
Copy link
Member Author

I forced a rawhide build to try to ship this (before a package change): https://jenkins-fedora-coreos.apps.ocp.ci.centos.org/job/fedora-coreos/job/fedora-coreos-fedora-coreos-pipeline/2703/console

@cgwalters
Copy link
Member Author

12:53:47  Verifying OSTree signature
12:53:47  Valid signature from Fedora <fedora-36-primary@fedoraproject.org> (53DED2CB922D8B8D9E63FD18999F7CBF38AB71F4)
12:53:47  **
12:53:47  OSTree:ERROR:src/libostree/ostree-core.c:128:ostree_metadata_variant_type: code should not be reached
12:53:47  Bail out! OSTree:ERROR:src/libostree/ostree-core.c:128:ostree_metadata_variant_type: code should not be reached
12:53:47  Traceback (most recent call last):
12:53:47    File "/usr/lib/coreos-assembler/cmd-sign", line 275, in <module>
12:53:47      sys.exit(main())
12:53:47    File "/usr/lib/coreos-assembler/cmd-sign", line 42, in main
12:53:47      args.func(args)
12:53:47    File "/usr/lib/coreos-assembler/cmd-sign", line 95, in cmd_robosignatory
12:53:47      robosign_ostree(args, s3, build, gpgkey)
12:53:47    File "/usr/lib/coreos-assembler/cmd-sign", line 183, in robosign_ostree
12:53:47      subprocess.check_call(['rpm-ostree', 'ex-container', 'export', '--repo=tmp/repo', checksum, f'oci-archive:{exported_ostree_path}:latest'])
12:53:47    File "/usr/lib64/python3.9/subprocess.py", line 373, in check_call
12:53:47      raise CalledProcessError(retcode, cmd)
12:53:47  subprocess.CalledProcessError: Command '['rpm-ostree', 'ex-container', 'export', '--repo=tmp/repo', '2d38cc95545494b10dc558af94ca8dcab72bf638bf55f3ba33de63fe70d47ff1', 'oci-archive:builds/36.20210915.91.0/x86_64/fedora-coreos-36.20210915.91.0-ostree.x86_64.ociarchive:latest']' died with <Signals.SIGABRT: 6>.

OK right this depends on https://bodhi.fedoraproject.org/updates/FEDORA-2021-75d8c7ab23 which is just stable now. So I guess it's easiest to wait till tomorrow to rebuild cosa.

@dustymabe
Copy link
Member

So I guess it's easiest to wait till tomorrow to rebuild cosa.

i think you'd probably want to do a nocache hack. No guarantee the next build wouldn't use the cache.

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.

3 participants