Removed duplicated declarations of release profiles, updated readme file and edited the comments from the release profiles in the parent pom

This commit is contained in:
Elena Hardon
2018-07-09 14:50:55 +03:00
parent cd4ac886af
commit 04f0d82057
3 changed files with 3 additions and 30 deletions

View File

@@ -157,7 +157,7 @@ Depending on which version of AGS you want to start, Community or Enterprise, **
From the root folder of the project you can create both the Repo and the Share images for Community and Enterprise. From the root folder of the project you can create both the Repo and the Share images for Community and Enterprise.
To build all the images use the following command: To build all the images use the following command:
``` ```
mvn install -PbuildDockerImages mvn install -PbuildDockerImage
``` ```
If only the Community or Enterprise images need to be built than the same command as above must be run either in the rm-community or rm-enterprise modules. If only the Community or Enterprise images need to be built than the same command as above must be run either in the rm-community or rm-enterprise modules.

View File

@@ -344,7 +344,7 @@
</profile> </profile>
<!-- Profile used to build and push docker images with project.version tag to hub.docker when the community deploy goal encounters--> <!-- Profile used to build and push docker images with project.version tag to hub.docker when the enterprise deploy goal encounters-->
<profile> <profile>
<id>release-enterprise</id> <id>release-enterprise</id>
<build> <build>
@@ -382,7 +382,7 @@
</profile> </profile>
<!-- Profile used to build and push docker images with project.version tag to both image registries quay.io and hub.docker when <!-- Profile used to build and push docker images with project.version tag to both image registries quay.io and hub.docker when
the enterprise deploy goal encounters--> the community deploy goal encounters-->
<profile> <profile>
<id>release-community</id> <id>release-community</id>
<build> <build>

View File

@@ -704,33 +704,6 @@
<plugin> <plugin>
<groupId>io.fabric8</groupId> <groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId> <artifactId>fabric8-maven-plugin</artifactId>
<configuration>
<images>
<image>
<name>${image.name}:${project.version}</name>
<registry>${image.registry}</registry>
<build>
<dockerFileDir>${project.basedir}/</dockerFileDir>
</build>
</image>
<image>
<name>${image.name}:${project.version}</name>
<build>
<dockerFileDir>${project.basedir}/</dockerFileDir>
</build>
</image>
</images>
</configuration>
<executions>
<execution>
<id>build-push-image</id>
<phase>deploy</phase>
<goals>
<goal>build</goal>
<goal>push</goal>
</goals>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>