Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to reduce SDC build time, new profiles were will be added, each for every docker image.
Cassandra and catalog-be-init are now will be modules that can could be built separately.
The relevant jenkins jobs were will be configured so that upon a new commit, only the relevant modules will be built and the relevant docker images will be changed.   

...

New model structure: For each docker image we created 'll create a new profile and add two new modules were added: cassandra and catalog-be-init.
In addition, we created 'll create a map file which maps all file paths to certain profile.

...

Flow: The SDC programmer should specify the desired profile to be built using the  flag "-P" flag when running maven command (e.g. mvn clean install -P docker,catalog-be-m).
One could also build a specific module within a profile using the --pl flag.


Benefits: This feature reduces will reduce the build time and builds build only specified modules. Only relevant docker images will be changed.


Jenkins Flow: A In the second phase, a script that identifies specific profiles was will be added to the relevant Jenkins jobs.

...