Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to have common build script for operator build and create artifacts #118

Open
BuddhiWathsala opened this issue Nov 18, 2019 · 0 comments

Comments

@BuddhiWathsala
Copy link
Contributor

Description:
We need to have a single build script file to do the following tasks.

  1. Build the operator

    operator-sdk build <DOCKER_REGISTRY_URL>/<USER_NAME>/siddhi-operator:<TAG>
    
  2. Concat the following files in the given order and create a prerequisite file.

    1. ./deploy/siddhi_v1alpha2_siddhiprocess_crd.yaml
    2. ./deploy/service_account.yaml
    3. ./deploy/role.yaml
    4. ./deploy/role_binding.yaml
  3. Update the Docker image of the operator.yaml file

    sed -i 's|docker.io/siddhiio/siddhi-operator:*|<DOCKER_REGISTRY_URL>/<USER_NAME>/siddhi-operator:<TAG>|g' deploy/operator.yaml
    
  4. Now we need to use the prerequisite file and operator yaml file as release artifacts.

Affected Product Version:
0.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant