-
Notifications
You must be signed in to change notification settings - Fork 16
ci: github: Add test action that prepare env for smoketests #84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the CI configuration to prepare the environment for smoketests while limiting PR builds to prevent secret exposure.
- Updated docker-compose configuration with a broker image upgrade and refined service parameters.
- Added a new test workflow (.github/workflows/test.yml) for smoketesting on successful builds.
- Refined the build workflow (.github/workflows/build.yml) to improve build argument clarity and support container image uploads.
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
docker-compose.yml | Upgraded broker image version, updated logging and restart policies, and adjusted volumes. |
.github/workflows/test.yml | Introduced smoketest workflow to trigger on successful build runs and download necessary artifacts. |
.github/workflows/build.yml | Simplified job name and restructured build arguments along with adding a step to upload the built image. |
Files not reviewed (1)
- Dockerfile: Language not supported
It can be then test using smoketest script. For the record reusable workflow are enabled once merged in main branch. ci: github: Only build once in branches Since token will be involved in testing, build on PR is disabled because secrets can not be shared from fork to upstream Origin: SiliconLabsSoftware#84 Relate-to: SOSC-163 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#17 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#15 Relate-to: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions Relate-to: Z-Wave-Alliance/z-wave-stack#733 Signed-off-by: Philippe Coval <[email protected]>
You can check result of the test at: https://github.com/rzr/z-wave-protocol-controller/actions/runs/14522947948/job/40747948071 Please merge to enable this action, then I will update my branch to run automated simulated smoketests |
It can be then test using smoketest script. For the record reusable workflow are enabled once merged in main branch. ci: github: Only build once in branches Since token will be involved in testing, build on PR is disabled because secrets can not be shared from fork to upstream Origin: #84 Relate-to: SOSC-163 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#23 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#15 Relate-to: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions Relate-to: Z-Wave-Alliance/z-wave-stack#733 Signed-off-by: Philippe Coval <[email protected]>
To check the workflows I merged by mistake to main , if a problem occurs I will reset head, sorry for bypassing reviewers. |
Origin: SiliconLabsSoftware#85 Relate-to: SiliconLabsSoftware#84 (comment) Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#5 Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#2 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#23 Signed-off-by: Philippe Coval <[email protected]>
Origin: SiliconLabsSoftware#85 Relate-to: SiliconLabsSoftware#84 (comment) Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#5 Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#2 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#23 Signed-off-by: Philippe Coval <[email protected]>
Origin: SiliconLabsSoftware#85 Relate-to: SiliconLabsSoftware#84 (comment) Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#5 Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#2 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#23 Signed-off-by: Philippe Coval <[email protected]>
Origin: SiliconLabsSoftware#85 Relate-to: SiliconLabsSoftware#84 (comment) Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#5 Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#2 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#23 Signed-off-by: Philippe Coval <[email protected]>
Origin: SiliconLabsSoftware#85 Relate-to: SiliconLabsSoftware#84 (comment) Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#5 Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#2 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#23 Signed-off-by: Philippe Coval <[email protected]>
Origin: SiliconLabsSoftware#85 Relate-to: SiliconLabsSoftware#84 (comment) Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#5 Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#2 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#23 Signed-off-by: Philippe Coval <[email protected]>
Origin: SiliconLabsSoftware#85 Relate-to: SiliconLabsSoftware#84 (comment) Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#5 Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#2 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#23 Signed-off-by: Philippe Coval <[email protected]>
Origin: SiliconLabsSoftware#85 Relate-to: SiliconLabsSoftware#84 (comment) Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#5 Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#2 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#23 Signed-off-by: Philippe Coval <[email protected]>
Origin: SiliconLabsSoftware#85 Relate-to: SiliconLabsSoftware#84 (comment) Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#5 Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#2 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#23 Signed-off-by: Philippe Coval <[email protected]>
Origin: SiliconLabsSoftware#85 Relate-to: SiliconLabsSoftware#84 (comment) Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#5 Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#2 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#23 Signed-off-by: Philippe Coval <[email protected]>
Origin: SiliconLabsSoftware#85 Relate-to: SiliconLabsSoftware#84 (comment) Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#5 Relate-to: Z-Wave-Alliance/z-wave-stack-binaries#2 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#23 Signed-off-by: Philippe Coval <[email protected]>
It can be then test using smoketest script.
For the record reusable workflow are enabled once merged in main branch.
ci: github: Only build once in branches
Since token will be involved in testing,
build on PR is disabled because secrets can not be shared from fork to upstream
Relate-to: SOSC-163
Relate-to: https://github.com/SiliconLabsSoftware/z-wave-engine-application-layer/issues/17
Relate-to: https://github.com/SiliconLabsSoftware/z-wave-engine-application-layer/issues/15
Relate-to: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions
Change
Checklist