mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
rename image dsa-accel-config-demo -> accel-config-demo
This commit is contained in:
parent
bc3fe285af
commit
3df93cf04f
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -115,7 +115,7 @@ jobs:
|
|||||||
|
|
||||||
# Demo images
|
# Demo images
|
||||||
- crypto-perf
|
- crypto-perf
|
||||||
- dsa-accel-config-demo
|
- accel-config-demo
|
||||||
- intel-opencl-icd
|
- intel-opencl-icd
|
||||||
- iaa-qpl-demo
|
- iaa-qpl-demo
|
||||||
- opae-nlb-demo
|
- opae-nlb-demo
|
||||||
|
2
.github/workflows/e2e-dsa.yml
vendored
2
.github/workflows/e2e-dsa.yml
vendored
@ -9,7 +9,7 @@ on:
|
|||||||
- 'release-*'
|
- 'release-*'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGES: 'intel-dsa-plugin intel-idxd-config-initcontainer dsa-accel-config-demo'
|
IMAGES: 'intel-dsa-plugin intel-idxd-config-initcontainer accel-config-demo'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
e2e-dsa:
|
e2e-dsa:
|
||||||
|
@ -152,9 +152,9 @@ We can test the plugin is working by deploying the provided example accel-config
|
|||||||
1. Build a Docker image with an accel-config tests:
|
1. Build a Docker image with an accel-config tests:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ make dsa-accel-config-demo
|
$ make accel-config-demo
|
||||||
...
|
...
|
||||||
Successfully tagged dsa-accel-config-demo:devel
|
Successfully tagged accel-config-demo:devel
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Create a pod running unit tests off the local Docker image:
|
1. Create a pod running unit tests off the local Docker image:
|
||||||
|
@ -7,7 +7,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: dsa-accel-config-demo
|
- name: dsa-accel-config-demo
|
||||||
image: intel/dsa-accel-config-demo:devel
|
image: intel/accel-config-demo:devel
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -76,7 +76,7 @@ screen3()
|
|||||||
clear
|
clear
|
||||||
out 'Run test workload that uses DSA'
|
out 'Run test workload that uses DSA'
|
||||||
command 'curl https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/main/demo/dsa-accel-config-demo-pod.yaml' 100
|
command 'curl https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/main/demo/dsa-accel-config-demo-pod.yaml' 100
|
||||||
command 'curl https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/main/demo/dsa-accel-config-demo/Dockerfile' 100
|
command 'curl https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/main/demo/accel-config-demo/Dockerfile' 100
|
||||||
command 'kubectl create -f https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/main/demo/dsa-accel-config-demo-pod.yaml' 100
|
command 'kubectl create -f https://raw.githubusercontent.com/intel/intel-device-plugins-for-kubernetes/main/demo/dsa-accel-config-demo-pod.yaml' 100
|
||||||
sleep 5
|
sleep 5
|
||||||
out 'Look at the workload output'
|
out 'Look at the workload output'
|
||||||
|
@ -15,6 +15,6 @@ if [ $# != 1 ] || [ "$1" = "?" ] || [ "$1" = "--help" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for file in $(git grep -l '^TAG?*=\|intel/dsa-accel-config-demo:\|intel/crypto-perf:\|intel/opae-nlb-demo:\|intel/dlb-libdlb-demo:\|intel/intel-[^ ]*:\|version=\|appVersion:\|tag:' Makefile deployments demo/*dsa*.yaml demo/*fpga*.yaml pkg/controllers/*/*_test.go build/docker/*.Dockerfile charts test/e2e/*/*.go); do
|
for file in $(git grep -l '^TAG?*=\|intel/accel-config-demo:\|intel/crypto-perf:\|intel/opae-nlb-demo:\|intel/dlb-libdlb-demo:\|intel/intel-[^ ]*:\|version=\|appVersion:\|tag:' Makefile deployments demo/*dsa*.yaml demo/*fpga*.yaml pkg/controllers/*/*_test.go build/docker/*.Dockerfile charts test/e2e/*/*.go); do
|
||||||
sed -i -e "s;\(^TAG?*=\|intel/dsa-accel-config-demo:\|intel/crypto-perf:\|intel/opae-nlb-demo:\|intel/dlb-libdlb-demo:\|intel/intel-[^ ]*:\|version=\|appVersion: [^ ]\|tag: [^ ]\)[^ \"]*;\1$1;g" "$file";
|
sed -i -e "s;\(^TAG?*=\|intel/accel-config-demo:\|intel/crypto-perf:\|intel/opae-nlb-demo:\|intel/dlb-libdlb-demo:\|intel/intel-[^ ]*:\|version=\|appVersion: [^ ]\|tag: [^ ]\)[^ \"]*;\1$1;g" "$file";
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user