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: Create an initial Baton migration to migrate from using the Orphedomos plugin to the Fabric8 docker maven plugin #154
We have found that Orphedomos is lacking key features we need and instead of re-inventing the wheel, we have found that fabric8 plug-in is widely used, supported, and contains the features we need.
For this ticket, we want to create an initial baton migration that migrates aiSSEMBLE from using Orphedomos to the fabric8 docker maven plug-in.
DOD
[x] confirm pom file configuration for fabric8 docker maven plugin that can replace our current Orphedomos maven plugin implementation
[x] create initial baton migration that will migrate pom files containing references to Orphedomos maven plugin which do not include references to wheel dependencies to use fabric8 docker maven plugin instead. Migration should be inactive for now.
[x] Activate migration (should run on pom files except build-parent pom and -tests-docker pom)
Test Strategy/Script
pull in dev branch of aissemble and build
mvn clean install
create downstream project using 1.7.0 version of aiSSEMBLE
Build and follow all manual actions. Repeat until no more manual actions.
Upgrade project to 1.8.0-SNAPSHOT by updating version in build-parent within your root pom.xml
Rebuild your downstream project
If you get the following error:
[INFO] DOCKER> ERROR: failed to solve: ghcr.io/boozallen/openjdk:11-slim: failed to resolve source metadata for ghcr.io/boozallen/openjdk:11-slim: ghcr.io/boozallen/openjdk:11-slim: not found
[ERROR] DOCKER> Error status (1) when building
Then update your issue-154-tests/issue-154-tests-docker/src/main/resources/docker/Dockerfile line 7 to
FROM openjdk:11-slim
Inside your issue-154-docker/pom.xml file, confirm there is no orphedomos-maven-plugin. Instead, you should see the new Fabric8 docker-maven-plugin
Confirm migration did not run for issue-154-tests-docker/pom.xml file. You should still see references to orphedomos-maven-plugin within the plugins block
Confirm that the downstream docker module pom files (for example, issue-154-docker/issue-154-spark-worker-docker/pom.xml) had their packaging types updated from orphedomos to docker-build
Description
We have found that Orphedomos is lacking key features we need and instead of re-inventing the wheel, we have found that fabric8 plug-in is widely used, supported, and contains the features we need.
For this ticket, we want to create an initial baton migration that migrates aiSSEMBLE from using Orphedomos to the fabric8 docker maven plug-in.
DOD
Test Strategy/Script
1.7.0
version of aiSSEMBLEissue-154-pipeline-models/src/main/resources/pipelines/SparkPipeline.json
1.8.0-SNAPSHOT
by updating version in build-parent within your root pom.xmlissue-154-tests/issue-154-tests-docker/src/main/resources/docker/Dockerfile
line 7 toissue-154-docker/pom.xml file
, confirm there is noorphedomos-maven-plugin
. Instead, you should see the new Fabric8docker-maven-plugin
issue-154-tests-docker/pom.xml file
. You should still see references to orphedomos-maven-plugin within the plugins blockissue-154-docker/issue-154-spark-worker-docker/pom.xml
) had their packaging types updated fromorphedomos
todocker-build
References/Additional Context