Run CIMA E2E test #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run CIMA E2E test | |
on: | |
schedule: | |
- cron: '0 7 * * *' | |
pull_request: | |
paths: | |
- '.github/workflows/e2e-test-k8s.yaml' | |
- 'deployment/**' | |
- 'container/**' | |
- 'sdk/**' | |
workflow_dispatch: | |
jobs: | |
E2E_test: | |
runs-on: tdvm-ut | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Build and push CIMA images | |
run: | | |
sudo ./container/build.sh -r gar-registry.caas.intel.com/cpio -g latest | |
- name: Deploy CIMA server | |
run: | | |
sudo ./deployment/kubernetes/script/deploy-cima.sh -r gar-registry.caas.intel.com/cpio -g latest -d | |
- name: Deploy CIMA test pod | |
run: | | |
sudo ./deployment/kubernetes/script/deploy-cima-example.sh -r gar-registry.caas.intel.com/cpio -g latest -d | |
- name: Run Test | |
run: | | |
sudo ./test/ci-test/ci-e2e-test.sh |