Closed bmpotter closed 4 years ago
Going to solve this by expanding the helloMMS
makefile publish-only
target to the following:
publish-only:
ARCH=amd64 $(MAKE) publish-service-overwrite
ARCH=arm $(MAKE) publish-service-overwrite
ARCH=arm64 $(MAKE) publish-service-overwrite
hzn exchange pattern publish -f horizon/pattern-all-arches.json
$(MAKE) publish-only-pattern-each-arch
I added that to PR https://github.com/open-horizon/examples/pull/287 so closing this issue
In the helloMMS PR i modified
object.json
to have thedestinationType
field set to the single-arch pattern, so that in theCreateService.md
we didn't have to make them build their docker image for all 3 arch's. But this also means that for the "Use" case (README.md
), in order to use the sameobject.json
they need to have the single-arch patterns available to them in the IBM org.I added a helloMMS make target called
publish-only-pattern-each-arch
to create these single-arch patterns, soexchangePublishScript.sh
needs a special-case to run that (in addition tomake publish-only
) for thehelloMMS
dir.