That image seems very close to what I need, and maybe it just works also in a gitlab step.
I notice that the commands are run against a cluster and not a host. I was wondering if I should organize my nodes as a cluster or not prior to this step.
I have created another docker image targeting my toolset: gitlab/ovh and moved to ipfs-cluster.
There is something, however, that I don’t understand. When in your CD/CI process old versions get un-pinned?
With gitlab I was trying to created 2 deployment environments, stage and production, and then name the PINS with myproject-stage and myproject-production. and on each deployment update its deployment pin.
However, at a first look, seems like pin names are not designed that way. Does not seem easy to update a pin using its name a key, for example, and I cannot even list pins by name.
Is it because pin names are not fully implemented or because they are thought in a different way?
Ok, I can see that ipfs-cluster pins don’t work how I (intuitively) expected.
I managed to map my release process to ipfs-cluster with a few workarounds, but it would be great if ipfs-cluster was better suited for this task, so I have created this feature proposal