Skip to content

Conversation

@github-actions
Copy link
Contributor

Bump oras-project/oras from 0.16.0 to 1.2.0 by bumping ORAS_VERSION in lib/functions/general/oci-oras.sh.

Release notes

Sourced from oras-project/oras's releases.
Please note that this only shows the release notes for the latest release.

New Features

  • oras is compliant with OCI image-spec v1.1.0 and distribution-spec v1.1.0
  • Introduce brand-new default terminal experience
    • Show live progress for the following commands:
      • oras copy
      • oras pull
      • oras push
      • oras attach
      • oras blob fetch
      • oras blob push
    • The new terminal experience can be turned off via the preview flag --no-tty
  • Support deletion of manifests and blobs in OCI image layout
  • Support X.509 mTLS authentication with OCI registries

Preview Features

  • BREAKING CHANGE Registries supporting Referrers API prior to distribution-spec v1.1.0-rc4 will fall back to Referrers tag schema, causing unexpected results of oras attach and oras discover commands
  • Introduce --platform to oras attach for better multi-arch attaching experience, which allows adding referrer artifact to a specific sub-platform
  • Re-purpose the flag --recursive of oras cp from extended copy to copy an artifact or a multi-arch image and its referrers
  • Promote --image-spec to a preview flag from experimental

Experimental Features

  • BREAKING CHANGE oras discover shows tree view output by default
  • Introduce formatted output via --format by implementing the specification
    • Formatted output is available to the following commands:
      • oras pull
      • oras push
      • oras attach
      • oras discover
      • oras manifest fetch
    • Examples:
      • --format json to print operation result as a JSON object
      • --format "go-template={{ .digest }}" to print the digest of the manifest using Go template
        • Template can also be specified by --template
  • Introduce oras resolve to get the digest of an artifact

Deprecation

  • oras discover: --output is marked as deprecated and succeeded by --format

Bug Fixes

Other Changes

  • Improve UX
    • oras discover: show placeholder when artifactType is not presented in an index referrer
    • oras push: show artifact type when pushing files
    • Improve error message based on ORAS CLI error handling guildline
    • Improve identity token input by a new flag --identity-token to replace --password without --username
  • Improve performance
    • Reduce authentication request count fororas copy, oras manifest delete, and oras blob delete
    • Support blob mounting across repositories in the same registry for oras copy
  • Update dependencies
  • Update to Golang 1.22.3
  • Minor security enhancements

What's Changed Since RC.1

Other Changes

  • Improve documentation
  • Update dependencies

Detailed Commits

Full Changelog: https://redirect.github.com/oras-project/oras/compare/v1.2.0-rc.1...v1.2.0

Notes

This release was signed with 46D3 369B 393F 6F82 71FD 1CE8 F86E C70D 2B0C 404F (@qweeah's GPG key) which can be found here.

@github-actions github-actions bot requested a review from a team as a code owner July 18, 2024 13:51
@github-actions github-actions bot added Dependencies Pull requests that update a dependency Bash labels Jul 18, 2024
@ColorfulRhino
Copy link
Collaborator

ColorfulRhino commented Jul 19, 2024

Like @rpardini mentioned here: #6922 (comment) this major version bump should be followed up with a forced rebuild/reupload of all artifacts.

@igorpecovnik
Copy link
Member

forced rebuild/reupload of all artifacts.

Do we have a switch / better way then this:
a02a6ca

@igorpecovnik igorpecovnik added Ready to merge Reviewed, tested and ready for merge 08 Milestone: Third quarter release labels Jul 20, 2024
@igorpecovnik igorpecovnik merged commit f1e63eb into main Jul 20, 2024
@igorpecovnik igorpecovnik deleted the update-version-lib/functions/general/oci-oras.sh-oras-project/oras-1.2.0 branch July 20, 2024 07:14
@rpardini
Copy link
Member

That is only for rootfs, which, yes, are also on OCI and need rebuild.
To rebuild all introduce a similar change into lib/functions/compilation/packages/utils-dpkgdeb.sh -- that is hashed by calculate_hash_for_bash_deb_artifact() which is used in (I think/hope) all artifacts.

rpardini added a commit to armsurvivors/armbian-build that referenced this pull request Jul 20, 2024
rpardini added a commit to armsurvivors/armbian-build that referenced this pull request Jul 20, 2024
rpardini added a commit to armsurvivors/armbian-build that referenced this pull request Jul 20, 2024
@rpardini
Copy link
Member

This caused breakage in download-artifact command, as ORAS now requires $HOME to be set.

Until we have a fix, publishing to repos should be 100% broken

rpardini added a commit to armsurvivors/armbian-build that referenced this pull request Jul 21, 2024
…xes `download-artifact`)

- it hasn't HOME when run under the matrix-prepare multiprocess launcher, so use TMPDIR
- fixes armbian#6964
rpardini added a commit to rpardini/armbian-build that referenced this pull request Jul 21, 2024
…xes `download-artifact`)

- it hasn't HOME when run under the matrix-prepare multiprocess launcher, so use TMPDIR
- fixes armbian#6964
rpardini added a commit to rpardini/armbian-build that referenced this pull request Jul 21, 2024
igorpecovnik pushed a commit that referenced this pull request Jul 21, 2024
…xes `download-artifact`)

- it hasn't HOME when run under the matrix-prepare multiprocess launcher, so use TMPDIR
- fixes #6964
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

08 Milestone: Third quarter release Dependencies Pull requests that update a dependency Ready to merge Reviewed, tested and ready for merge

4 participants