-
Notifications
You must be signed in to change notification settings - Fork 10
30 lines (29 loc) · 888 Bytes
/
e2e-test-k8s.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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/checkout@v4.1.1
- 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