Releases: BadgerOps/ocpsync
Releases · BadgerOps/ocpsync
Release list
ocpsync v1.0.0
Added
- Download OCP binaries from mirror.openshift.com for specified versions
- Download RHCOS images from mirror.openshift.com for specified versions
- SHA-256 checksum validation for all downloaded files
- Configurable file filtering to exclude unwanted platform variants
- Exponential backoff retry logic for failed downloads
- YAML-based configuration (
config.yaml)
Fixed
- Check HTTP status codes in downloadFile (404s were silently saving error pages)
- Change break to continue in downloadFileList (malformed lines no longer abort entire loop)
- Stream files through sha256 hasher instead of loading entirely into memory
- Fix exponential backoff calculation (was starting at 8s instead of 1s)
- Return errors from generateFileList instead of swallowing them
- Skip to next version in downloadHandler when sha256sum.txt download fails
- Replace panic() with logrus.Fatal() for config errors
Changed
- Upgrade Go from 1.22 to 1.24 (fixes crypto/tls and crypto/x509 vulnerabilities)
- Upgrade gopkg.in/yaml from v2 to v3
- Upgrade golang.org/x/sys to v0.28.0
- Use filepath.Join() instead of string concatenation for paths
- Rename module to github.com/BadgerOps/ocpsync
- Bump default config versions to OCP 4.17, 4.18, 4.19
- Rewrite tests to use httptest.NewServer and t.TempDir()
- Add CI/CD pipeline with changelog-driven releases, cross-platform builds, and checksums
v0.0.6
What's Changed
- Bugfix/prod tweaks by @BadgerOps in #3
- we should allow quemu to be used, add linter by @BadgerOps in #5
Full Changelog: 0.0.5...v0.0.6
0.0.5: Update .goreleaser.yaml
fix structure
v0.0.4
0.0.3
What's Changed
- Bugfix/fix sha256sum pathing by @BadgerOps in #2
- Added a unit test to help prevent the above issue
Full Changelog: 0.0.2...0.0.3
0.0.2
What's Changed
- Feat/add rhcos by @BadgerOps in #1
New Contributors
- @BadgerOps made their first contribution in #1
Full Changelog: 0.0.1...0.0.2
test 0.0.1
test release yaml