Add Gitlab Tag to Apigee Proxy

I am using Gitlab CI/CD pipeline to build and deploy Apigee proxies.

For every successful build on Gitlab I generate a tag(eg: 1.0.4) and update the revision number of proxy on Apigee.

I want to store the tag version on Apigee proxy so that if some developer views the proxy he can verify as to which build tag does the proxy revision correspond to. So if the developer opens revision 4 of a proxy, he should see that its linked to build 1.0.4 of gitlab.

What would be the best way to achieve it ? Is there a way to store this info in Apigee per proxy

@Dino Can you advice ?

0 1 517
1 REPLY 1

@Varun Bhat,

You can add steps in your CI/CD to include the Build#/Git tag, commit id, deployed by etc in the Description tag of the API proxy

You can refer to the samples in https://github.com/ssvaidyanathan/apigee-ci-cd for this.