Skip to content

Commit 2b2bc77

Browse files
committed
Initialized C++ Worker
1 parent 6b8b599 commit 2b2bc77

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+215
-58
lines changed

.github/workflows/worker.yaml renamed to .github/workflows/pyworker.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
name: Smriti Worker CI
1+
name: Smriti PyWorker CI
22
on:
33
push:
44
branches:
55
- master
66
paths:
7-
- worker/**
8-
- .github/workflows/worker.yaml
7+
- pyworker/**
8+
- .github/workflows/pyworker.yaml
99
pull_request:
1010
branches:
1111
- master
1212
paths:
13-
- worker/**
14-
- .github/workflows/worker.yaml
13+
- pyworker/**
14+
- .github/workflows/pyworker.yaml
1515
release:
1616
types: [published]
1717
jobs:
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
defaults:
2222
run:
23-
working-directory: ./worker
23+
working-directory: ./pyworker
2424
steps:
2525
- name: Git Checkout
2626
uses: actions/checkout@v4
@@ -46,7 +46,7 @@ jobs:
4646
with:
4747
token: ${{ secrets.CODECOV_TOKEN }}
4848
flags: worker
49-
files: worker/coverage.xml
49+
files: pyworker/coverage.xml
5050
publish:
5151
if: ${{ (github.event_name == 'release' && github.event.action == 'published') || github.ref == 'refs/heads/master' }}
5252
needs: ci
@@ -71,10 +71,10 @@ jobs:
7171
uses: docker/build-push-action@v6
7272
with:
7373
context: worker
74-
file: ./worker/Dockerfile
74+
file: ./pyworker/Dockerfile
7575
push: true
7676
platforms: linux/amd64,linux/arm64/v8
7777
build-args: |
7878
GITSHA=${{ github.sha }}
7979
VERSION=${ github.ref_name }}
80-
tags: smritihq/worker:${{ github.ref_name }}
80+
tags: smritihq/pyworker:${{ github.ref_name }}

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
storage/*
22
samples*
33
models.zip
4-
models/*
4+
models/*
5+
.DS_Store
6+
Thumbs.db
7+
.vscode/
8+
.idea/

docs/docs/dev-guide/contribution.md

Lines changed: 2 additions & 2 deletions

pyworker/.gitignore

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
__pycache__/
2+
*.py[cod]
3+
*$py.class
4+
*.so
5+
.Python
6+
build/
7+
develop-eggs/
8+
dist/
9+
downloads/
10+
eggs/
11+
.eggs/
12+
lib/
13+
lib64/
14+
parts/
15+
sdist/
16+
var/
17+
wheels/
18+
share/python-wheels/
19+
*.egg-info/
20+
.installed.cfg
21+
*.egg
22+
MANIFEST
23+
*.manifest
24+
*.spec
25+
pip-log.txt
26+
pip-delete-this-directory.txt
27+
htmlcov/
28+
.tox/
29+
.nox/
30+
.coverage
31+
.coverage.*
32+
.cache
33+
nosetests.xml
34+
coverage.xml
35+
*.cover
36+
*.py,cover
37+
.hypothesis/
38+
.pytest_cache/
39+
cover/
40+
.env
41+
.venv
42+
env/
43+
venv/
44+
ENV/
45+
env.bak/
46+
venv.bak/
47+
Thumbs.db
48+
.DS_Store
49+
.idea/
50+
fly.toml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)