Zack Brady
c0294c733b
update release/2.0 from main ( #546 )
...
* fix: handling of file referenced dependencies without repository field (#514 )
co-authored-by: devleitner <devleitner@protonmail.com >
* bump go.opentelemetry.io/otel/sdk (#520 )
bumps the go_modules group with 1 update in the / directory: [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go ).
updates `go.opentelemetry.io/otel/sdk` from 1.39.0 to 1.40.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.39.0...v1.40.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
dependency-version: 1.40.0
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* dev.md file (#521 )
* smaller changes and updates for v1.4.2 release (#524 )
* smaller changes and updates for v1.4.2 release
* removed unused env variable
* 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 >
* bump github.com/docker/cli in the go_modules group across 1 directory (#526 )
bumps the go_modules group with 1 update in the / directory: [github.com/docker/cli](https://github.com/docker/cli ).
updates `github.com/docker/cli` from 29.0.3+incompatible to 29.2.0+incompatible
- [Commits](https://github.com/docker/cli/compare/v29.0.3...v29.2.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-version: 29.2.0+incompatible
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* removed deprecated code (#528 )
* removed deprecated code
* removed all supported for v1alpha1
* fix extract for oci files (#529 )
* fix extract for oci files
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* have extract guard against path traversal
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
---------
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* improved test coverage (#530 )
* improved test coverage
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* adjusted mapper_test for oddball oci files
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
---------
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* adjust extract to handle an image index appropriately (#531 )
* adjust extract to handle images and image indices appropriately
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* updates for review feedback
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
---------
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* fix dockerhub default host bug (#534 )
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* adjust hauler's kind annotation to not reflect cosign (#535 )
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* bump google.golang.org/grpc in the go_modules group across 1 directory (#536 )
bumps the go_modules group with 1 update in the / directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go ).
updates `google.golang.org/grpc` from 1.78.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.78.0...v1.79.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add cherry-pick workflow for release branches (#533 )
this workflow automates cherry-picking changes from merged pull requests to specified release branches based on comments... it handles permission checks, version parsing, and conflict resolution during the cherry-pick process.
Signed-off-by: Camryn Carter <camryn.carter@ranchergovernment.com >
* images.txt testdata file (#539 )
* fix keep registry logic (#537 )
* fixed keep registry logic
* trim library/
* updated test
* test updates
* option to sync images.txt files natively (#538 )
* sync images.txt files
* test worklflow sync w image list
* images.txt
* chunk the haul (#519 )
* chunk the haul
* validate numeric suffix on join
* enforce valid chunk size
* containerd warning
* updated test.go files
* bump github.com/go-jose/go-jose/v4 (#542 )
bumps the go_modules group with 1 update in the / directory: [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose ).
updates `github.com/go-jose/go-jose/v4` from 4.1.3 to 4.1.4
- [Release notes](https://github.com/go-jose/go-jose/releases )
- [Commits](https://github.com/go-jose/go-jose/compare/v4.1.3...v4.1.4 )
---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v4
dependency-version: 4.1.4
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* allow multiple prefix references (#532 )
* allow multiple prefix references
* fixed some duplications
* 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 >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
Signed-off-by: Camryn Carter <camryn.carter@ranchergovernment.com >
Co-authored-by: devLeitner <87783219+devLeitner@users.noreply.github.com >
Co-authored-by: devleitner <devleitner@protonmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Camryn Carter <camryn.carter@ranchergovernment.com >
Co-authored-by: Adam Martin <adam.martin@ranchergovernment.com >
2026-04-08 12:09:23 -04:00
Zack Brady
ded947d609
added/fixed helm chart images/dependencies features ( #485 )
...
* added/fixed helm chart images/dependencies features
* added helm chart images/dependencies features to sync/manifests
* more fixes for helm chart images/dependencies features
* fixed tests for incorrect referenced images
* fixed sync for helm chart images/dependencies
* added helm chart image annotations and registry/platform features
* updated ordering of experimental
* added more parsing types for helm images/dependencies
* a few more remove artifacts updates
---------
Signed-off-by: Zack Brady <zackbrady123@gmail.com >
2026-01-09 13:39:52 -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
Camryn Carter
96bab7b81f
path rewrites ( #475 )
...
* image reference rewrite
* remove need for rewrite-provider
* handle charts
* handle leading slash and missing tags
* tests
* tool cleanup
* removed intermediate store cleanup
* fix?
* test cleanup
* clean up tools folder again
* debug test
* clear tempdir after each filename provided by load
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* update tar command in load integration test
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* clean up debug prints
* clean up debug prints
* fix typo
---------
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
Signed-off-by: Zack Brady <zackbrady123@gmail.com >
Co-authored-by: Adam Martin <adam.martin@ranchergovernment.com >
Co-authored-by: Zack Brady <zackbrady123@gmail.com >
2026-01-06 11:48:49 -05:00
Adam Martin
f1a632a207
update for cosign v3 verify ( #469 )
...
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
Co-authored-by: Zack Brady <zackbrady123@gmail.com >
2025-10-24 17:07:49 -04:00
Adam Martin
344c008607
update cosign to v3.0.2+hauler.1 ( #463 )
...
signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
2025-10-22 12:48:56 -04:00
Zack Brady
369c85bab9
allow loading of docker tarballs ( #452 )
...
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
Co-authored-by: Adam Martin <adam.martin@ranchergovernment.com >
2025-10-01 11:56:36 -04:00
Zack Brady
3e44c53b75
upgraded go and dependencies versions ( #444 )
...
* upgraded go version
* upgraded dependencies
2025-07-11 11:49:01 -04:00
Adam Martin
ea53002f3a
formatting and flag text updates
...
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
2025-04-22 12:43:04 -04:00
Nathaniel Churchill
4d0f779ae6
add keyless signature verification ( #434 )
2025-04-21 15:27:17 -04:00
Adam Martin
3b96a95a94
add --only flag to hauler store copy (for images) ( #429 )
...
* bump cosign fork and tidy
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* add --only to hauler store copy
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
---------
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
Co-authored-by: Zack Brady <zackbrady123@gmail.com >
2025-04-08 09:27:12 -04:00
Adam Toy
f9a188259f
fix tlog verification error/warning output ( #428 )
...
* fix tlog verification error/warning output
* extend error msg to avoid ambiguity
2025-04-04 16:51:26 -05:00
Adam Martin
db065a1088
default public transparency log verification to false to be airgap friendly but allow override ( #425 )
...
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
2025-03-27 09:13:23 -04:00
Zack Brady
08f566fb28
fixed remote code ( #407 )
2025-02-05 11:25:11 -05:00
Zack Brady
53cf953750
updated load flag and related logs [breaking change] ( #403 )
...
* updated load flag and related logs [breaking change]
* fixed load flag typo
---------
Signed-off-by: Zack Brady <zackbrady123@gmail.com >
2025-02-05 09:01:18 -05:00
Zack Brady
ff144b1180
updated sync flag and related logs [breaking change] ( #402 )
...
* updated sync flag and related logs [breaking change]
* fixed typo in sync flag name
* and the last typo fix...
2025-02-05 08:54:54 -05:00
Zack Brady
938914ba5c
upgraded api update to v1/updated dependencies ( #400 )
...
* initial api update to v1
* updated dependencies
* updated manifests
* last bit of updates
* fixed manifest typo
* added deprecation warning
2025-02-04 21:36:20 -05:00
Zack Brady
603249dea9
fixed consts for oci declarations ( #398 )
2025-02-03 08:14:44 -05:00
Adam Martin
882713b725
replace mholt/archiver with mholt/archives ( #384 )
2025-01-10 19:15:00 -05:00
Adam Martin
a20d7bf950
forked cosign bump to 2.4.1 and use as a library vs embedded binary ( #383 )
...
* only ignore project-root/store not all store paths
* remove embedded cosign binary in favor of fork library
2025-01-10 17:14:44 -05:00
Zack Brady
e97adcdfed
cleaned up registry and improved logging ( #378 )
...
* cleaned up registry and improved logging
* last bit of logging improvements/import clean up
---------
Signed-off-by: Zack Brady <zackbrady123@gmail.com >
2025-01-09 15:21:03 -05:00
Zack Brady
01faf396bb
renamed incorrectly named consts ( #371 )
2024-12-04 14:29:26 -05:00
Zack Brady
235218cfff
added store env var ( #370 )
...
* added strictmode flag and consts
* updated code with strictmode
* added flag for retryoperation
* updated registry short flag
* added store env var
* added/fixed more env var code
---------
Signed-off-by: Zack Brady <zackbrady123@gmail.com >
2024-12-04 14:26:53 -05:00
Zack Brady
4270a27819
adding ignore errors and retries for continue on error/fail on error ( #368 )
...
* added strictmode flag and consts
* updated code with strictmode
* added flag for retryoperation
* updated registry short flag
* updated strictmode to ignore errors
* fixed command description
* cleaned up error/debug logs
2024-12-02 17:18:58 -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
Zack Brady
38c7d1b17a
standardize consts ( #353 )
...
* removed k3s code
* standardize and formatted consts
* fixed consts for sync.go
* trying another fix for sync
---------
Signed-off-by: Zack Brady <zackbrady123@gmail.com >
2024-11-06 18:31:06 -05:00
Zack Brady
dd50ed9dba
removed k3s code ( #352 )
2024-11-06 10:46:38 -07: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
Adam Martin
5aa55e9eda
continue on error when adding images to store ( #317 )
...
* continue on error when adding images to store
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
* Update cmd/hauler/cli/store/add.go
Co-authored-by: Jacob Blain Christen <dweomer5@gmail.com >
Signed-off-by: Adam Martin <42001113+amartin120@users.noreply.github.com >
---------
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
Signed-off-by: Adam Martin <42001113+amartin120@users.noreply.github.com >
Co-authored-by: Jacob Blain Christen <dweomer5@gmail.com >
2024-09-04 14:11:07 -04:00
Jacob Blain Christen
16fa03fec8
github.com/rancherfederal/hauler => hauler.dev/go/hauler ( #311 )
2024-08-26 13:54:06 -07:00
Zack Brady
cb81823487
testing and linting updates ( #305 )
...
* updated makefile operations
* upgraded testdata and related tests
* initial updates for tests
* fixed errors with testdata
* last bit of updates to tests
* cleaned and commented makefile
* updated tests for latest merges
---------
Signed-off-by: Zack Brady <zackbrady123@gmail.com >
2024-08-26 12:27:18 -04:00
will
2d930b5653
feat-273: TLS Flags ( #303 )
...
* fix: move constant and flags to prevent loop
* feat: add tls cert to serve
* fix: add tls cli description
* fix: remove unnecessary code
* small updates/fixed unit test errors
* fix: migrate all flags, use exported vars
* fix: standardize to AddFlags
---------
Signed-off-by: will <30413278+wcrum@users.noreply.github.com >
Co-authored-by: Zack Brady <zackbrady123@gmail.com >
2024-08-25 16:16:37 -04:00
Adam Martin
c592551a37
fix image ref keys getting squashed when containing sigs/atts ( #291 )
...
* fix image ref keys getting squashed when containing sigs/atts
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
---------
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
Signed-off-by: Adam Martin <adam.martin@ranchergovernment.com >
Co-authored-by: Adam Martin <adam.martin@rancherfederal.com >
2024-08-13 12:18:10 -07:00
Kamin Fay
0c5cf20e87
fix digest images being lost on load of hauls (Signed). ( #259 )
...
* Adding oci tests
* Fixed the oci pusher to split on the correct '@' symbol
* Reverted Pusher changes and adjusted nameMap references in Index
---------
Co-authored-by: Jacob Blain Christen <dweomer5@gmail.com >
2024-07-30 23:44:47 -04:00
Zack Brady
7a7906b8ea
updated imports (and go fmt)
2024-06-13 23:44:06 -04:00
Zack Brady
fd702202ac
formatted all code (go fmt)
2024-06-05 08:25:45 -04:00
Zack Brady
bfe47ae141
updated chart tests for new features
2024-06-03 23:31:50 -04:00
Ethan Howell
286120da50
Configure chart commands to use helm clients for OCI and private registry support
2024-05-24 12:06:16 -04:00
Zack Brady
91ff998634
updated hauler testdata
2024-04-06 15:19:53 -04:00
Adam Martin
8541d73a0d
Merge pull request #217 from amartin120/logging-updates
...
better logging when adding to store
2024-03-29 11:36:45 -04:00
Adam Martin
b6701bbfbc
better logging when adding to store
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2024-03-28 14:16:22 -04:00
Adam Martin
14738c3cd6
update to v2.2.3 of our cosign fork
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2024-03-28 13:11:26 -04:00
Adam Martin
e8254371c0
Merge pull request #177 from amartin120/add-login
...
add login command
2024-02-16 08:16:58 -05:00
Adam Martin
dbcfe13fb6
bug-fix: handle complex file names
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2024-02-15 19:55:38 -05:00
Adam Martin
cd8d4f6e46
add login command
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2024-02-15 15:54:23 -05:00
Adam Martin
6c2b97042e
switch the 'not a multi-arch image' log message to be debug
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2024-02-11 10:37:40 -05:00
Adam Martin
be22e56f27
fix whitspace issue
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2024-02-10 23:32:42 -05:00
Adam Martin
c8ea279c0d
add better logging for save
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2024-02-10 23:30:34 -05:00
Adam Martin
59ff02b52b
add annotations for registry
...
Signed-off-by: Adam Martin <adam.martin@rancherfederal.com >
2024-02-10 22:38:11 -05:00