Commit Graph

6 Commits (be196bfe9de118d3c21c8f5c0b8c238173f9750d)

Author SHA1 Message Date
Predrag Rogic 1444ce37d7 update_kubernetes_version: refactor
- add context.WithTimeout - limit the time spent on quering GitHub
  APIs
- extract Kubernetes GitHub Releases API quering into a separate
  fetchKubernetesReleases func
- extract Kubernetes Version Update logic into a separate
  updateKubernetesVersions func
- extract file patching instructions into a separate replaceAllString
  func
- patch '../../site/content/en/docs/commands/start.md' => remove the
  need to run 'make generate-docs' before 'make test'
- resolve 'ERROR: logging before flag.Parse'
- consolidate and add more verbose logging
- add more descriptive code comments
- removed TODO - will stick to the '0' patch version for all testData
  sets
- ensure 'make test' completes w/o any issues
2020-09-22 21:46:18 +01:00
Predrag Rogic 19cc40f420 update_kubernetes_version: implement a standalone program that polls GitHub for the latest Kubernetes release 2020-09-22 03:41:27 +01:00
Tacio Costa beadb8626e Fix script to update kubernetes version looking for wrong files and regex 2020-03-21 04:07:10 -03:00
tstromberg 159e69fa10 Return err 2019-05-14 20:20:53 -07:00
tstromberg 9a9f9edf5f First pass at lint-ageddon 2019-05-13 18:31:55 -07:00
Sharif Elgamal 02cf642a7d
Add script to update kubernetes version 2019-05-01 15:06:21 -07:00