Skip to content

Releases: BadgerOps/ocpsync

ocpsync v1.0.0

Choose a tag to compare

@github-actions github-actions released this 19 Feb 17:35
c0be9a6

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

Choose a tag to compare

@BadgerOps BadgerOps released this 02 Jun 12:08
864846d

What's Changed

Full Changelog: 0.0.5...v0.0.6

0.0.5: Update .goreleaser.yaml

Pre-release

Choose a tag to compare

@BadgerOps BadgerOps released this 03 May 15:29
f4566e6
fix structure

v0.0.4

Choose a tag to compare

@github-actions github-actions released this 03 May 15:30
f4566e6

Changelog

0.0.3

Choose a tag to compare

@BadgerOps BadgerOps released this 03 May 04:51
de1d0a2

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

Choose a tag to compare

@BadgerOps BadgerOps released this 02 May 19:24
645589c

What's Changed

New Contributors

Full Changelog: 0.0.1...0.0.2

test 0.0.1

test 0.0.1 Pre-release
Pre-release

Choose a tag to compare

@BadgerOps BadgerOps released this 02 May 04:56
3e9bbb2

test release yaml