Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orkes Clients SDK methods #228

Merged
merged 136 commits into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
b49a3a8
ai support
v1r3n Oct 6, 2023
27038af
changes
v1r3n Nov 29, 2023
ee8ac83
Merge branch 'main' into prompt_mgmt
v1r3n Nov 29, 2023
e0a0249
Added logging and gracefully terminating workers
coderabhigupta Dec 1, 2023
cbb8983
changes
v1r3n Dec 2, 2023
0737333
update workflow client
v1r3n Dec 2, 2023
e6e5c1e
metadata client
v1r3n Dec 2, 2023
c19afd8
auth client
v1r3n Dec 2, 2023
b189e48
scheduler
v1r3n Dec 2, 2023
28858ab
secrets
v1r3n Dec 2, 2023
319257a
task client
v1r3n Dec 2, 2023
431ecb9
Merge pull request #229 from conductor-sdk/sdk_updates
v1r3n Dec 2, 2023
ec89e76
more changes
v1r3n Dec 2, 2023
d7bda10
more changes
v1r3n Dec 3, 2023
034125a
fixes
v1r3n Dec 3, 2023
397c8d4
more changes
v1r3n Dec 3, 2023
5001e9e
more
v1r3n Dec 3, 2023
69fecb7
fixes
v1r3n Dec 3, 2023
c94042d
Merge pull request #231 from conductor-sdk/prompt_mgmt
v1r3n Dec 3, 2023
2ef7552
Update main.py
v1r3n Dec 3, 2023
cd7ba20
Fixed unit tests
coderabhigupta Dec 3, 2023
5607fe7
metadata clients
v1r3n Dec 3, 2023
6ca03fd
Merge pull request #230 from conductor-sdk/sigkill
v1r3n Dec 3, 2023
a64301d
clean up
v1r3n Dec 3, 2023
be48b6e
clean up
v1r3n Dec 3, 2023
a6fcab0
Update test_async.py
v1r3n Dec 3, 2023
bc7dd82
tests
v1r3n Dec 3, 2023
0a34e7c
tests
v1r3n Dec 3, 2023
6c59e8a
more
v1r3n Dec 4, 2023
1d6ee84
Update ai_orchestrator_example.py
v1r3n Dec 4, 2023
6c87536
task handler updates
v1r3n Dec 5, 2023
a12db91
formatting
v1r3n Dec 5, 2023
f04dc98
changes
v1r3n Dec 10, 2023
337007e
fixes
v1r3n Dec 10, 2023
eb8012c
Update api_client.py
v1r3n Dec 10, 2023
b215a2b
more changes
v1r3n Dec 16, 2023
f856589
Update worker.py
v1r3n Dec 16, 2023
48af2dc
Update setup.py
v1r3n Dec 16, 2023
0291acc
rename
v1r3n Dec 16, 2023
2cdc35e
Update api_client.py
v1r3n Dec 16, 2023
f41a424
even more
v1r3n Dec 16, 2023
efbb435
Update javascript_task.py
v1r3n Dec 16, 2023
7c34f94
fixes
v1r3n Dec 16, 2023
c41a21b
Update test.ipynb
v1r3n Dec 16, 2023
35da4a2
examples
v1r3n Dec 16, 2023
9085b13
compatibility changes
v1r3n Dec 16, 2023
ec94c57
Update worker_task.py
v1r3n Dec 16, 2023
7d55ef6
update
v1r3n Dec 16, 2023
fe1b5e2
Update test_workflow_client.py
v1r3n Dec 17, 2023
3c53a55
readme
v1r3n Dec 17, 2023
6d6f76a
changes
v1r3n Dec 23, 2023
a30508a
fixes
v1r3n Dec 23, 2023
a799453
more changes
v1r3n Dec 23, 2023
800927e
Update test_workflow_client.py
v1r3n Dec 23, 2023
3a48d74
improvements
v1r3n Dec 23, 2023
eed20e9
Update http_task.py
v1r3n Dec 23, 2023
5b12571
Update main.py
v1r3n Dec 23, 2023
a7f34f4
Update task_workers.py
v1r3n Dec 23, 2023
b483300
changes
v1r3n Dec 24, 2023
f3160b6
Update pull_request.yml
v1r3n Dec 24, 2023
82bee14
more changes
v1r3n Dec 24, 2023
f54ab86
Create hello_world.py
v1r3n Dec 25, 2023
447e643
tests
v1r3n Dec 25, 2023
b1d4188
improvements
v1r3n Dec 25, 2023
358dafc
Update orkes_workflow_client.py
v1r3n Dec 25, 2023
56acef3
Update test_workflow_client.py
v1r3n Dec 25, 2023
a4fc29d
Update rest.py
v1r3n Dec 25, 2023
3f4e9cb
test fixes
v1r3n Dec 25, 2023
e6f6923
Update Dockerfile
v1r3n Dec 25, 2023
4c22e7a
Update rest.py
v1r3n Dec 25, 2023
dfc2f71
changes
v1r3n Dec 25, 2023
e3a1f12
Update rest.py
v1r3n Dec 25, 2023
ecb52b3
Update pull_request.yml
v1r3n Dec 25, 2023
63cec4e
Update pull_request.yml
v1r3n Dec 25, 2023
4735c27
Update pull_request.yml
v1r3n Dec 25, 2023
4e52ad0
Update pull_request.yml
v1r3n Dec 25, 2023
c0e7328
Update rest.py
v1r3n Dec 25, 2023
f560c04
Update rest.py
v1r3n Dec 25, 2023
4a32ba5
Update rest.py
v1r3n Dec 25, 2023
e3d755c
Update rest.py
v1r3n Dec 25, 2023
36923e9
Delete test_workflow_apis.py
v1r3n Dec 25, 2023
551b7aa
Update pull_request.yml
v1r3n Dec 25, 2023
b949471
Update pull_request.yml
v1r3n Dec 25, 2023
2e9059f
token refresh
v1r3n Dec 25, 2023
29d8966
more
v1r3n Dec 26, 2023
089c32b
readme
v1r3n Dec 26, 2023
20e9417
updates
v1r3n Dec 26, 2023
12c5485
Update README.md
v1r3n Dec 26, 2023
373f61c
Update README.md
v1r3n Dec 26, 2023
1a2a407
Update README.md
v1r3n Dec 26, 2023
9a7b469
Update README.md
v1r3n Dec 26, 2023
d74e541
Update README.md
v1r3n Dec 26, 2023
c92e62e
more
v1r3n Dec 26, 2023
fc430a1
Update README.md
v1r3n Dec 26, 2023
33ff3be
Update README.md
v1r3n Dec 26, 2023
49082cd
Update README.md
v1r3n Dec 26, 2023
dbebadc
more
v1r3n Dec 26, 2023
d7fca15
Update README.md
v1r3n Dec 26, 2023
432e6ea
changes
v1r3n Dec 26, 2023
53620ca
formatting
v1r3n Dec 26, 2023
daa2482
Update README.md
v1r3n Dec 26, 2023
12de2c6
Update README.md
v1r3n Dec 26, 2023
9e493dc
more
v1r3n Dec 26, 2023
b9468a2
more
v1r3n Dec 26, 2023
2ec554a
Update README.md
v1r3n Dec 26, 2023
0284eb1
Update README.md
v1r3n Dec 26, 2023
2b67fcb
Update README.md
v1r3n Dec 26, 2023
8a71510
Update README.md
v1r3n Dec 26, 2023
c6df900
more changes
v1r3n Dec 27, 2023
5275d66
Update README.md
v1r3n Dec 27, 2023
4009676
more
v1r3n Dec 27, 2023
9670927
Update README.md
v1r3n Dec 27, 2023
64b89d3
more
v1r3n Dec 27, 2023
aeefd02
Update README.md
v1r3n Dec 27, 2023
bcf0faa
test
v1r3n Dec 27, 2023
fc66d74
Update README.md
v1r3n Dec 27, 2023
22c262f
Update README.md
v1r3n Dec 27, 2023
eeb892a
test
v1r3n Dec 27, 2023
a1dcf1f
Update README.md
v1r3n Dec 27, 2023
2da01cd
Update prompt_testing.ipynb
v1r3n Dec 27, 2023
f81b159
clean up
v1r3n Dec 27, 2023
cadd792
tests
v1r3n Dec 27, 2023
81f83e7
fixes
v1r3n Dec 27, 2023
a21ab34
Update workflow_ops.py
v1r3n Dec 27, 2023
1e235c7
Update conductor_workflow.py
v1r3n Dec 27, 2023
f6451d9
more
v1r3n Dec 29, 2023
d158e08
Update test_workflow_client_intg.py
v1r3n Dec 29, 2023
befc5d2
code formatting
v1r3n Dec 29, 2023
c21ec9c
test
v1r3n Dec 29, 2023
495c657
Update test_workflow_client.py
v1r3n Dec 29, 2023
e9475a8
fix error handling
v1r3n Dec 29, 2023
0eb0882
tests
v1r3n Dec 29, 2023
dc65c9f
formatting
v1r3n Dec 29, 2023
8ba12bd
names
v1r3n Dec 29, 2023
9be352a
Update test_orkes_clients.py
v1r3n Dec 29, 2023
360ddf6
Update test_workflow_execution.py
v1r3n Dec 29, 2023
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
13 changes: 1 addition & 12 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,7 @@ jobs:
run: >
DOCKER_BUILDKIT=1 docker build .
--progress=plain
--target=unit_test
integration-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test
run: >
DOCKER_BUILDKIT=1 docker build
--progress=plain
--build-arg KEY=${{ secrets.KEY }}
--build-arg SECRET=${{ secrets.SECRET }}
--build-arg CONDUCTOR_SERVER_URL=${{ secrets.CONDUCTOR_SERVER_URL }}
--target=test
.
v1r3n marked this conversation as resolved.
Show resolved Hide resolved
--target=unit_test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,5 @@ latest.txt


.vscode/
tests/unit/automator/_trial_temp/_trial_marker
tests/unit/automator/_trial_temp/_trial_marker
42 changes: 21 additions & 21 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
ARG SDK_ORIGIN=local_sdk
ARG SDK_ORIGIN=no_sdk

FROM python:3.11-alpine as python_base
RUN apk add --no-cache tk
RUN mkdir /package
COPY /src /package/src
COPY /setup* /package/
COPY /README.md /package/
WORKDIR /package

FROM python_base as lint
FROM python_base as python_test_base
RUN mkdir -p /package
COPY / /package
WORKDIR /package
RUN pwd
RUN ls -ltr
ENV PYTHONPATH /package/src
RUN python3 -m pip install pylint
RUN python3 -m pylint --disable=all ./src

FROM python_base as local_sdk
ENV CONDUCTOR_PYTHON_VERSION="v0.0.0"
RUN python3 -m pip install .

FROM python_base as remote_sdk
ARG CONDUCTOR_PYTHON_VERSION
RUN python3 -m pip install conductor-python==${CONDUCTOR_PYTHON_VERSION}

FROM ${SDK_ORIGIN} as python_test_base
RUN rm -rf /package/src
COPY /tests /package/tests
#RUN python3 -m pylint --disable=all ./src
RUN python3 -m pip install coverage
RUN python3 -m pip install -r ./requirements.txt

FROM python_test_base as unit_test
ARG KEY
ARG SECRET
ARG CONDUCTOR_SERVER_URL
ENV KEY=${KEY}
ENV SECRET=${SECRET}
ENV CONDUCTOR_SERVER_URL=${CONDUCTOR_SERVER_URL}
RUN ls -ltr
RUN python3 -m unittest discover --verbose --start-directory=./tests/unit
RUN coverage run --source=./src/conductor/client/orkes -m unittest discover --verbose --start-directory=./tests/integration
RUN coverage report -m

FROM python_test_base as test
ARG KEY
Expand All @@ -34,7 +34,7 @@ ARG CONDUCTOR_SERVER_URL
ENV KEY=${KEY}
ENV SECRET=${SECRET}
ENV CONDUCTOR_SERVER_URL=${CONDUCTOR_SERVER_URL}
RUN python3 /package/tests/integration/main.py
RUN python3 ./tests/integration/main.py

FROM python_base as publish
RUN python3 -m pip install setuptools wheel build twine
Expand Down
Loading