octopus-deployazure-api-managementibm-api-management

API Management with GIT and Octopus - Git PUSH / Git PULL


Following on from this post of mine:

API Management with GIT

I have an API management instance running. I know API management has its own GIT repository.

I can successfully clone, change and push changes up to my API management GIT repository.

I am also running Octopus deploy and am trying to use this:

Git Push

and this:

Git Pull

To pull my code from my companies GIT repository and push to the APIM GIT repository.

The thing is, these to plugins fail immediately with an issue not being able to find file paths on the Octopus server. Also, these were written in 2014.

Is there a recommended better way to pull from your companies repo and push to APIM repository? Also, if I am pulling to Octopus, where does the code get stored before it is pushed to APIM?


Solution

  • In the end, I think this plug in is out of date. I ended up writing my own PowerShell GIT bash and it works a treat.

    I get the APIM json code from my companies source control then push it ti the APIM GIT repository and publish it using PowerShell.