Skip to content

Commit 17c4d28

Browse files
committed
Test deployment from branch
1 parent 3019154 commit 17c4d28

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

prefect.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ pull:
1818
- prefect.deployments.steps.git_clone:
1919
id: clone-omnipy-examples
2020
repository: https://github.com/fairtracks/omnipy_examples.git
21+
branch: test_deploy
2122
- prefect.deployments.steps.pip_install_requirements:
2223
directory: "{{ clone-omnipy-examples.directory }}"
2324
requirements_file: requirements.txt
2425
stream_output: True
25-
- prefect.deployments.steps.set_working_directory:
26-
directory: "{{ clone-omnipy-examples.directory }}"
26+
#- prefect.deployments.steps.set_working_directory:
27+
# directory: "{{ clone-omnipy-examples.directory }}"
2728

2829
# the deployments section allows you to provide configuration for deploying flows
2930
deployments:

src/omnipy_examples/deployment.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1+
import os
2+
13
from omnipy import runtime
4+
5+
print(os.path.abspath(os.getcwd()))
6+
27
from omnipy_examples.main import bed, chatgpt, dagsim, encode, gff, isajson, uniprot
38
from prefect import flow as prefect_flow
49

0 commit comments

Comments
 (0)