Skip to content

Commit 124a88e

Browse files
authored
Merge pull request #174 from navinrathore/zRelease
0.3.3 release
2 parents 05006f9 + a7952fc commit 124a88e

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM docker.io/bitnami/spark:3.1.2
22
ENV SPARK_MASTER local[*]
3-
ENV ZINGG_HOME /zingg-0.3.2-SNAPSHOT
3+
ENV ZINGG_HOME /zingg-0.3.3-SNAPSHOT
44
ENV PATH $ZINGG_HOME/scripts:$PATH
55
ENV LANG C.UTF-8
66
WORKDIR /
77
USER root
8-
WORKDIR /zingg-0.3.2-SNAPSHOT
9-
RUN curl --location https://github.com/zinggAI/zingg/releases/download/v0.3.2/zingg-0.3.2-SNAPSHOT-spark-3.1.2.tar.gz | \
8+
WORKDIR /zingg-0.3.3-SNAPSHOT
9+
RUN curl --location https://github.com/zinggAI/zingg/releases/download/v0.3.3/zingg-0.3.3-SNAPSHOT-spark-3.1.2.tar.gz | \
1010
tar --extract --gzip --strip=1
11-
RUN chmod -R a+rwx /zingg-0.3.2-SNAPSHOT/models
12-
RUN chown -R 1001 /zingg-0.3.2-SNAPSHOT/models
11+
RUN chmod -R a+rwx /zingg-0.3.3-SNAPSHOT/models
12+
RUN chown -R 1001 /zingg-0.3.3-SNAPSHOT/models
1313
USER 1001
1414

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ See Zingg in action [here](https://www.youtube.com/watch?v=zOabyZxN9b0)
3535

3636
The easiest way to get started with Zingg is through Docker and by running the prebuilt models.
3737
```
38-
docker pull zingg/zingg:0.3.2
39-
docker run -it zingg/zingg:0.3.2 bash
38+
docker pull zingg/zingg:0.3.3
39+
docker run -it zingg/zingg:0.3.3 bash
4040
./scripts/zingg.sh --phase match --conf examples/febrl/config.json
4141
```
4242

client/src/main/java/zingg/client/Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ else if (args.getJobId() != -1) {
9494
}
9595

9696
public static void printBanner() {
97-
String versionStr = "0.3.2";
97+
String versionStr = "0.3.3";
9898
LOG.info("");
9999
LOG.info("********************************************************");
100100
LOG.info("* Zingg AI *");

docs/setup/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ nav_order: 3
77
## Running from Docker image from Docker hub
88
The easiest way to get started is pulling the Docker image with the last release of Zingg.
99
```
10-
docker pull zingg/zingg:0.3.2
11-
docker run -it zingg/zingg:0.3.2 bash
10+
docker pull zingg/zingg:0.3.3
11+
docker run -it zingg/zingg:0.3.3 bash
1212
```
1313
Detailed help instructions for working with the Zingg docker image can be found [here](workingWithDocker.md).
1414
## Installation
@@ -54,13 +54,13 @@ If you have a ready Spark cluster, you can run Zingg by configuring the followin
5454

5555
Download the tar zingg-version.tar.gz to a folder of your choice and run the following
5656

57-
>gzip -d zingg-0.3.2-SNAPSHOT-bin.tar.gz ; tar xvf zingg-0.3.2-SNAPSHOT-bin.tar
57+
>gzip -d zingg-0.3.3-SNAPSHOT-bin.tar.gz ; tar xvf zingg-0.3.3-SNAPSHOT-bin.tar
5858
5959
This will create a folder zingg-0.3.1-SNAPSHOT under the chosen folder.
6060

6161
Move the above folder to zingg.
6262

63-
>mv zingg-0.3.2-SNAPSHOT-bin ~/zingg
63+
>mv zingg-0.3.3-SNAPSHOT-bin ~/zingg
6464
6565
>export ZINGG_HOME=path to zingg
6666

docs/setup/workingWithDocker.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# Working with Zingg docker image
33
Running Zingg in Docker container is straightforward. Run following commands to get into the container.
44
```
5-
docker pull zingg/zingg:0.3.2
6-
docker run -it zingg/zingg:0.3.2 bash
5+
docker pull zingg/zingg:0.3.3
6+
docker run -it zingg/zingg:0.3.3 bash
77
```
88
## Sharing custom data and config files
99
However, note that once docker container is stopped, all the work done in that session is lost. If we want to use custom data or persist the generated model or data files, we have to use **Volumes** or **Bind mount** to share files between the two.
1010

1111
```
12-
docker run -v <local-location>:<container-location> -it zingg/zingg:0.3.2 bash
12+
docker run -v <local-location>:<container-location> -it zingg/zingg:0.3.3 bash
1313
```
1414
The **\<local-location\>** directory from host will get mounted inside container at **\<container-location\>**. Any file written inside this directory will persist on host machine and can be reused in new container instance later.
1515

@@ -26,7 +26,7 @@ A docker image is preferred to run with non-root user. By default, the zingg con
2626
```
2727
$ id
2828
uid=1000(abc) gid=1000(abc) groups=1000(abc)
29-
$ docker run -u <uid> -it zingg/zingg:0.3.2 bash
29+
$ docker run -u <uid> -it zingg/zingg:0.3.3 bash
3030
```
3131

3232
## Copying files To and From the Container

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
</profile>
8585
</profiles>
8686
<properties>
87-
<zingg.version>0.3.2-SNAPSHOT</zingg.version>
87+
<zingg.version>0.3.3-SNAPSHOT</zingg.version>
8888
<skipTests>true</skipTests>
8989
<failIfNoTests>false</failIfNoTests>
9090
<maven.compiler.source>8</maven.compiler.source>

scripts/zingg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
#ZINGG_HOME=./assembly/target
3-
ZINGG_JARS=$ZINGG_HOME/zingg-0.3.2-SNAPSHOT.jar
3+
ZINGG_JARS=$ZINGG_HOME/zingg-0.3.3-SNAPSHOT.jar
44
55
LICENSE="test"
66
##for local

0 commit comments

Comments
 (0)