Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
chensun committed Jan 25, 2022
1 parent c491650 commit 76e43bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/src/v2/test/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
REPO_ROOT=../..
REPO_ROOT=../../../..

# These vars are expected in .env:
# GCS_ROOT=gs://$(PROJECT)/v2-sample-test
Expand Down Expand Up @@ -58,7 +58,7 @@ context:
# as expected.
cd $(REPO_ROOT); \
stash=$$(git stash create); \
git archive --format=tar "$${stash:-HEAD}" | gzip >v2/test/tmp/context.tar.gz
git archive --format=tar "$${stash:-HEAD}" | gzip >backend/src/v2/test/tmp/context.tar.gz

.PHONY: mlmd-port-forward
mlmd-port-forward:
Expand Down
2 changes: 1 addition & 1 deletion backend/src/v2/test/sample_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def main(
str = 'git+https://github.com/kubeflow/pipelines#egg=kfp&subdirectory=sdk/python',
samples_config: str = os.path.join('samples', 'test', 'config.yaml'),
):
REPO_ROOT = os.path.join('..', '..')
REPO_ROOT = os.path.join('..', '..', '..', '..')
samples_config_path = os.path.join(REPO_ROOT, samples_config)
samples_config_content = None
with open(samples_config_path, 'r') as stream:
Expand Down

0 comments on commit 76e43bc

Please sign in to comment.