Skip to content

Commit d65fb6c

Browse files
authored
Add prow job for azure e2e test (#1244)
Signed-off-by: Jacob Klegar <jacob@tecton.ai>
1 parent 4dbdb76 commit d65fb6c

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

.prow/config.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,54 @@ presubmits:
274274
- name: AWS_DEFAULT_REGION
275275
value: us-west-2
276276

277+
- name: test-end-to-end-azure
278+
decorate: true
279+
always_run: true
280+
max_concurrency: 1
281+
spec:
282+
containers:
283+
- image: gcr.io/kf-feast/feast-ci:latest
284+
command: [ "infra/scripts/azure-runner.sh" ]
285+
resources:
286+
requests:
287+
cpu: "2"
288+
memory: "2048Mi"
289+
env:
290+
- name: GOOGLE_APPLICATION_CREDENTIALS
291+
value: /etc/gcloud/service-account.json
292+
- name: RESOURCE_GROUP
293+
value: Feast
294+
- name: AKS_CLUSTER_NAME
295+
value: main
296+
- name: DOCKER_REPOSITORY
297+
value: gcr.io/kf-feast
298+
- name: STAGING_PATH
299+
value: https://feastcicd.blob.core.windows.net/staging/cicd-staging
300+
- name: AZ_SERVICE_PRINCIPAL_ID
301+
valueFrom:
302+
secretKeyRef:
303+
name: feast-az-creds
304+
key: AZ_SERVICE_PRINCIPAL_ID
305+
- name: AZ_SERVICE_PRINCIPAL_PASS
306+
valueFrom:
307+
secretKeyRef:
308+
name: feast-az-creds
309+
key: AZ_SERVICE_PRINCIPAL_PASS
310+
- name: AZ_SERVICE_PRINCIPAL_TENANT_ID
311+
valueFrom:
312+
secretKeyRef:
313+
name: feast-az-creds
314+
key: AZ_SERVICE_PRINCIPAL_TENANT_ID
315+
volumeMounts:
316+
- mountPath: /etc/gcloud/service-account.json
317+
name: service-account
318+
readOnly: true
319+
subPath: service-account.json
320+
volumes:
321+
- name: service-account
322+
secret:
323+
secretName: feast-service-account
324+
277325
postsubmits:
278326
feast-dev/feast:
279327
- name: publish-python-sdk

infra/scripts/azure-runner.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#!/bin/bash

0 commit comments

Comments
 (0)