File tree Expand file tree Collapse file tree 5 files changed +9
-84
lines changed
infra/docker/feature-server
src/test/resources/docker-compose/feast10 Expand file tree Collapse file tree 5 files changed +9
-84
lines changed Original file line number Diff line number Diff line change 6969 java-version : ' 11'
7070 java-package : jdk
7171 architecture : x64
72- - name : Setup Python (to call feast apply)
73- uses : actions/setup-python@v2
74- id : setup-python
75- with :
76- python-version : 3.8
77- architecture : x64
78- - name : Setup Go
79- id : setup-go
80- uses : actions/setup-go@v2
81- with :
82- go-version : 1.18.0
83- - name : Upgrade pip version
84- run : |
85- pip install --upgrade "pip>=21.3.1,<22.1"
86- - name : Get pip cache dir
87- id : pip-cache
88- run : |
89- echo "::set-output name=dir::$(pip cache dir)"
90- - name : pip cache
91- uses : actions/cache@v2
92- with :
93- path : |
94- ${{ steps.pip-cache.outputs.dir }}
95- /opt/hostedtoolcache/Python
96- /Users/runner/hostedtoolcache/Python
97- key : ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-pip-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
98- restore-keys : |
99- ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-pip-
100- - name : Install pip-tools
101- run : pip install pip-tools
102- - name : Install apache-arrow on ubuntu
103- run : |
104- sudo apt update
105- sudo apt install -y -V ca-certificates lsb-release wget
106- wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
107- sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
108- sudo apt update
109- sudo apt install -y -V libarrow-dev
110- - name : Install Python dependencies
111- run : make install-python-ci-dependencies
11272 - uses : actions/cache@v2
11373 with :
11474 path : ~/.m2/repository
13191 integration-test :
13292 if : github.repository == 'feast-dev/feast'
13393 runs-on : ubuntu-latest
94+ env :
95+ PYTHON : 3.8
13496 steps :
13597 - uses : actions/checkout@v2
13698 with :
Original file line number Diff line number Diff line change 4040 java-version : ' 11'
4141 java-package : jdk
4242 architecture : x64
43- - name : Setup Python (to call feast apply)
44- uses : actions/setup-python@v2
45- id : setup-python
46- with :
47- python-version : 3.8
48- architecture : x64
49- - name : Setup Go
50- id : setup-go
51- uses : actions/setup-go@v2
52- with :
53- go-version : 1.18.0
54- - name : Upgrade pip version
55- run : |
56- pip install --upgrade "pip>=21.3.1,<22.1"
57- - name : Get pip cache dir
58- id : pip-cache
59- run : |
60- echo "::set-output name=dir::$(pip cache dir)"
61- - name : pip cache
62- uses : actions/cache@v2
63- with :
64- path : |
65- ${{ steps.pip-cache.outputs.dir }}
66- /opt/hostedtoolcache/Python
67- /Users/runner/hostedtoolcache/Python
68- key : ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-pip-${{ hashFiles(format('**/py{0}-ci-requirements.txt', env.PYTHON)) }}
69- restore-keys : |
70- ${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-pip-
71- - name : Install pip-tools
72- run : pip install pip-tools
73- - name : Install apache-arrow on ubuntu
74- run : |
75- sudo apt update
76- sudo apt install -y -V ca-certificates lsb-release wget
77- wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
78- sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
79- sudo apt update
80- sudo apt install -y -V libarrow-dev
81- - name : Install Python dependencies
82- run : make install-python-ci-dependencies
8343 - uses : actions/cache@v2
8444 with :
8545 path : ~/.m2/repository
13595 github.repository == 'feast-dev/feast'
13696 runs-on : ubuntu-latest
13797 needs : unit-test-java
98+ env :
99+ PYTHON : 3.8
138100 steps :
139101 - uses : actions/checkout@v2
140102 with :
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ COPY java/coverage/pom.xml coverage/pom.xml
1616# user to optionally use cached repository when building the image by copying
1717# the existing .m2 directory to $FEAST_REPO_ROOT/.m2
1818ENV MAVEN_OPTS="-Dmaven.repo.local=/build/.m2/repository -DdependencyLocationsEnabled=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3"
19- COPY java/pom.xml .m2/* .m2/
19+ # COPY java/pom.xml .m2/* .m2/
2020RUN mvn dependency:go-offline -DexcludeGroupIds:dev.feast 2>/dev/null || true
2121
2222COPY java/ .
2323COPY protos/feast datatypes/src/main/proto/feast
2424
2525ARG VERSION=dev
2626RUN mvn --also-make --projects serving -Drevision=$VERSION \
27- -DskipUTs=true --batch-mode clean package
27+ -DskipUTs=true -DskipITs=true - -batch-mode clean package
2828#
2929# Download grpc_health_probe to run health check for Feast Serving
3030# https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/
Original file line number Diff line number Diff line change 9595 <arguments >
9696 <argument >setup_it.py</argument >
9797 </arguments >
98+ <skip >${skipITs} </skip >
9899 </configuration >
99100 <id >feast_test_apply</id >
100101 <phase >process-test-resources</phase >
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ def setup_data():
4242 # (link https://docs.google.com/document/d/12UuvTQnTTCJhdRgy6h10zSbInNGSyEJkIxpOcgOen1I/edit)
4343 # about this benchmark setup
4444 def generate_data (
45- num_rows : int , num_features : int , destination : str
46- ) -> pd . DataFrame :
45+ num_rows , num_features , destination
46+ ):
4747 features = [f"feature_{ i } " for i in range (num_features )]
4848 columns = ["entity" , "event_timestamp" ] + features
4949 df = pd .DataFrame (0 , index = np .arange (num_rows ), columns = columns )
You can’t perform that action at this time.
0 commit comments