CI/CD with Humanitec

Number of APIs: 19

This collection will describe how you * Connect your CI pipeline to Humanitec * Setup Continuous Deployment for your development environment * Setup Continuous Delivery for your sting environment * Register webhooks based on Humanitec events

  1. Cloning to a new environment - Get Application / Environments GET {{baseUrl}}/orgs/{{org_id}}/apps/{{app_id}}/envs

  2. Trigger a webhook based on a Humanitec event - Register a webhook POST {{baseUrl}}/orgs/{{org_id}}/apps/{{app_id}}/webhooks

  3. Cloning to a new environment - Check the resources of the running application GET {{baseUrl}}/orgs/{{org_id}}/apps/{{app_id}}/envs/{{env_id}}/resources

  4. Cloning to a new environment - Clone to a new environment POST {{baseUrl}}/orgs/{{org_id}}/apps/{{app_id}}/envs

  5. Continuous Delivery to your second environment - Redeploy environment with promoted changes POST {{baseUrl}}/orgs/{{org_id}}/apps/{{app_id}}/envs/{{second_env_id}}/deploys

  6. Cloning to a new environment - Deploy cloned environment POST {{baseUrl}}/orgs/{{org_id}}/apps/{{app_id}}/envs/{{second_env_id}}/deploys

  7. Cloning to a new environment - Check the running cloned environment GET {{baseUrl}}/orgs/{{org_id}}/apps/{{app_id}}/envs/{{second_env_id}}/runtime

  8. Cloning to a new environment - Check the resources of the cloned environment GET {{baseUrl}}/orgs/{{org_id}}/apps/{{app_id}}/envs/{{second_env_id}}/resources

  9. Setup Continuous Deployment to the development environment - Set an auto-deployment rule for the development environment POST {{baseUrl}}/orgs/{{org_id}}/apps/{{app_id}}/envs/{{env_id}}/rules

  10. Setup Continuous Deployment to the development environment - Check for automated deployment GET {{baseUrl}}/orgs/{{org_id}}/apps/{{app_id}}/envs/{{env_id}}/deploys