eCargo - Digital Care: GitLab Pipeline cannot find environment variables
Common Problems or Queries
- GitLab Pipeline fails due to missing environment variables
- Error: variables not defined in Production environment
- Pipeline stops due to incomplete variable configuration
Solution
The problem is due to missing environment variables configured in the Production environment.
Steps to resolve:
-
Identify missing variables:
- Review pipeline logs to identify which specific variables are missing
- Compare with configuration from other environments (DEV, INTG)
-
Configure variables in Production:
- Access the project's variable configuration in GitLab
- Add the missing variables with appropriate values for PROD
- Verify that variables are marked as protected if necessary
-
Validate configuration:
- Run the pipeline again
- Confirm that all variables are recognized correctly
Affected environment: PROD Reference ticket: ANDES-419 Responsible team: ANDES Delivery