Skip to content

jenkinsci/jobcacher-oras-storage-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jobcacher ORAS Extension plugin

This plugin is an extension of the jobcacher-plugin that allows you to store the caches in OCI compliant registries like using ORAS

Warning

The ORAS Java SDK is currently in alpha state and might impact the stability of this plugin.

It's configuration and APIs might change in future releases

banner

The OCI artifacts produced by jobcacher artifact have the following custom media types:

  • artifact media type application/vnd.jenkins.jobcacher.manifest.v1+json
  • config media type application/vnd.jenkins.jobcacher.config.v1+json
  • content media type application/vnd.jenkins.jobcacher.content.v1.[compression]

Currently, caches are stored "as-is", under a configurable namespace registry. This would require some update on jobcacher to support bundling OCI artifact with multiple layer or use referrer.

On ZOT

On Artifactory OCI

On Harbor

Introduction

Getting started

You only need to configure the extension to use ORAS under System Configuration.

See jobcacher-plugin for usage in jobs and pipelines.

For local testing you can use ZOT to start a registry

docker run -d -p 5000:5000 ghcr.io/project-zot/zot-linux-amd64:v2.1.2

Warning

Not using credentials is not recommended and will setup insecure registry mode and skip TLS verification

This should only be used when testing against a local registry

CONTRIBUTING

See CONTRIBUTING

LICENSE

Licensed under MIT, see LICENSE

About

oras-jobcacher-storage

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •