Skip to content

Commit

Permalink
attempt at using python3 for databricks artifact generation feast-dev#2
Browse files Browse the repository at this point in the history
  • Loading branch information
ff-mriko-morandi committed Jul 6, 2020
1 parent d08261d commit add3f5e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docker_build_test_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
# databricks provider DBFS bug)
- uses: actions/setup-python@v2
with:
python-version: ['2.x', '3.x']
python-version: '2.x'

- name: Upload Spark JARs
run: |
Expand Down Expand Up @@ -211,15 +211,18 @@ jobs:
run: set -e make compile-protos-python

- name: Upload Python egg to Databricks
uses: actions/setup-python@v2
with:
python-version: '3.x'
run: |
set -ex
git fetch --unshallow
git stash
export DATABRICKS_HOST="$TF_VAR_databricks_workspace_url"
export DATABRICKS_TOKEN=$(terraform output databricks_token)
set -x
pip3 install databricks-cli
python3 setup.py bdist_egg
pip install databricks-cli
python setup.py bdist_egg
dbfs mkdirs dbfs:/pypi/feast/
dbfs cp dist/*.egg dbfs:/pypi/feast/
working-directory: sdk/python
Expand Down

0 comments on commit add3f5e

Please sign in to comment.