Setting up Proxy environment variable for Docker container | Community
Skip to main content
supriya-hande
Level 4
August 1, 2024
Solved

Setting up Proxy environment variable for Docker container

  • August 1, 2024
  • 2 replies
  • 877 views

Hello Everyone,

 

We got mail from Adobe saying there will be some upcoming technical changes on UI test execution from Adobe side so we need to do some changes to our current UI testing configuration. We need to apply those changes before 01-Sep-2024.If not applied, UI test execution / deployment pipelines may start failing after the changes are applied on Adobe side.

 

Those changes are mentioned here: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/using-cloud-manager/test-results/functional-testing/ui-testing#cypress-specific-details

A sample implementation involves setting the HTTP_PROXY and NODE_EXTRA_CA_CERTS environment variables when the container starts. We have added suggested script in cypress run.sh file but we are not sure what should be actual values for HTTP_PROXY and NODE_EXTRA_CA_CERTS environment variables. Do we need to set these values or Adobe will set them? How to test these changes in Localhost and in cloud pipeline?

Please let us know if anyone is having idea on this.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi @supriya-hande 
You can check this with Adobe, from PR description I can see this is for proxy enabled program, which allow cypress to access proxy enabled program on cloud manager.

https://github.com/adobe/aem-test-samples/pull/93 

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/security/configuring-advanced-networking#flexible-port-egress-traffic-routing 

2 replies

supriya-hande
Level 4
August 2, 2024
arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
August 2, 2024

Hi @supriya-hande 
You can check this with Adobe, from PR description I can see this is for proxy enabled program, which allow cypress to access proxy enabled program on cloud manager.

https://github.com/adobe/aem-test-samples/pull/93 

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/security/configuring-advanced-networking#flexible-port-egress-traffic-routing 

Arun Patidar
kautuk_sahni
Community Manager
Community Manager
August 7, 2024

@supriya-hande Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni