We are trying to integrate the deployment of Tyk API, policy and swagger definitions in our CI/CD pipeline. The tyk-git tool seems designed to achieve this.
I am having some trouble authenticating to our repo through
Error: ssh: handshake failed: knownhosts: key is unknown
I see in the code that there is a placeholder ‘key’ cli argument for which the implementation is still missing. I can try to resolve this issue, but I have started to wonder why there is an integration with git in the first place.
For our CI/CD setup, the possibility to
sync to and from the local filesystem would simplify matters quite a bit.
In our CI environment (Jenkins), we tend to check out a feature branch and build and deploy to our test environments from there. Then, once the code has been merged to master, we deploy to acceptance and production from there. In all scenarios the local filesystem contains the Tyk API definitions that we want to deploy.
A cli argument for the
sync command with the path to the source files on disk instead of a git repository would be really helpful.