From 0c8dbf59ea4137c5ea7e07f3541f7d24d67fa2f0 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Thu, 15 May 2025 14:18:55 +0200 Subject: [PATCH 1/4] tests: Update zwa app to latest and stick to it This fix a regression, since latest moved. Origin: https://github.com/SiliconLabsSoftware/z-wave-protocol-controller/pull/98 Relate-to: https://github.com/SiliconLabsSoftware/z-wave-engine-application-layer/issues/23 Signed-off-by: Philippe Coval --- .github/workflows/test.yml | 3 ++- helper.mk | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 42170f578..e33155405 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,8 @@ jobs: uses: robinraju/release-downloader@v1.12 with: repository: 'Z-Wave-Alliance/z-wave-stack-binaries' - fileName: 'z-wave-stack-binaries-25.1.0-26-g29d304a-Linux.tar.gz' + tag: 'v25.1.0-28-g7e0b50f' + fileName: 'z-wave-stack-binaries-*-Linux.tar.gz' token: ${{ secrets.GH_ZWAVE_ACCESS_TOKEN }} latest: true diff --git a/helper.mk b/helper.mk index 2cd4d9e96..f0bcc4f03 100755 --- a/helper.mk +++ b/helper.mk @@ -244,15 +244,18 @@ test: ${build_dir} check: test zwa_project?=z-wave-stack-binaries -zwa_rev?=25.1.0-26-g29d304a -zwa_file?=${zwa_project}-${zwa_rev}-Linux.tar.gz +zwa_ver?=25.1.0-28-g7e0b50f +zwa_rev?=v${zwa_ver} +zwa_file?=${zwa_project}-${zwa_ver}-Linux.tar.gz zwa_url?=https://github.com/Z-Wave-Alliance/${zwa_project} zwa_dir?=${zwa_project} ${CURDIR}/tmp/${zwa_file}: @echo "TODO: https://github.com/Z-Wave-Alliance/z-wave-stack-binaries/issues/2" mkdir -p ${@D} && cd ${@D} \ - && gh release download -R "${zwa_url}" --pattern "${zwa_file}" + && gh release download \ + --repo "${zwa_url}" --pattern "${zwa_file}" \ + "${zwa_rev}" ${zwa_dir}: ${CURDIR}/tmp/${zwa_file} mkdir -p "$@" From 7fa9b93f70b8c8fbb1f777413b2fcc29477239ca Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Fri, 16 May 2025 16:03:26 +0200 Subject: [PATCH 2/4] ci: github: Propage test status Signed-off-by: Philippe Coval --- .github/workflows/test.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e33155405..f5c6ae223 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,6 +11,7 @@ on: # yamllint disable-line rule:truthy workflows: ["build"] types: - completed + jobs: test: env: @@ -67,3 +68,17 @@ jobs: cd z-wave-stack-binaries/bin && file -E *_x86_REALTIME.elf && cd - export ZPC_ARGS="--log.level=d" ./scripts/tests/z-wave-stack-binaries-test.sh + + - name: Set custom status + uses: actions/github-script@v7 + with: + script: | + await github.repos.createCommitStatus({ + owner: context.repo.owner, + repo: context.repo.repo, + sha: context.sha, + state: 'success', + context: 'My Custom Check', + description: 'All tests passed!', + target_url: 'https://example.com/results' + }) From 0a4a4f7cb94c1263d9c8f0479ac0719fb732392b Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Thu, 13 Feb 2025 20:02:50 +0100 Subject: [PATCH 3/4] github: ci: Enable armhf Since repo is public it may run for free in forks. Signed-off-by: Philippe Coval --- .github/workflows/build-rootfs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-rootfs.yml b/.github/workflows/build-rootfs.yml index f3b992cee..adef97fa4 100644 --- a/.github/workflows/build-rootfs.yml +++ b/.github/workflows/build-rootfs.yml @@ -14,7 +14,7 @@ jobs: arch: - amd64 - arm64 - # - armhf # TODO Enable when supported + - armhf # TODO Enable when supported steps: - uses: actions/checkout@v4.2.2 with: From 69e8b9602b43fce674028c1c40cf47f933b18285 Mon Sep 17 00:00:00 2001 From: "mend-bolt-for-github[bot]" <42819689+mend-bolt-for-github[bot]@users.noreply.github.com> Date: Thu, 13 Feb 2025 19:04:06 +0000 Subject: [PATCH 4/4] Add .whitesource configuration file --- .whitesource | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .whitesource diff --git a/.whitesource b/.whitesource new file mode 100644 index 000000000..9c7ae90b4 --- /dev/null +++ b/.whitesource @@ -0,0 +1,14 @@ +{ + "scanSettings": { + "baseBranches": [] + }, + "checkRunSettings": { + "vulnerableCheckRunConclusionLevel": "failure", + "displayMode": "diff", + "useMendCheckNames": true + }, + "issueSettings": { + "minSeverityLevel": "LOW", + "issueType": "DEPENDENCY" + } +} \ No newline at end of file