Skip to content

Commit e3092fa

Browse files
author
zhilingc
committed
Merge branch 'int-test' of github.com:zhilingc/feast into int-test
2 parents 56a10a3 + 7886309 commit e3092fa

5 files changed

Lines changed: 20 additions & 42 deletions

File tree

testing/integration/tests/redis-bq-dataflow/testdata/feature/feature_double_redis.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,4 @@ entity: myentity
44
owner: bob@example.com
55
description: test entity.
66
valueType: DOUBLE
7-
uri: https://github.com/bob/example
8-
dataStores:
9-
serving:
10-
id: REDIS
11-
warehouse:
12-
id: BIGQUERY
7+
uri: https://github.com/bob/example

testing/integration/tests/redis-bq-dataflow/testdata/feature/feature_float_redis.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,4 @@ entity: myentity
44
owner: bob@example.com
55
description: test entity.
66
valueType: FLOAT
7-
uri: https://github.com/bob/example
8-
dataStores:
9-
serving:
10-
id: REDIS
11-
warehouse:
12-
id: BIGQUERY
7+
uri: https://github.com/bob/example

testing/integration/tests/redis-bq-dataflow/testdata/feature/feature_int32_redis.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,4 @@ entity: myentity
44
owner: bob@example.com
55
description: test entity.
66
valueType: INT32
7-
uri: https://github.com/bob/example
8-
dataStores:
9-
serving:
10-
id: REDIS
11-
warehouse:
12-
id: BIGQUERY
7+
uri: https://github.com/bob/example

testing/integration/tests/redis-bq-dataflow/testdata/feature/feature_int64_redis.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,4 @@ entity: myentity
44
owner: bob@example.com
55
description: test entity.
66
valueType: INT64
7-
uri: https://github.com/bob/example
8-
dataStores:
9-
serving:
10-
id: REDIS
11-
warehouse:
12-
id: BIGQUERY
7+
uri: https://github.com/bob/example

testing/integration/tests/redis-bq-dataflow/workflow.yaml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,11 @@ spec:
117117
- name: feast
118118
path: /feast
119119
container:
120-
image: us.gcr.io/kf-feast/test-image:1.0.0
121-
command:
122-
- /bin/bash
123-
- -c
120+
image: maven:3.6.0-jdk-8-slim
121+
command: ["/bin/bash", "-c"]
122+
args:
124123
- mvn package -DskipTests -Drevision=integration-test -T 6 -DdependencyLocationsEnabled=false
125124
workingDir: /feast
126-
resources:
127-
requests:
128-
cpu: 3000m
129125
outputs:
130126
artifacts:
131127
- name: feast-build
@@ -160,19 +156,21 @@ spec:
160156
inputs:
161157
artifacts:
162158
- name: feast
163-
path: /go/src/github.com/gojek/feast
159+
path: /build/feast
164160
container:
165-
image: grpc/go
161+
image: golang:1.12
166162
command: ["/bin/bash", "-c"]
167-
args: ['
168-
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh;
169-
make build-cli
170-
']
171-
workingDir: /go/src/github.com/gojek/feast
163+
args:
164+
- |
165+
GOOS=linux go build -o feast-cli-v0.0.0-linux-amd64 ./cli/feast
166+
GOOS=linux go build -o feast-cli-v0.0.0-darwin-amd64 ./cli/feast
167+
# Fix the feast cli binary name for use by subsequent steps
168+
cp feast-cli-v0.0.0-linux-amd64 /usr/local/bin/feast
169+
workingDir: /build/feast
172170
outputs:
173171
artifacts:
174172
- name: feast-cli
175-
path: /go/src/github.com/gojek/feast/cli/bin/linux-amd64/feast
173+
path: /usr/local/bin/feast
176174
- name: terraform
177175
inputs:
178176
parameters:
@@ -186,10 +184,10 @@ spec:
186184
image: gcr.io/kf-feast/it-terraform:0.1.0
187185
workingDir: /feast/testing/integration/tests/redis-bq-dataflow/tf
188186
command: ["sh", "-c"]
189-
args: ['
190-
terraform init;
187+
args:
188+
- |
189+
terraform init
191190
terraform {{inputs.parameters.arg}}
192-
']
193191
- name: run-test
194192
inputs:
195193
artifacts:

0 commit comments

Comments
 (0)