Skip to content

Commit b349685

Browse files
committed
tests: Decoupling imagestream and buildconfig for SGX for automation
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@intel.com>
1 parent 8cd73e2 commit b349685

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

tests/l2/sgx/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
### Verify Intel® Software Guard Extensions (Intel® SGX) Provisioning
22
This [SampleEnclave](https://github.com/intel/linux-sgx/tree/master/SampleCode/SampleEnclave) application workload from the Intel SGX SDK runs an Intel SGX enclave utilizing the EPC resource from the Intel SGX provisioning.
3+
34
* Build the container image.
45
```
6+
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/sgx/sgx_imagestream.yaml
57
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/sgx/sgx_build.yaml
68
```
79

810
* Deploy and run the workload.
9-
1011
```
1112
$ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/sgx/sgx_job.yaml
1213
```

tests/l2/sgx/sgx_build.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
# Copyright (c) 2023 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
apiVersion: image.openshift.io/v1
5-
kind: ImageStream
6-
metadata:
7-
name: intel-sgx-workload
8-
namespace: intel-sgx
9-
spec: {}
10-
---
114
apiVersion: build.openshift.io/v1
125
kind: BuildConfig
136
metadata:

tests/l2/sgx/sgx_imagestream.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Copyright (c) 2025 Intel Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
apiVersion: image.openshift.io/v1
5+
kind: ImageStream
6+
metadata:
7+
name: intel-sgx-workload
8+
namespace: intel-sgx

0 commit comments

Comments
 (0)