-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
81 changed files
with
761 additions
and
20 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14.8 KB
...e-old-housekeeper,-I-suppose?-Poor-Reynolds,-she-was-always-very-fond-of-me.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 added
BIN
+20.5 KB
...DME-img/At-last-it-arrested-her—and-she-beheld-a-striking-resemblance-to-Mr.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 added
BIN
+14 KB
...-next-morning,-but-the-post-came-in-without-bringing-a-single-line-from-him.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.7 KB
...img/But,-however,-he-is-very-welcome-to-come-to-Netherfield,-if-he-likes-it.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 added
BIN
+17 KB
...onfess-they-would-have-no-charms-for-_me_—I-should-infinitely-prefer-a-book.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 added
BIN
+9.89 KB
.github/README-img/But-he-is-an-ugly-fellow!-I-am-glad-he-is-gone.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 added
BIN
+15.9 KB
.github/README-img/By-tea-time,-however,-the-dose-had-been-enough,-and-Mr.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 added
BIN
+12 KB
...ual-to-his-time,-and-was-received-with-great-politeness-by-the-whole-family.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 added
BIN
+20.3 KB
...ter-will,-I-dare-say,-do-everything-in-his-power-to-satisfy-us-on-this-head.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 added
BIN
+12 KB
...-young-Lucas,-who-came-with-his-sisters,-“I-should-not-care-how-proud-I-was.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 added
BIN
+8.88 KB
...ub/README-img/Darcy-for-herself,-she-would-have-ordered-her-wedding-clothes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.5 KB
.github/README-img/Darcy-so-bad-as-this—though-I-have-never-liked-him.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 added
BIN
+15 KB
...you-were-at-Lambton?-I-thought-I-understood-from-the-Gardiners-that-you-had.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20 KB
...mg/Gardiner,-“there-is-no-absolute-proof-that-they-are-not-gone-to-Scotland.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 added
BIN
+20.8 KB
.github/README-img/Gardiner-had-seen-Pemberley,-and-known-the-late-Mr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+15.9 KB
.github/README-img/Gardiner-that-he-had-found-out-where-your-sister-and-Mr.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 added
BIN
+11.7 KB
...th-their-children,-was-now-put-an-end-to-by-the-approach-of-the-whole-party.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 added
BIN
+17.8 KB
...EADME-img/He-comes-down-on-Thursday-at-the-latest,-very-likely-on-Wednesday.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 added
BIN
+21.6 KB
...EADME-img/He-is-so-excessively-handsome!-and-his-sisters-are-charming-women.png
Oops, something went wrong.
Binary file added
BIN
+19.5 KB
...-her-complexion-has-no-brilliancy;-and-her-features-are-not-at-all-handsome.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+20.3 KB
.github/README-img/I-am-confident-that-she-would-have-performed-delightfully.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+18.6 KB
...avour-of-the-——shire-will-not-be-affected-by-his-being-in-the-neighbourhood.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+16.2 KB
.github/README-img/If-you-mention-my-name-at-the-Bell,-you-will-be-attended-to.png
Oops, something went wrong.
Binary file added
BIN
+21.6 KB
...e-animation-that-her-spirits-could-boast;-for-she-was-in-no-cheerful-humour.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+31 KB
...-be-sent-for-early-in-the-morning,-if-Miss-Bennet-were-not-decidedly-better.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+8.35 KB
...g/There-is-not-one-of-his-tenants-or-servants-but-will-give-him-a-good-name.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+399 KB
.github/README-img/there-will-be-no-tomorrow-so-lets-eat-unhealthy.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+21.9 KB
.github/README-img/“Wickham-so-very-bad!-It-is-almost-past-belief.png
Oops, something went wrong.
Binary file added
BIN
+13.3 KB
...ME-img/”-Kitty,-who-took-all-these-threats-in-a-serious-light,-began-to-cry.png
Oops, something went wrong.
Binary file added
BIN
+4.29 KB
...”-This-was-spoken-jestingly;-but-it-appeared-to-her-so-just-a-picture-of-Mr.png
Oops, something went wrong.
Binary file added
BIN
+15.6 KB
...y-aunt-Phillips-is-sure-it-would-do-_me_-a-great-deal-of-good,”-added-Kitty.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+16.7 KB
.../”-“I-think-I-have-heard-you-say-that-their-uncle-is-an-attorney-in-Meryton.png
Oops, something went wrong.
Binary file added
BIN
+16.7 KB
...h-me,-that-a-person-who-can-write-a-long-letter-with-ease,-cannot-write-ill.png
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+20.5 KB
...at-is-all-settled;”-repeated-the-other,-as-she-ran-into-her-room-to-prepare.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
codecov: | ||
# https://docs.codecov.io/docs/comparing-commits | ||
allow_coverage_offsets: true | ||
coverage: | ||
status: | ||
project: | ||
default: | ||
informational: true | ||
target: auto # auto compares coverage to the previous base commit | ||
comment: | ||
layout: "reach, diff, flags, files" | ||
behavior: default | ||
require_changes: false # if true: only post the comment if coverage changes | ||
branches: # branch names that can post comment | ||
- "main" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Add 'label1' to any changes within 'example' folder or any subfolders | ||
area/docs: | ||
- docs/**/* | ||
- ./*.md | ||
|
||
area/testing: | ||
- tests/**/* | ||
|
||
area/setup: | ||
- setup.py | ||
- requirements.txt | ||
- MANIFEST.in | ||
|
||
area/housekeeping: | ||
- .github/**/* | ||
- ./.gitignore | ||
- ./*.yaml | ||
- ./*.yml | ||
|
||
area/cicd: | ||
- .github/workflows/**/* | ||
|
||
area/docker: | ||
- Dockerfiles/**/* | ||
- ./.dockerignore | ||
|
||
area/script: | ||
- script/**/* | ||
|
||
component/client: | ||
- client/**/* | ||
|
||
component/server: | ||
- server/**/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
<% var groupCommits = [ | ||
{ | ||
name: 'breaking', | ||
show: true, | ||
list: [] | ||
}, { | ||
name: 'feat', | ||
show: true, | ||
list: [] | ||
}, { | ||
name: 'perf', | ||
show: true, | ||
list: [] | ||
}, { | ||
name: 'fix', | ||
show: true, | ||
list: [] | ||
}, { | ||
name: 'refactor', | ||
show: true, | ||
list: [] | ||
}, { | ||
name: 'docs', | ||
show: true, | ||
list: [] | ||
}, { | ||
name: 'test', | ||
show: true, | ||
list: [] | ||
}, { | ||
name: 'other', | ||
show: true, | ||
list: [] | ||
} | ||
] | ||
var all_titles = {}; | ||
var all_commiters = {}; | ||
var commitHref = "https://github.com/jina-ai/docarray/commit/" | ||
commits.forEach(function (commit) { | ||
var result = (commit.title).match(/^(\w*)(\((.*)\))?\: (.*)$/); | ||
var type = result && result[1]; | ||
var scope = result && result[3]; | ||
var title = result && result[4]; | ||
var committer = commit.authorName | ||
if (!(committer in all_commiters)) { | ||
all_commiters[committer] = 1 | ||
} | ||
if (!(title in all_titles)) { | ||
all_titles[title] = 1 | ||
if( title != null && (title.indexOf('💥')>-1 || title.indexOf(':boom:')>-1) ){ | ||
groupCommits.find(item => item.name === 'breaking').list.push({ | ||
type: type, | ||
scope: scope, | ||
title: title, | ||
commit: commit | ||
}) | ||
} else if(type == 'fix' || type == 'fixed'){ | ||
groupCommits.find(item => item.name === 'fix').list.push({ | ||
type: type, | ||
scope: scope, | ||
title: title, | ||
commit: commit | ||
}) | ||
} else if(type == 'perf' || type == 'performance'){ | ||
groupCommits.find(item => item.name === 'perf').list.push({ | ||
type: type, | ||
scope: scope, | ||
title: title, | ||
commit: commit | ||
}) | ||
} else if(type == 'feat' || type == 'feature'){ | ||
groupCommits.find(item => item.name === 'feat').list.push({ | ||
type: type, | ||
scope: scope, | ||
title: title, | ||
commit: commit | ||
}) | ||
} else if(type == 'refactor'){ | ||
groupCommits.find(item => item.name === 'refactor').list.push({ | ||
type: type, | ||
scope: scope, | ||
title: title, | ||
commit: commit | ||
}) | ||
} else if(type == 'docs' || type == 'doc'){ | ||
groupCommits.find(item => item.name === 'docs').list.push({ | ||
type: type, | ||
scope: scope, | ||
title: title, | ||
commit: commit | ||
}) | ||
} else if(type == 'test' || type == 'tests' || type == 'ci'){ | ||
groupCommits.find(item => item.name === 'test').list.push({ | ||
type: type, | ||
scope: scope, | ||
title: title, | ||
commit: commit | ||
}) | ||
} else { | ||
groupCommits.find(item => item.name === 'other').list.push({ | ||
type: type, | ||
scope: scope, | ||
title: title, | ||
commit: commit | ||
}) | ||
} | ||
} | ||
}); | ||
var listCommits = function(list, key){ | ||
list.forEach(function (ct) { | ||
var type = ct.type; | ||
var scope = ct.scope; | ||
var title = ''; | ||
var commit = ct.commit; | ||
if(type){ | ||
if(key != 'other'){ | ||
title = (scope? '__'+scope+'__: ':'') + ct.title; | ||
}else{ | ||
title = '__' + type + (scope? '('+scope+')':'') + '__ : ' + ct.title; | ||
} | ||
}else{ | ||
title = commit.title; | ||
} | ||
%> - <% if(typeof commitHref === 'undefined' || commitHref === '') { %>[```<%=commit.sha1.slice(0,8)%>```]<% } else { %>[[```<%=commit.sha1.slice(0,8)%>```](<%=commitHref%><%=commit.sha1%>)]<%}%> __-__ <%=title%> (*<%= commit.authorName %>*) | ||
<% })} %> | ||
|
||
🙇 We'd like to thank all contributors for this new release! In particular, | ||
<% Object.keys(all_commiters).forEach(function (key) { %> <%= key %>, <% }) %> 🙇 | ||
|
||
<% | ||
for(var i of groupCommits){ | ||
if(i.list.length == 0) continue; | ||
if (i.name === 'breaking' && i.show) { %> | ||
### 💥 Breaking changes | ||
<% } else if (i.name === 'fix' && i.show) { %> | ||
### 🐞 Bug fixes | ||
<% } else if( i.name === 'feat' && i.show) { %> | ||
### 🆕 New Features | ||
<% } else if(i.name === 'perf' && i.show) { %> | ||
### ⚡ Performance Improvements | ||
<% } else if(i.name === 'refactor' && i.show) { %> | ||
### 🧼 Code Refactoring | ||
<% } else if(i.name === 'docs' && i.show) { %> | ||
### 📗 Documentation | ||
<% } else if(i.name === 'test' && i.show) { %> | ||
### 🏁 Unit Test and CICD | ||
<% } else if (i.name === 'other' && i.show) { %> | ||
### 🍹 Other Improvements | ||
<% } | ||
i.show && listCommits(i.list, i); | ||
} %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
name: CD | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
#on: | ||
# push: | ||
# branches-ignore: | ||
# - '**' # temporally ignore all | ||
|
||
|
||
jobs: | ||
prep-testbed: | ||
if: | | ||
!startsWith(github.event.head_commit.message, 'chore') && | ||
!startsWith(github.event.head_commit.message, 'build: hotfix') && | ||
!endsWith(github.event.head_commit.message, 'reformatted by jina-dev-bot') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- id: set-matrix | ||
run: | | ||
sudo apt-get install jq | ||
echo "::set-output name=matrix::$(bash scripts/get-all-test-paths.sh)" | ||
outputs: | ||
matrix: ${{ steps.set-matrix.outputs.matrix }} | ||
|
||
core-test: | ||
needs: prep-testbed | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.7] | ||
test-path: ${{fromJson(needs.prep-testbed.outputs.matrix)}} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Prepare enviroment | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install wheel | ||
pip install --no-cache-dir "client/[test]" | ||
pip install --no-cache-dir "server/[onnx]" | ||
- name: Test | ||
id: test | ||
run: | | ||
pytest --suppress-no-test-exit-code --cov=cas --cov-report=xml \ | ||
-v -s -m "not gpu" ${{ matrix.test-path }} | ||
echo "::set-output name=codecov_flag::cas" | ||
timeout-minutes: 30 | ||
- name: Check codecov file | ||
id: check_files | ||
uses: andstor/file-existence-action@v1 | ||
with: | ||
files: "coverage.xml" | ||
- name: Upload coverage from test to Codecov | ||
uses: codecov/codecov-action@v2 | ||
if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.7' | ||
with: | ||
file: coverage.xml | ||
flags: ${{ steps.test.outputs.codecov_flag }} | ||
fail_ci_if_error: false | ||
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | ||
|
||
prerelease: | ||
needs: core-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 100 | ||
- name: Pre-release (.devN) | ||
run: | | ||
git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
pip install twine wheel | ||
./scripts/release.sh | ||
env: | ||
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} |
Oops, something went wrong.