Skip to content

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

Closed
wants to merge 0 commits into from

Conversation

rzr
Copy link
Collaborator

@rzr rzr commented Apr 17, 2025

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

@rzr rzr requested a review from Copilot April 17, 2025 14:49
Copy link

@Copilot Copilot AI left a 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

rzr added a commit to rzr/z-wave-protocol-controller that referenced this pull request Apr 17, 2025
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]>
@rzr
Copy link
Collaborator Author

rzr commented Apr 17, 2025

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

@rzr rzr requested a review from silabs-aydogane April 18, 2025 10:37
rzr added a commit that referenced this pull request Apr 18, 2025
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]>
@rzr rzr closed this Apr 18, 2025
@rzr
Copy link
Collaborator Author

rzr commented Apr 18, 2025

To check the workflows I merged by mistake to main , if a problem occurs I will reset head, sorry for bypassing reviewers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants