Skip to content

Commit

Permalink
#191 archetype and migration update for fabric8 usage in ci and it pr…
Browse files Browse the repository at this point in the history
…ofiles
  • Loading branch information
Cho-William committed Jul 11, 2024
1 parent 721c742 commit d340666
Show file tree
Hide file tree
Showing 10 changed files with 465 additions and 198 deletions.
1 change: 1 addition & 0 deletions DRAFT_RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Note: instructions for adapting to these changes are outlined in the upgrade ins

# Known Issues
- There is currently a bug with the Sagemaker training Docker image generated by the `aissemble-sagemaker-training-docker` `Fermenter` profile. The installation of the `logistic-training` module's `requirements.txt` fails, due to an unresolvable set of dependencies.
- Running a downstream project build with `-Pintegration-test` is currently broken due to incompatibilities that have remained from before the open-sourcing.

# Known Vulnerabilities
| Date<br/>identified | Vulnerability | Severity | Package | Affected <br/>versions | CVE | Fixed <br/>in |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,14 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<executions>
<execution>
<id>default-build</id>
<configuration>
<skip>true</skip>
<images>
<image>
<name>${project.artifactId}:${project.version}</name>
</image>
</images>
</configuration>
</execution>
</executions>
<configuration>
<skip>true</skip>
<images>
<image>
<name>${project.artifactId}:${project.version}</name>
</image>
</images>
</configuration>
</plugin>
</plugins>
</build>
Expand All @@ -86,15 +81,16 @@
<build>
<plugins>
<plugin>
<groupId>org.technologybrewery.orphedomos</groupId>
<artifactId>orphedomos-maven-plugin</artifactId>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<configuration>
<skip>false</skip>
<imageVersion>${project.version}</imageVersion>
<!-- Add in repoId that corresponds to the serverId in your settings.xml
that contains the docker login credentials -->
<repoId />
<repoUrl>${docker.project.repository.url}</repoUrl>
<images>
<image>
<name>${docker.project.repository.url}/${project.artifactId}:${project.version}
</name>
</image>
</images>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<name>${projectName}::Tests::Docker</name>
<description>Integration test docker image for ${projectName}</description>

<packaging>orphedomos</packaging>
<packaging>docker-build</packaging>

<build>
<plugins>
Expand All @@ -28,11 +28,15 @@
</configuration>
</plugin>
<plugin>
<groupId>org.technologybrewery.orphedomos</groupId>
<artifactId>orphedomos-maven-plugin</artifactId>
<version>${version.orphedomos.plugin}</version>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
<images>
<image>
<name>${project.artifactId}:${project.version}</name>
</image>
</images>
</configuration>
</plugin>
</plugins>
Expand All @@ -52,12 +56,15 @@
<build>
<plugins>
<plugin>
<groupId>org.technologybrewery.orphedomos</groupId>
<artifactId>orphedomos-maven-plugin</artifactId>
<version>${version.orphedomos.plugin}</version>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<configuration>
<skip>false</skip>
<imageVersion>latest</imageVersion>
<images>
<image>
<name>${project.artifactId}:latest</name>
</image>
</images>
</configuration>
</plugin>
<plugin>
Expand All @@ -73,7 +80,9 @@
<outputDirectory>${project.build.directory}/specifications/</outputDirectory>
<resources>
<resource>
<directory>${project.parent.basedir}/${project.parent.artifactId}-java/src/main/resources/specifications/</directory>
<directory>
${project.parent.basedir}/${project.parent.artifactId}-java/src/main/resources/specifications/
</directory>
<includes>
<include>**</include>
</includes>
Expand Down
Loading

0 comments on commit d340666

Please sign in to comment.