So I'm working on getting testing and deployment of cookbooks into Gitlab pipelines. Right now I'm getting hung up on the final step of uploading a cookbook after all my tests pass.
What's the most straightforward way of achieving this? I've been leaning towards dropping a
client.pem into the pipeline and simply doing a
knife cookbook upload as the final step, assuming tests pass. If this is the way to go, is there a way to restrict the perms on the client to only be able to upload a new cookbook?
Right now I'm working in a dev environment so cookbook versioning isn't a huge concern just yet.
Is there a better way about this?