Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Avoid buggy truezip
  • Loading branch information
kimoonkim committed Dec 16, 2017
commit 0443af8bc052b2851d857a53f26dd06ab309fcac
45 changes: 3 additions & 42 deletions integration-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<scala.version>2.11.8</scala.version>
<scala.binary.version>2.11</scala.binary.version>
<sbt.project.name>kubernetes-integration-tests</sbt.project.name>
<spark-distro-archive>YOUR-SPARK-DISTRO-HERE</spark-distro-archive>
<spark-distro-tgz>YOUR-SPARK-DISTRO-TARBALL-HERE</spark-distro-tgz>
</properties>
<packaging>jar</packaging>
<name>Spark Project Kubernetes Integration Tests</name>
Expand Down Expand Up @@ -101,26 +101,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>truezip-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>unpack-spark-distro</id>
<goals>
<goal>copy</goal>
</goals>
<phase>pre-integration-test</phase>
<configuration>
<fileset>
<directory>${spark-distro-archive}</directory>
<outputDirectory>${project.build.directory}/spark-distro-archive</outputDirectory>
</fileset>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
Expand All @@ -133,11 +113,11 @@
<goal>exec</goal>
</goals>
<configuration>
<workingDirectory>${project.build.directory}/spark-distro-archive</workingDirectory>
<workingDirectory>${project.build.directory}</workingDirectory>
<executable>/bin/sh</executable>
<arguments>
<argument>-c</argument>
<argument>mv * ../docker</argument>
<argument>mkdir spark-distro-unpacked; cd spark-distro-unpacked; tar xfz ${spark-distro-tgz}; mv * ../docker</argument>
</arguments>
</configuration>
</execution>
Expand Down Expand Up @@ -165,25 +145,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>create-release-file</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<touch file="${project.build.directory}/docker/RELEASE"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
Expand Down