Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion L2HalMock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,20 @@ update details in Config.py

python3 TestManager.py


# README FOR CI CD HAL MOCK WORKFLOW
------------------------------------

--> HAL_MOCK yml is the workflow file designed to pull/setup the container/docker, build the binaries and execute testcases on the hal mock virtual environment.
--> A pull request/push on from a branch to sprint,release,develop and main triggers the HAL_MOCK yml.
--> Paths excluded in the yaml file are tools,tests,.github workflows and readme docs. Which makes the workflow to not trigger job when changes happens in any of these files.
--> Conditional commit message check has also been enabled in the workflow,which allows the user to trigger the hal mock environment job only when user specifies hdmicecsource_halmock in the commit message.
--> Workflow steps are:-
--> pull the customized docker from JFROG artifactory.
--> clone and build the required binaries for the mock environment inside docker.
--> make all services up
--> execute the currently developed testcases (L2) on Hdmicec source.
--> generate a test report containing the execution details.
--> fetch the report, upload it as an artifact.
--> users can download this test report artifact from the executed job summary.
--> stop all services
--> Destroy the container/Docker
18 changes: 0 additions & 18 deletions L2HalMock/README_CICD

This file was deleted.

6 changes: 6 additions & 0 deletions L2HalMock/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ if grep -q "HdmiCecSink" <<< "$SelectedPlugins"; then
HdmiCecSink="ON"
fi

if grep -q "HdcpProfile" <<< "$SelectedPlugins"; then
echo "Found: $SelectedPlugins"
HdcpProfile="ON"
fi

# Define ANSI color codes for green
GREEN='\033[0;32m' # Green text
NC='\033[0m' # No color (resets to default)
Expand Down Expand Up @@ -198,6 +203,7 @@ cmake -S . -B build \
-DUSE_THUNDER_R4=ON \
-DPLUGIN_HDMICECSOURCE=$HdmiCecSource \
-DPLUGIN_HDMICECSINK=$HdmiCecSink \
-DPLUGIN_HDCPPROFILE=$HdcpProfile \
-DCOMCAST_CONFIG=OFF \
-DCEC_INCLUDE_DIRS="$SCRIPTS_DIR/workspace/deps/rdk/hdmicec/ccec/include" \
-DOSAL_INCLUDE_DIRS="$SCRIPTS_DIR/workspace/deps/rdk/hdmicec/osal/include" \
Expand Down
35 changes: 0 additions & 35 deletions L2HalMock/manifest.txt

This file was deleted.

31 changes: 0 additions & 31 deletions L2HalMock/manifest.xml

This file was deleted.

22 changes: 0 additions & 22 deletions L2HalMock/patches/rdkservices/FrontPanel.patch

This file was deleted.

23 changes: 0 additions & 23 deletions L2HalMock/patches/rdkservices/SinkCoverage.patch

This file was deleted.

70 changes: 0 additions & 70 deletions L2HalMock/patches/rdkservices/files/CMakeLists.txt

This file was deleted.

9 changes: 0 additions & 9 deletions L2HalMock/patches/rdkservices/files/FrontPanel.json

This file was deleted.

This file was deleted.

62 changes: 0 additions & 62 deletions L2HalMock/patches/rdkservices/files/cmake/FindCEC.cmake

This file was deleted.

Loading
Loading