opea-project / GenAIInfra

Containerization and cloud native suite for OPEA
Apache License 2.0
16 stars 22 forks source link

add gmc e2e #84

Closed irisdingbj closed 3 weeks ago

irisdingbj commented 3 weeks ago

Description

add gmc e2e test

Issues

n/a.

Type of change

List the type of change like below. Please delete options that are not relevant.

Dependencies

jq we need to have jq installed on CI machine. sudo apt-get install jq

Tests

e2e

daisy-ycguo commented 3 weeks ago

The dependency jq is installed in the runner machine.

daisy-ycguo commented 3 weeks ago

Forget to mention, please add docker build and docker push as one step in the github workflow.

irisdingbj commented 3 weeks ago

The dependency jq is installed in the runner machine.

Thanks for this great support

daisy-ycguo commented 3 weeks ago

One more comment, please use ${{ github.event.pull_request.head.sha }} as the image tag for the gmc images. And use this tag in your docker build, push and test.

irisdingbj commented 3 weeks ago

MountVolume.SetUp failed for volume "model-volume" : hostPath type check failed: /home/sdp/charts-mnt/models is not a directory need to check the CI machine set up

below is tgi pod spec: Volumes: model-volume: Type: HostPath (bare host directory volume) Path: /home/sdp/charts-mnt/models HostPathType: Directory