Closed AbacusIntegrationPlatform closed 6 years ago
tnx for your question! Either you need to open up your network to pull the vamp workflow agent from the public docker hub(where we placed it) or you need to modify the "vamp-workflow-javascript” breed artifact with a docker dialect that enables private repo credentials: https://vamp.io/documentation/using-vamp/v0.9.5/dialects/#dc-os-marathon-dialect
Thanks. All the workflow and gateway images are uploaded to the private registry. All that i need to do is to refer this images in the private registry rather than on mageticio/image name from the hub. Simply renaming the images in the .yml and .js files will suffice. Is it possible to alter the files below and build my own VAMP image with custom breeds and workflows having images with private reposittory ?
/usr/local/vamp/artifacts/breeds/vamp-workflow-javascript.yml"
"/usr/local/vamp/artifacts/breeds/health.js"
"/usr/local/vamp/artifacts/breeds/metrics.js"
"/usr/local/vamp/artifacts/breeds/allocation.js"
"/usr/local/vamp/artifacts/breeds/kibana.js"
"/usr/local/vamp/artifacts/breeds/vga.js"
"/usr/local/vamp/artifacts/workflows/health.yml"
"/usr/local/vamp/artifacts/workflows/metrics.yml"
"/usr/local/vamp/artifacts/workflows/allocation.yml"
"/usr/local/vamp/artifacts/workflows/kibana.yml"
"/usr/local/vamp/artifacts/workflows/vga.yml"
The easiest way to do this is to use a custom Dockerfile
to create a vamp docker image that includes the updated files.
files/usr/local/vamp/artifacts/breeds/vamp-workflow-javascript.yml
Dockerfile
similar to the one below (in the same folder as files/
) and use that to create the new image in your private repo.
FROM magneticio/vamp:<VAMP_VERSION>
RUN rm -Rf /usr/local/vamp/artifacts/breeds/vamp-workflow-javascript.yml
ADD files/ /
CMD ["/sbin/runsvinit"]
@AbacusIntegrationPlatform did the info above help?
I am new to VAMP and I am able to import the vamp image and run it on the marathon. Below is my marathon.json file. But VAMP internally tries to run other images in marathon. It is trying to deploy magneticio/vamp-workflow-agent:0.9.5 and with folders /vamp/workflow-vga, /vamp/workflow-kibana etc.,
The problem here is, the images on the servers are pulled from a private repository and hence i need to alter the image name which vamp tried to deploy. Where should we update the image name. Or should we pass as parameter somewhere.