Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-5528

Restrict connector workflows based on individual grammar changes in DDL module

    XMLWordPrintable

Details

    • False
    • None
    • False

    Description

      When a change is made to the DDL module, we run both the MySQL and the Oracle connector workflows. If the change in the grammar only affects MySQL, we should only trigger running the MySQL connector. Similarly, if the change in the grammar only affects Oracle, we should only trigger running the Oracle connector.

      We should be able to scope the rules based on changes as follows:

      MySQL
      src/main/antlr4/io/debezium/ddl/aprser/mysql/**
      src/main/java/io/debezium/antlr/**
      test/resources/mysql.examples/**
      pom.xml

      Oracle
      src/main/antlr4/io/debezium/ddl/parser/oracle/**
      src/main/java/io/debezium/antlr/**
      src/main/java/io/debezium/ddl/parse/oracle/**
      test/resources/oracle.examples/**
      pom.xml

      This should help reduce the runtime of the CI environment when DDL parser changes are made to a specific connector, without requiring that both connector test suites be executed unless changes explicitly target that connector's DDL parser.

      Attachments

        Activity

          People

            anmohant Anisha Mohanty
            ccranfor@redhat.com Chris Cranford
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: