GitLab CI/CD Pipeline Stuck and Failing During Azure Login Authentication
DesignNBuy
0
Reputation points
Dear Support Team,
I am experiencing an issue with my GitLab CI/CD pipeline where the pipeline gets stuck and eventually fails during the Azure login authentication phase. Here are the details:
Issue Summary:
- Problem: The pipeline gets stuck and eventually fails when attempting to authenticate with Azure using the
az logincommand in the CI/CD pipeline. The same login command works successfully when run manually in the terminal. - Error: The pipeline fails with no specific error message, but it gets stuck at the
az loginstep before eventually failing.
Pipeline Configuration:
- .gitlab-ci.yml Configuration: image: mcr.microsoft.com/azure-cli stages:
- deploy
only:- echo "Authenticating with Azure..." - az login --service-principal -u $ClientID -p $ClientPass --tenant $TenantId - echo "Deploying to Azure..." - az webapp deployment source config-zip --resource-group octopus-rg --name apioctopus --src ./octopus-backend.zip- develop
Thank you for your support in resolving this issue. Please let me know if additional information or logs are required.
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Sign in to answer