openshift / cluster-operator

52 stars 35 forks source link

Use pre-built images instead of BuildConfig #315

Closed jhernand closed 6 years ago

jhernand commented 6 years ago

Currently the deployment playbook uses a BuildConfig to build the operator from source during deployment. This is no longer needed, because there are already pre-built images published, so this patch changes the playbook to use those pre-built images.

jhernand commented 6 years ago

@dgoodwin @csrwng @nimrodshn @zgalor after these changes I was able to deploy the operator running ansible-playbook contrib/ansible/deploy-playbook.yml and then adding manually the pre-built images to the cluster-operator image stream, with the latest tag:

$ oc project openshift-cluster-operator
$ oc tag registry.svc.ci.openshift.org/openshift-cluster-operator/cluster-operator:latest
csrwng commented 6 years ago

/lgtm The build part should not be part of the regular deployment. We will have a separate config for builds in CI.

jhernand commented 6 years ago

Thanks @csrwng.

dgoodwin commented 6 years ago

Thanks @jhernand !