Apigee edge GitLab integration

Hi @Anil Sagar @ Google @Dino-at-Google, we want to create a project where we can integrate Apigee edge with CI/CD pipeline in GitLab. We developed the proxy using maven and now it needs to be integrated in GitLab CI/CD pipeline for automation. Please suggest how to achieve this whole problem and what steps need to be followed. Also, if any relevant documentation is there please feel free to share it.

Comments
regnard
Bronze 3
Bronze 3

Here's a YouTube tutorial I made on how to deploy to Apigee using GitLab. This could potentially support your use case. Happy to hear your feedback on Apigee-GitLab integration.

lalevee
Staff

Hi  @souravsaha8 

You can also take a look at this repo: https://github.com/g-lalevee/apigee-cicd 
It references several pipeline solution samples (GitLab-CI, GitHub Action, Azure Pipeline, Jenkins, CircleCI ...) for both Apigee Edge and X/hybrid.

The pipelines implement all the same story, including :

  • Git branch dependent Apigee environment selection and proxy naming to allow deployment of feature branches as separate proxies in the same environment
  • Open API Specification (Swagger) static code analysis using stoplight spectral
  • Static Apigee Proxy code analysis using apigeelint 
  • Integration testing of the deployed proxy using apickli 
  • Packaging and deployment of an Apigee configuration using Apigee Config Maven Plugin
  • Packaging and deployment of the API proxy bundle using Apigee Deploy Maven Plugin

 

AlexET
Staff

Hello @regnard and @lalevee!

Thank you both for sharing your insights and valuable resources! We appreciate your contributions to the Apigee community.

For future discussions or if you have more to share about Apigee, we'd love to see you engage in the Apigee forum. It's a great space to connect with a global network of experts, ask questions and boost knowledge sharing.

Looking forward to seeing you in the forum! 😊

Version history
Last update:
‎01-05-2021 08:40 PM
Updated by: