-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #326 from boozallen/320-fix-fabric8-migration
[#320] fix docker plugin config to account for change from orphedomos
- Loading branch information
Showing
43 changed files
with
1,798 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
173 changes: 88 additions & 85 deletions
173
...on/foundation-mda/src/main/resources/templates/general-docker/inference.docker.pom.xml.vm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,93 +1,96 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>${groupId}</groupId> | ||
<artifactId>${parentArtifactId}</artifactId> | ||
<version>${version}</version> | ||
</parent> | ||
<parent> | ||
<groupId>${groupId}</groupId> | ||
<artifactId>${parentArtifactId}</artifactId> | ||
<version>${version}</version> | ||
</parent> | ||
|
||
<artifactId>${artifactId}</artifactId> | ||
<artifactId>${artifactId}</artifactId> | ||
|
||
<packaging>docker-build</packaging> | ||
<packaging>docker-build</packaging> | ||
|
||
<name>${parentDescriptiveName}::Inference</name> | ||
<description>Build for an Inference Docker container to run a compliant inference service</description> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.technologybrewery.fermenter</groupId> | ||
<artifactId>fermenter-mda</artifactId> | ||
<configuration> | ||
<basePackage>${basePackage}</basePackage> | ||
<profile>aissemble-inference-docker</profile> | ||
<propertyVariables> | ||
<dockerProjectRepositoryUrl>${docker.project.repository.url}</dockerProjectRepositoryUrl> | ||
</propertyVariables> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-resources-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>copy-docker-resources</id> | ||
<phase>prepare-package</phase> | ||
<goals> | ||
<goal>copy-resources</goal> | ||
</goals> | ||
<configuration> | ||
<outputDirectory>${project.build.directory}</outputDirectory> | ||
<resources> | ||
<resource> | ||
<directory>${project.basedir}/src/main/resources/docker</directory> | ||
<filtering>false</filtering> | ||
</resource> | ||
</resources> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>copy-${inferencePipeline.stepArtifactId}</id> | ||
<phase>prepare-package</phase> | ||
<goals> | ||
<goal>copy-resources</goal> | ||
</goals> | ||
<configuration> | ||
<outputDirectory>${project.build.directory}/${inferencePipeline.stepArtifactId}</outputDirectory> | ||
<resources> | ||
<resource> | ||
<directory>${project.parent.parent.basedir}/${rootArtifactId}-pipelines/${inferencePipeline.pipelineArtifactId}/${inferencePipeline.stepArtifactId}</directory> | ||
<filtering>false</filtering> | ||
<includes> | ||
<include>dist/requirements.txt</include> | ||
<include>dist/*-${version.habushu.dist.artifact}-*.whl</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>copy-config-resources</id> | ||
<phase>prepare-package</phase> | ||
<goals> | ||
<goal>copy-resources</goal> | ||
</goals> | ||
<configuration> | ||
<outputDirectory>${project.build.directory}/krausening/base</outputDirectory> | ||
<resources> | ||
<resource> | ||
<directory>${project.parent.parent.basedir}/${rootArtifactId}-pipelines/${inferencePipeline.pipelineArtifactId}/${inferencePipeline.stepArtifactId}/src/${inferenceModuleSnakeCase}/resources/krausening/base</directory> | ||
<filtering>false</filtering> | ||
</resource> | ||
</resources> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<name>${parentDescriptiveName}::Inference</name> | ||
<description>Build for an Inference Docker container to run a compliant inference service</description> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.technologybrewery.fermenter</groupId> | ||
<artifactId>fermenter-mda</artifactId> | ||
<configuration> | ||
<basePackage>${basePackage}</basePackage> | ||
<profile>aissemble-inference-docker</profile> | ||
<propertyVariables> | ||
<dockerProjectRepositoryUrl>${docker.project.repository.url}</dockerProjectRepositoryUrl> | ||
</propertyVariables> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-resources-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>copy-docker-resources</id> | ||
<phase>prepare-package</phase> | ||
<goals> | ||
<goal>copy-resources</goal> | ||
</goals> | ||
<configuration> | ||
<outputDirectory>${project.build.directory}</outputDirectory> | ||
<resources> | ||
<resource> | ||
<directory>${project.basedir}/src/main/resources/docker</directory> | ||
<filtering>false</filtering> | ||
</resource> | ||
</resources> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>copy-${inferencePipeline.stepArtifactId}</id> | ||
<phase>prepare-package</phase> | ||
<goals> | ||
<goal>copy-resources</goal> | ||
</goals> | ||
<configuration> | ||
<outputDirectory>${project.build.directory}/${inferencePipeline.stepArtifactId}</outputDirectory> | ||
<resources> | ||
<resource> | ||
<directory>${project.parent.parent.basedir}/${rootArtifactId}-pipelines/${inferencePipeline.pipelineArtifactId}/${inferencePipeline.stepArtifactId}</directory> | ||
<filtering>false</filtering> | ||
<includes> | ||
<include>dist/requirements.txt</include> | ||
<include>dist/*-${version.habushu.dist.artifact}-*.whl</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>copy-config-resources</id> | ||
<phase>prepare-package</phase> | ||
<goals> | ||
<goal>copy-resources</goal> | ||
</goals> | ||
<configuration> | ||
<outputDirectory>${project.build.directory}/krausening/base</outputDirectory> | ||
<resources> | ||
<resource> | ||
<directory>${project.parent.parent.basedir}/${rootArtifactId}-pipelines/${inferencePipeline.pipelineArtifactId}/${inferencePipeline.stepArtifactId}/src/${inferenceModuleSnakeCase}/resources/krausening/base</directory> | ||
<filtering>false</filtering> | ||
</resource> | ||
</resources> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>${group.fabric8.plugin}</groupId> | ||
<artifactId>docker-maven-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.