Liquibase Pipeline for eCargo in GitLab
Common Problems or Queries
- I need to configure Liquibase pipeline in GitLab for eCargo
- Migration from Jenkins to GitLab for repositories with Liquibase
- Required validations for repositories using Jenkins towards GitLab
Solution
Configuring Liquibase pipeline in GitLab requires specific validations when migrating from Jenkins, especially in development environment.
Steps to configure Liquibase pipeline:
-
Current repository analysis
- Review existing Jenkins configuration
- Identify dependencies and specific configurations
- Document current Liquibase scripts and processes
-
Pre-migration validations
- Verify that all changesets are correctly versioned
- Confirm that target databases are accessible
- Validate database credentials and permissions
-
GitLab configuration
- Create
.gitlab-ci.ymlfile with Liquibase stages - Configure environment variables for DB connections
- Establish execution rules per environment (DEV/INTG/PROD)
- Create
-
DEV environment testing
- Execute pipeline in development environment
- Validate that changesets are applied correctly
- Verify rollback and Liquibase functionalities
-
Documentation and training
- Create documentation for new process
- Train team on GitLab pipeline usage
- Establish troubleshooting procedures
Important considerations:
- Validations required with repositories using Jenkins towards GitLab in DEV
- Verify Liquibase version compatibility
- Ensure database connections work correctly
Case information:
- Type: New ANDES Feature Request
- Environment: DEV
- Responsible: ANDES Developer
- Reference ticket: ANDES-309