odpi / egeria-k8s-operator

Egeria Kubernetes operator
https://egeria.odpi.org
Apache License 2.0
10 stars 1 forks source link

Implement local ci/cr process for operator #17

Closed planetf1 closed 3 years ago

planetf1 commented 3 years ago

We need to add a build process for the operator, to ensure the quality of PRs.

Initially this should at least build the operator (ideally from as early in the process as possible), ultimately we would like to see an automated execution/deployment and testing within the ci/cd pipeline.

planetf1 commented 3 years ago

First attempt to use a github workflow to simply replicate the steps I was undertaking locally, including the setup_go action resulted in '/home/runner/work/egeria-k8s-operator/egeria-k8s-operator/bin/controller-gen: Exec format error' , since the skeleton project setup by the operator includes native code, and the current build environment is macOS.

Soliciting input on best practices at https://groups.google.com/g/operator-framework/c/VDQL4qD-oCY

planetf1 commented 3 years ago

dup of #9

planetf1 commented 3 years ago

Closed in error - #9 was the 'epic'

planetf1 commented 3 years ago

completed initial version