Skip to content

Commit

Permalink
Merge branch 'main' into FTD_OPTIMIZATION
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitish1814 authored Jan 1, 2025
2 parents 52ee716 + d75daca commit 5e6f114
Show file tree
Hide file tree
Showing 322 changed files with 5,833 additions and 4,325 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "*" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
15 changes: 5 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Java CI

on:
workflow_call:
on: [push]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -12,17 +11,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
profile: []
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '11'
distribution: 'adopt'
cache: maven
- name: Install secondstring and thirdparty
run: mvn initialize
- name: Build ${{ matrix.profile }} profile with Maven
run: mvn --batch-mode ${{ matrix.profile }} clean compile package
- name: Build
run: mvn install
10 changes: 4 additions & 6 deletions .github/workflows/junits.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Java CI
name: Junits

on: [push]

Expand All @@ -8,12 +8,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '8'
java-version: '11'
distribution: 'adopt'
- name: mvn init
run: mvn initialize
- name: Build with Maven
run: mvn clean package --also-make
run: mvn test
43 changes: 43 additions & 0 deletions .github/workflows/load-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: load-test

on:
schedule:
- cron: "0 0 */3 * *"

jobs:
load-test:
name: load-test-spark
runs-on: ubuntu-latest
env:
SPARK_MASTER: local[*]
ZINGG_HOME: assembly/target
steps:
- name: checkout repo content
uses: actions/checkout@v3 # checkout the repository content to github runner.
- name: setup python
uses: actions/setup-python@v4
with:
python-version: 3.12.7 #install the python needed
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: temurin
- name: setup spark
uses: vemonet/setup-spark@v1
with:
spark-version: '3.5.3'
hadoop-version: '3'
- name: check spark
run: spark-submit --version
- name: mvn clean
run: mvn clean
- name: Build with Maven
run: mvn clean compile package -DskipTests=true
- name: execute py script
run: |
python perf_test/perfTestRunner.py
git config user.name nitish
git config user.email nitish1814@github.com
git add .
git commit -m "report generated"
git push
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
## 0.4.0 release of Zingg is out!
[![Java CI](https://github.com/zinggAI/zingg/actions/workflows/build.yml/badge.svg)](https://github.com/zinggAI/zingg/actions/workflows/build.yml)
[![pages-build-deployment](https://github.com/zinggAI/zingg/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/zinggAI/zingg/actions/workflows/pages/pages-build-deployment)
[![CodeQL](https://github.com/zinggAI/zingg/actions/workflows/codeql.yml/badge.svg)](https://github.com/zinggAI/zingg/actions/workflows/codeql.yml)
[![PMD](https://github.com/zinggAI/zingg/actions/workflows/pmd.yml/badge.svg)](https://github.com/zinggAI/zingg/actions/workflows/pmd.yml)


## 0.5.0 release of Zingg is coming soon!

## The Problem

Expand Down
8 changes: 4 additions & 4 deletions assembly/dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,25 +148,25 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.12.0</version>
<version>2.15.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.12.0</version>
<version>2.15.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.12.0</version>
<version>2.15.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-scala_2.12</artifactId>
<version>2.12.2</version>
<version>2.15.2</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
Binary file added assets/documentation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/documentation1.png
Binary file not shown.
Binary file added assets/zinggWhiteTransparent.png.zip
Binary file not shown.
Loading

0 comments on commit 5e6f114

Please sign in to comment.