Skip to content

Conversation

estroz
Copy link
Member

@estroz estroz commented Aug 3, 2020

Description of the change:

  • internal/plugins/manifests: add IMG variable injection to bundle recipe
  • test/: update tests to use IMG=<test image tag>
  • website/: update OLM integration docs with this change

Motivation for the change: This PR adds cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMG) to the manifests phase 2 plugin's Makefile modifier, such that a user can specify operator image using make bundle IMG=<tag>. Our e2e tests were passing because make deploy IMG=<tag> was run beforehand; in a newly scaffolded project that only uses bundles/package manifests, that will likely not be the case.

/cc @joelanford @camilamacedo86 @asmacdo @fabianvf

Checklist

If the pull request includes user-facing changes, extra documentation is required:

…ntroller=$(IMG)` to the manifests phase 2 plugin's Makefile modifier, such that a user can specify operator image using `make bundle IMG=<tag>`. internal/plugins/manifests: add `IMG` variable injection to `bundle` recipe test/: update tests to use `IMG=<test image tag>` website/: update OLM integration docs with this change
Copy link
Member

@joelanford joelanford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 3, 2020
@estroz estroz merged commit 8e5d03b into operator-framework:master Aug 3, 2020
@estroz estroz deleted the bugfix/inject-operator-image branch August 3, 2020 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged.

3 participants