Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(refactor): Re-write action in Go (#19)
* feat: Re-write action in Go * use resty to query version endpoint * configure restry client * log the bindplane api version * implement apply * validate file paths * cleanup errors * gaurd against unset path * update error * log status * fix condition * Debug apply response * debug api response * read file and unmarshal to correct type before applying to api * properly decode yaml file with multiple objects * move empty file check * use err * remove debug log * rollout configs with pending rollouts * set options for rollout, need to dial them in * use nil options * refactor * add full config object * try cloning the repo * check repo status * format logs * write files and detect changes * cleanup resources before writing * try commit and push * push origin * write to out dir * implement state * Debug * fix state by using correct resource Kind values * implement state package with save data access * state nil check * use state key * return config names as slice * fix client configuration method * fix api path * test state package * organize * write raw config * vendor deps * remove git for ca certs * Revert "vendor deps" This reverts commit 1281c63. * remove targetBranch from action package and check if traget branch in main * remove legacy entrypoint script * move client to internal * breakup internal/client * remove unused kinds
- Loading branch information