boozallen / aissemble

Booz Allen's lean manufacturing approach for holistically designing, developing and fielding AI solutions across the engineering lifecycle from data processing to model building, tuning, and training to secure operational deployment
Other
33 stars 8 forks source link

Feature: As an aiSSEMBLE user, I want the MDA Docker module templates to leverage fabric8, so that I can manage Docker builds with fabric8 in downstream projects #171

Closed Cho-William closed 2 months ago

Cho-William commented 2 months ago

Description

This issue is part of a series of issues targeting moving aiSSEMBLE from orphedomos to fabric8. Issue #168 is targeting making this update in the baseline's python Docker modules, and Issue #154 is targeting one (separate) Docker module in the baseline, as well as the migration for downstream projects.

This issue addresses updating the baseline's MDA generation such that downstream projects will leverage fabric8 instead of orphedomos.

DOD

DOD Questions

Implementation Details

Affected pom.xml Files

Test Strategy/Script

  1. Generate a 1.8.0-SNAPSHOT downstream project:
    mvn archetype:generate \
    -DarchetypeGroupId=com.boozallen.aissemble \
    -DarchetypeArtifactId=foundation-archetype \
    -DarchetypeVersion=1.8.0-SNAPSHOT \
    -DgroupId=com.example \
    -DartifactId=example \
    -DprojectGitUrl=url \
    -DprojectName=example \
    && cd example
  2. Add the two pipelines: ExampleMachineLearningPipeline.json SparkPipeline.json
  3. Build the project ONCE with mvn clean install -Dmaven.build.cache.skipCache=true
  4. Successively run the following until all manual actions are resolved: mvn clean generate-sources -Dmaven.build.cache.skipCache=true
  5. Remove the <skip>true</skip> docker-maven-plugin configuration from example-docker/pom.xml
  6. Comment out the pip requirements.txt installation (line 25) of example-docker/example-logistic-training-docker/src/main/resources/docker/Dockerfile
  7. Complete a full build with mvn clean install -Dmaven.build.cache.skipCache=true
  8. Confirm successful build of the docker images
  9. Run tilt up; tilt down
  10. Confirm successful deployment with tilt
Cho-William commented 2 months ago

DOD completed with @ewilkins-csi and @carter-cundiff

Cho-William commented 2 months ago

OTS completed with @chang-annie

csun-cpointe commented 2 months ago

test passed!!