eks-anywhere-prow-jobs
eks-anywhere-prow-jobs copied to clipboard
Make a library from common files in templater that can be shared between EKS-D/A
EKS-A templater has a main.go which is almost similar to EKS-D with a few custom changes to generate EKS-A specific prow jobs. As the change is small, the plan is to make a library based on templater/jobs/utils, templater/jobs/types and templater/main.go so that this functionality can be shared in templaters across EKS-A and EKS-D to reduce duplication of code and keep templaters in sync.
Two possible approaches:
- Import packages into the go templater program that lives in both repos
- Publish a binary that is pulled in by both repos.