Adam Martin
40c4fdded4
add ability to add images from local docker daemon ( #551 )
...
signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
2026-04-19 17:51:36 -05:00
Adam Martin
f059a135da
add optional flag for excluding extra artifacts when pulling from a registry ( #541 )
...
* add optional flag for excluding extra artifacts when pulling from a registry
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* add optional flag to charts for excluding extra artifacts when pulling from a registry
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
---------
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
2026-04-07 12:48:05 -04:00
Adam Martin
e2a59508af
over-"haul": replace oras v1 and cosign fork with native containerd-based implementation ( #515 )
...
* remove oras from hauler
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* remove cosign fork and use upstream cosign for verification
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* added support for oci referrers
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* updated README.md projects list
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* updates for copilot PR review
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* bug fix for unsafe type assertions
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* bug fix for http getter and dead code
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* fixes for more clarity and better error handling
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* bug fix for resource leaks and unchecked errors
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* bug fix for rewrite logic for docker.io images due to cosign removal
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* bug fix for sigs and referrers
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* bug fix for index.json missing mediatype
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* bug fix to make sure manifest.json doesnt include anything other than actual container images
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
---------
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
2026-03-06 11:45:47 -05:00
Zack Brady
ff3cece87f
more experimental feature updates ( #486 )
...
* updates for experimental features and renamed delete to remove
* added examples back for experimental features
* update stability warning message
Co-authored-by: Camryn Carter <camryn.carter@ranchergovernment.com >
Signed-off-by: Zack Brady <zackbrady123@gmail.com >
* fixed more tests to use ghcr for hauler
* updated test data workflow
---------
Signed-off-by: Zack Brady <zackbrady123@gmail.com >
Co-authored-by: Camryn Carter <camryn.carter@ranchergovernment.com >
2026-01-08 14:57:52 -05:00
Camryn Carter
3c073688f3
delete artifacts from store ( #473 )
...
* WIP delete artifacts
* handle multiple matches
* confirm deletion
* --force flag for delete-artifact
* clean up remaining unreferenced blobs
* more robust handling of manifest structure
* fixed loop to process all layers
* tests pt 1
* fix tests
* test order
* updated tests for deleting chart and file
* tool cleanup tests
---------
Signed-off-by: Zack Brady <zackbrady123@gmail.com >
Co-authored-by: Zack Brady <zackbrady123@gmail.com >
2026-01-06 11:54:06 -05:00
Zack Brady
603249dea9
fixed consts for oci declarations ( #398 )
2025-02-03 08:14:44 -05:00
Zack Brady
1b77295438
updated/fixed hauler directory ( #354 )
...
* added env variables for haulerDir/tempDir
* updated hauler directory for the install script
* cleanup/fixes for install script
* updated variables based on feedback
* revert "updated variables based on feedback"
* reverts commit 54f7a4d695
* minor restructure to root flags
* updated logic to include haulerdir flag
* cleaned up/formatted new logic
* more cleanup and formatting
2024-11-14 21:37:25 -05:00
Jacob Blain Christen
6510947bb9
enable docker load for hauler tarballs ( #320 )
...
- fixes #276
Signed-off-by: Jacob Blain Christen <jacob.blain.christen@ranchergovernment.com >
Co-authored-by: Zack Brady <zackbrady123@gmail.com >
2024-09-20 13:32:49 -04:00
Jacob Blain Christen
16fa03fec8
github.com/rancherfederal/hauler => hauler.dev/go/hauler ( #311 )
2024-08-26 13:54:06 -07:00
Adam Martin
4772657548
Add cosign for handling image functionality. ( #134 )
...
* pull back in ocil
* updates to OCIL funcs to handle cosign changes
* add cosign logic
* adjust Makefile to be a little more generic
* cli updates to accomodate the cosign additions
* add cosign drop-in funcs
* impl for cosign functions for images & store copy
* fixes and logging for cosign verify <iamge>
* fix cosign verify logging
* update go.mod
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2023-11-03 10:43:32 -07:00
Josh Wolf
8b372d8a20
factor out core oci logic into independent library (rancherfederal/ocil)
2022-01-12 09:47:09 -07:00
Josh Wolf
1030ed92a8
add some standardization to referencing unreferenced content
2021-12-13 13:23:08 -07:00
Josh Wolf
313c40bba8
standardize content naming for unnamed content
2021-12-13 12:00:41 -07:00
Josh Wolf
697a9fe034
ensure each copy test is independent
2021-12-09 11:26:48 -07:00
Josh Wolf
98322f7b28
rename redundant Store.Store to Store.Content
2021-12-09 11:12:37 -07:00
Josh Wolf
cd93d7aaea
make our implementation of oci content store public, remove redundant wrapper Store methods in favor of OCI implementation, add tests for store.Copy*()
2021-12-09 11:09:09 -07:00
Josh Wolf
85ae4205cd
remove store.List in favor of store.Walk, restructure store.Walk to walk index descriptors instead of manifests
2021-12-08 11:00:32 -07:00
Josh Wolf
a6831454e5
use internal oci store for store content backing
2021-12-08 09:24:16 -07:00
Josh Wolf
9d5fae4c1d
fix download/extract to use MapperStore
2021-12-03 20:19:55 -07:00
Josh Wolf
d55e7572e6
remove custom file store in favor of less hacky IoContentWriter extended on top of existing file store
2021-12-03 14:01:06 -07:00
Josh Wolf
34836dacb0
add getter, store, and file tests
2021-12-01 22:49:16 -07:00
Josh Wolf
5855f79156
allow reference string to be passed to AddArtifact instead of name.ParseReference for ease of use, move reference validation within AddArtifact
2021-12-01 22:49:15 -07:00
Josh Wolf
d27ad7c7e8
add basic store tests
2021-12-01 22:49:15 -07:00
Josh Wolf
d87d8a2041
primary: refactor store and transport to use oci-layouts and add fileserver feature
...
minors:
* add optional 'extraImages' to ThickCharts
* refactor File content into generic getter interfaces
* refactor artifact.Config into an actual usable interface (by File content)
* refactor 'copy' cli command to use oras mappers
* refactor 'serve' cli command to server registry and/or fileserver
2021-12-01 14:53:06 -07:00
Josh Wolf
26759a14a2
clean up and standardize logging usages
2021-11-16 12:00:18 -07:00
Josh Wolf
641e76a314
ensure list doesn't prematurely exit on tagless images ( #71 )
...
* ensure list doesn't prematurely exit on tagless images
* update testdata examples
2021-11-12 15:26:50 -07:00
Josh Wolf
fc6332d587
update readme, docs, roadmap, and several cli docs ( #67 )
...
* update readme, docs, roadmap, and several cli docs
* update dead links
2021-11-12 09:49:28 -07:00
Josh Wolf
933af22907
mvp rc prep ( #65 )
...
* add bootstrap script to k3s collection
* update ci to 1.17.x and temporarily skip tests (:
* remove helmtemplater
* update dependencies
* update releaser
* rename extremely poorly worded gitignore
2021-11-11 12:11:29 -07:00
Josh Wolf
8146a88a5d
move cache logic to a store configurable option
2021-11-10 20:26:12 -07:00
Josh Wolf
20cd37e173
add collections type (group of contents), and initial k3s builtin
2021-11-10 19:36:50 -07:00
Josh Wolf
8ab9fd6a38
represent all content as oci layouts (artifact.OCI interface), add blob caching and ephemeral stores ( #59 )
...
* represent all content as artifact.OCI interface and manipulate/add all content using oci layouts
* initial brew taps and macos universal binary
* change mediaType to string for better compatibility with other libraries
* ensure config is minimally viable for file/charts
* add transparent layer caching (filesystem) to artifact operations, clean up layer interface used by file/chart
* add store list and store copy commands
Signed-off-by: Josh Wolf <josh@joshwolf.dev >
2021-11-10 10:37:21 -07:00
Josh Wolf
4835699746
add _basic_ unit tests to each content type
2021-11-01 13:00:51 -06:00
Josh Wolf
372af894b3
refactor to baseline on pluggable oci collection/distribution ( #41 )
...
refactor to baseline on pluggable oci collection/distribution
Co-authored-by: Josh Wolf <josh@joshwolf.dev >
2021-10-29 15:55:20 -06:00