Skip to content

Commit

Permalink
Merge branch '3.5-dev' into 3.6-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
spmallette committed Jul 13, 2022
2 parents 18ca740 + 8c1f0ea commit 608279d
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ jobs:
- name: Generate Gremlin Server Base Image
working-directory: .
run: |
mvn clean install -DskipTests -DskipIntegrationTests=true -am
mvn install -Pdocker-images -pl :gremlin-server -DskipTests
mvn clean install -pl gremlin-server -DskipTests -DskipIntegrationTests=true -Dci -am
- name: Build with Maven
working-directory: .
run: |
Expand Down
39 changes: 39 additions & 0 deletions gremlin-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,46 @@ limitations under the License.
</plugin>
</plugins>
</build>

<profiles>
<profile>
<!-- only build docker image for linux - this fails on windoze. gremlin server image will be generated
on each build as language variants will need the latest to do their work. windows users will need
to manually generate somehow until this is solved -->
<id>linux</id>
<activation>
<activeByDefault>false</activeByDefault>
<os>
<family>unix</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<executions>
<execution>
<id>docker-image-build</id>
<goals>
<goal>build</goal>
</goals>
<configuration>
<tag>${project.version}</tag>
<buildArgs>
<GREMLIN_SERVER_DIR>target/apache-tinkerpop-${project.artifactId}-${project.version}-standalone</GREMLIN_SERVER_DIR>
</buildArgs>
</configuration>
</execution>
</executions>
<configuration>
<repository>tinkerpop/gremlin-server</repository>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>use-epoll</id>
<activation>
Expand Down

0 comments on commit 608279d

Please sign in to comment.