I'm setting up the Continuous Integration process for our API and I've split my brain trying to figure out how to connect that process with the API wrapper libs too.
Here's what I want to happen:
- I push a change to the API
- The tests are run to make sure that the API is green.
Temporarily deploy the API and test the following wrapper libs:
myapi-phpwrapper lib -- it has a test written in
myapi-rubywrapper -- with a test written in
4. If all of the above pass, then deploy the API. Otherwise, rollback.
- If the above pass, then deploy to production. Otherwise, keep the previous version of the API.
That way, I can be sure that changes we push to the API don't break our wrapper libs. I can't be the first person to be doing this .. Ideas?