Need to have common build script for operator build and create artifacts
Opened this issue · 0 comments
BuddhiWathsala commented
Description:
We need to have a single build script file to do the following tasks.
-
Build the operator
operator-sdk build <DOCKER_REGISTRY_URL>/<USER_NAME>/siddhi-operator:<TAG>
-
Concat the following files in the given order and create a prerequisite file.
- ./deploy/siddhi_v1alpha2_siddhiprocess_crd.yaml
- ./deploy/service_account.yaml
- ./deploy/role.yaml
- ./deploy/role_binding.yaml
-
Update the Docker image of the
operator.yaml
filesed -i 's|docker.io/siddhiio/siddhi-operator:*|<DOCKER_REGISTRY_URL>/<USER_NAME>/siddhi-operator:<TAG>|g' deploy/operator.yaml
-
Now we need to use the prerequisite file and operator yaml file as release artifacts.
Affected Product Version:
0.2.1