Commit Graph

11 Commits

Author SHA1 Message Date
Bruce Ashfield
9aa6ae98f2 oci-image-spec: update to v1.1.0 latest
Bumping image-spec to version v1.1.0-25-g39ab2d5, which comprises the following commits:

    a977bd3 Remove validation warnings to stdout
    4bbdd7f Switch jsonschema validation libraries
    535d657 Fix a typo in the annotations spec
    89fee07 MAINTAINERS: move jonboulle to EMERITUS
    f17d647 CODEOWNERS: remove vbatts
    818209a MAINTAINERS: move vbatts to EMERITUS
    652ec7c Add note about `ImageID` to the `config` section of `manifest.md`
    2d95dde Reformat "Platform Variants", especially to add amd64, ppc64le, riscv64
    e191267 Update Go versions in release scripts
    4da0cfc Update GitHub Actions packages to resolve warnings in CI
    a32e6c3 Pin golangci-lint for Go v1.20
    8baa69b media-types: Fix broken links
    0a41c19 version: bump back to +dev
    e7f7c0c version: release v1.1.0
    d0f90e6 Clarify that subject references a separate DAG
    8b1e951 version: bump back to +dev
    6c2b5fa version: release v1.1.0-rc6
    53d9855 new section for projects no longer maintained
    b391bc0 fix: SPDX licenses URL
    dd66b54 Test older versions of Go with toolchain=local
    93f6e65 Makefile: remove stray trailing space (#1126)
    d881fa8 deps: remove deprecated github.com/pkg/errors (#1125)
    072574d add ORAS to implementations.md
    9954739 specs-go: group MediaTypes
    344b098 fix markdown table formatting
    c7a064f Update supported Go range to 1.19 - 1.21
    f0ef80e version: bump back to +dev
    1e54f01 version: release v1.1.0-rc5
    061cba3 Fix golangci-lint install on older versions of Go
    a2a5750 Add step to update website after a release
    0c1622e Add `riscv64` arch to `check{Architecture|Platform}`
    e6a75e6 Provide a decision tree for artifacts
    9ac8f92 Quote lint-md wildcard expression
    a6af2b4 Add a markdown linter and fix linting issues
    af9c838 OCI has a distribution-spec
    37bac87 Create artifacts guidance
    ddf2dfd chore(descriptor.md): correct canonicalization reference
    d36ccf1 MediaType is required in the descriptor
    f6c60b5 Clean up the markdown in considerations
    da8994a Cleanup broken links and markdown spacing
    56877ad Remove deprecated golangci lint checks
    b29a06c Hacking markdown and Makefile cleanup
    73aca56 Cleanup markdown in governance
    fd95ded Fix label schema link
    aed07a8 Test subject field in index
    8620a49 version: bump HEAD back to +dev
    82e8329 version: bump for release of v1.1.0-rc.4
    988df0a specs-go: remove artifact prefixed annotations
    a845c7a image-index: add artifactType to specs and schema
    73f386c Add constants for "index.json" and "blobs"
    25fc553 Switch from scratch to empty
    749ea9a Add artifactType to image index
    32036d8 Apply version change from #1050
    e13840d Add language from artifacttype field to forbid allowlists of media types
    77efc6e spec: clarify descriptor, align with de facto artifact usage
    c6854a6 image-index: add the `subject` field

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-07-16 14:00:50 +00:00
Bruce Ashfield
08435d20b1 recipes/classes/scripts: Drop SRCPV usage
bitbake has been enhanced such that SRCPV is no longer needed in
PV to handle updating git hashes and task signatures.

We can simplify our PV by dropping SRCPV

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-08-24 01:38:21 +00:00
Bruce Ashfield
6385f57723 oci-image-spec: update to 1.1.0-rc3
Bumping image-spec to version v1.1.0-rc3-14-g9615142, which comprises the following commits:

    32036d8 Apply version change from #1050
    f3f0906 Specify the content of the scratch blob
    29a1380 Remove special guidance around wasm
    2720969 Update descriptor.go
    a68ca3e Remove artifact media type reference
    428b1e5 releases: use +dev as in-development suffix
    2f691e8 version: bump HEAD back to -dev
    085b884 version: bump for release of v1.1.0-rc.3
    fd45b6b Add scratch descriptor and scope layer limits
    63b8bd0 Remove artifact manifest
    23c4647 Define image manifest artifactType and guidance
    5751791 Add Tianon as maintainer
    f4fc83a Fix unused variable linting error
    d09d13d Update Jon Johnson's email
    4136bec descriptor schema: add missing data and artifactType definitions
    729a03e manifest, specs-go/: provide guidance on SCRATCH config descriptor
    31de013 manifest schema: add tests for the subject field
    7a9efbd manifest schema: add the missing `subject` field
    f2f1956 descriptor: clarify artifactType field must have compliant values
    98f35df Update image spec and conversion to clarify groups
    336b02c Require IANA mediaType for image config.mediaType and layers.mediaType
    1f60184 Add Go 1.20 support
    f99b121 Remove filtersApplied from image-spec
    b5998ba specs-go/v1/*.go: align the deprecation style
    6687119 Chore: fix go.mod - split direct/indirect dependencies
    867ce74 ArtifactType is optional, omit when empty
    ccb86b9 mention deprecation in media-types.md
    9b4e6c0 even fewer words
    2cdbef2 Deprecate non-distributable layers
    265874e Note an exception to the platform.os recommendation for wasi
    59780aa Add ArgsEscaped field to image config
    3625ee3 doc: fix example in artifact.md
    94f2431 version: bump main back to -dev
    19a74bc version: release v1.1.0-rc2
    0a97fe7 docs: Added artifact.md to docs and spec.md
    c91663b Update RELEASES.md
    0e7e0dd docs: Update release process docs with checklist
    5d055a4 version: switch back to -dev
    4728b6e version: bump for 1.1.0-rc1 release
    a7ac485 Rename refers field to subject (#950)
    4c15674 Use go install and full path to commands
    ce50f1f Bump from Go 1.16 to 1.17
    ca2e500 Embed Platform in Image
    a865bc0 Fix whitespace consistency in config.md
    da33ef0 Remove io/ioutil references
    ed7e07b Add artifact to spec.md
    bc9c4bd Update schema for mediaType validation (#933)
    b04b320 Working Group Proposal for Reference Types
    ba36edd Add regclient to implementations
    293f064 Reverting json schema to well known value
    ba3f174 Add maintainer nomination template
    08825b8 Pinning version of golangci-lint to support 1.16
    9747134 Move inactive maintainers to emeritus
    0bd8a03 Add Brandon as maintainer
    c7ca3ac Update URLs to https
    874a191 Add Sajay as maintainer
    6ffdc78 Move inactive maintainers to emeritus
    d6ce48a Add mediaType fields into example manifest & image index JSON references
    0895292 implementations: point to krustlet/oci-distribution

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-06-15 17:42:32 -04:00
Chen Qi
96870b9712 meta-virt: sync SRC_URIs between k8s and k3s
k3s is using a lot of SRC_URIs and some of them have corrsponding
recipe in meta-virt, which are used by k8s. These components'
SRC_URIs are better to be kept in sync, because this avoids two
local git repos (Yocto supports fetching locally) which are totally
the same. Remove the '.git' suffix from these recipes to sync the
SRC_URIs.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-02-15 15:09:17 -05:00
Bruce Ashfield
f5bf9b80af oci-image-spec: update to 1.0.2
Bumping image-spec to version v1.0.2-144-g02efb9a, which comprises the following commits:

    d6ce48a Add mediaType fields into example manifest & image index JSON references
    bc44f5b Fixing charter link
    02c5c05 implementations: adding the C and Rust libraries
    a36b0c8 Handle multiple matching index entries
    a3eee7d README.md: Remove link to OCI scope table The OCI scope table no-longer exists.
    4533d3e schema: use Go's embed package instead of esc
    d147780 .tool: remove lint tool, call linter directly
    0e094f3 schema, specs-go: fix lint errors
    d3cd202 *: switch to golangci-lint
    4d865bc go: have the go.mod at top-level
    0f6c001 Remove unneeded docker pull of pandoc image
    de28903 Makefile: stale installation of glide was failing
    3a46ac8 github: bring forward the versions of golang tested/built with
    6ced3bd media-types: `.mediaType` is available in both OCI and Docker
    3be64d9 version: bump main back to -dev
    beccafd version: release 1.0.2
    5b82148 specs-go: adding `mediaType` to the index and manifest structures
    2eb4046 *.md: bring mediaType out of reserved status
    e3885ce version: bump main back to -dev
    67d2d56 version: release 1.0.2
    dcdcb7f specs-go: adding `mediaType` to the index and manifest structures
    5f31485 *.md: bring mediaType out of reserved status
    3fee04b Adding ACR to implementations
    8087946 Reflect docker dontation of distribution to CNCF
    bd2fa25 Minor spelling correction
    fc4df0a Fix very minor oversight in config example
    0d98a6c Scope data verification to content consumers
    83479d4 Clean up portability considerations
    fccc435 Implementations MUST NOT populate data arbitrarily
    2596ec0 Expand godoc for Data
    58c082d Add note about portability concerns
    ce281ce Add Embedded Data section
    aaf8045 Define the data field
    4f080a7 Add go.mod and pin dependencies

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-21 17:31:29 -04:00
Bruce Ashfield
3fea81e4c5 crun/oci-image-spec: specify https in github src_uri
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-11-05 08:57:46 -04:00
Bruce Ashfield
cf55d44e94 oci-image-spec: update to 1.0.1-latest
Bumping image-spec to version v1.0.1-97-g54a822e, which comprises the following commits:

    fc4df0a Fix very minor oversight in config example
    08dd547 media-types.md: clarify differences from Docker media types
    170393e Embedded other platform fields in image spec
    ebb32fd Use registry.example.com as example default registry
    0e20f8a Add CPU variant to image config
    a2b7b2f expected type/subtype test for descriptors should have comment that references failure, not success
    875b7e5 pullapprove: remove defunct config
    3b938ac Drop link to OCI scope table
    ee4bfe1 Add background to png images
    eaa222c image.base.ref.name -> image.base.name based on stevvooe's feedback
    4221034 CODEOWNERS: switching from pullapprove to github builtin
    4feeaac Describe how index manifests should work with base image annotations
    a25f547 Removing Link Introduction
    54bc9b7 Fix typo
    b619890 Makefile: switch to the new OCI container image
    9ed9683 adding github workflow to render docs and lint
    87bb9f8 Create EMERITUS.md to recognize old maintainers
    71ccc68 Add standard base image annotations
    c435dd5 Remove Keyang Xie as a maintainer
    a4ddb1f MAINTAINERS: update jonboulle email address
    37e228a Update vbatts email address in MAINTAINERS
    5f0d52c Replace Jason B with Jon J in image-spec maintainers
    4366201 pandoc: point to a joint OCI org image
    8211213 fixed typo in image-layout
    78c42f4 Remove go4.org dependency
    43022b9 MAINTAINERS: remove Brandon Philips @philips
    8c25739 mediatype of layers should be application/vnd.oci.image.layer.v1.tar+gzip
    c3a73dc zstd: add constants to specs-go/v1
    d420390 README.md: return to one-sentence-per-line format
    ea8062d Reference "org" repo for meeting info
    1a29e86 media-types: Define layer media types suffix '+zstd'
    042b4d7 Run tests with go 1.12
    3d3783d Fix linting error
    bd4f8fc annotations.md: Fix a small typo
    c5f603f Fix table header grammar in annotations

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-18 14:05:35 -04:00
Bruce Ashfield
96712be73d image-spec: explictly reference main branch
The oci-image-spec repository has dropped its master branch,
so the fetcher default no longer works.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-02 23:36:31 -04:00
Bruce Ashfield
d876cfc5bf global: overrides syntax conversion
OEcore/bitbake are moving to use the clearer ":" as an overrides
separator.

This is pass one of updating the meta-virt recipes to use that
syntax.

This has only been minimally build/runtime tested, more changes
will be required for missed overrides, or incorrect conversions

Note: A recent bitbake is required:

    commit 75fad23fc06c008a03414a1fc288a8614c6af9ca
    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
    Date:   Sun Jul 18 12:59:15 2021 +0100

        bitbake: data_smart/parse: Allow ':' characters in variable/function names

        It is becomming increasingly clear we need to find a way to show what
        is/is not an override in our syntax. We need to do this in a way which
        is clear to users, readable and in a way we can transition to.

        The most effective way I've found to this is to use the ":" charater
        to directly replace "_" where an override is being specified. This
        includes "append", "prepend" and "remove" which are effectively special
        override directives.

        This patch simply adds the character to the parser so bitbake accepts
        the value but maps it back to "_" internally so there is no behaviour
        change.

        This change is simple enough it could potentially be backported to older
        version of bitbake meaning layers using the new syntax/markup could
        work with older releases. Even if other no other changes are accepted
        at this time and we don't backport, it does set us on a path where at
        some point in future we could
        require a more explict syntax.

        I've tested this patch by converting oe-core/meta-yocto to the new
        syntax for overrides (9000+ changes) and then seeing that builds
        continue to work with this patch.

        (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284)

        Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-02 17:17:53 -04:00
Bruce Ashfield
df0abf0293 oci-image-spec: uprev to v1.0.1
Updating the reference/source package of the oci-image-spec to v1.0.1.

We also cleanup the install rule to be a bit simpler (by using
--parents), and remove the .tool directory (which is new to this
version), since it won't be package by default (and hence throws a
QA error) and we don't need the .tool/* files.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-12 14:50:34 +00:00
Bruce Ashfield
b18acd8bc4 oci: introduce oci-image-tools (and dependencies)
The oci image tools allow the easy manipulation of containers and
bundles.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-02-15 14:57:35 -05:00