Skip to content

Commit da17a78

Browse files
workflows: fix release cycle
Publish 9151dk memfault elf too. Remove bootloader firmwares from release. Remove publishing fw to nrfcloud. Signed-off-by: Giacomo Dematteis <giacomo.dematteis@nordicsemi.no>
1 parent b1c169e commit da17a78

5 files changed

+11
-136
lines changed

.github/workflows/attach_release_assets.yml

-9
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,6 @@ jobs:
3737
fail_on_unmatched_files: true
3838
files: |
3939
asset-tracker-template-*.*
40-
nrf91-bl-*.hex
41-
42-
- name: Trigger workflow that publishes firmware bundles to nRF Cloud
43-
working-directory: .github/workflows
44-
env:
45-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46-
run: |
47-
gh workflow run publish-firmware-bundles.yml \
48-
-F version=${{ github.event.release.tag_name }}
4940
5041
- name: Trigger workflow that publishes symbol files to Memfault
5142
working-directory: .github/workflows

.github/workflows/fetch-release-assets.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import fs from "node:fs";
33
import { Readable } from "stream";
44
import { finished } from "stream/promises";
55

6-
const owner = process.env.OWNER ?? "asset-tracker-template";
7-
const repo = process.env.REPO ?? "firmware";
6+
const owner = process.env.OWNER ?? "nrfconnect";
7+
const repo = process.env.REPO ?? "Asset-Tracker-Template";
88
const version = process.argv[process.argv.length - 1];
99

1010
console.log(`Release version`, version);

.github/workflows/publish-firmware-bundles.yml

-34
This file was deleted.

.github/workflows/publish-symbol-files-to-memfault.yml

+9
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@ jobs:
4444
--software-version ${{ inputs.version }} \
4545
asset-tracker-template-${{ inputs.version }}-thingy91x-nrf91.elf
4646
47+
memfault \
48+
--org-token ${{ secrets.MEMFAULT_ORGANIZATION_TOKEN }} \
49+
--org ${{ vars.MEMFAULT_ORGANIZATION_SLUG }} \
50+
--project ${{ vars.MEMFAULT_PROJECT_SLUG }} \
51+
upload-mcu-symbols \
52+
--software-type asset-tracker-template \
53+
--software-version ${{ inputs.version }} \
54+
asset-tracker-template-${{ inputs.version }}-nrf9151dk-nrf91.elf
55+
4756
- name: Publish debug symbol files
4857
run: |
4958
source venv/bin/activate

.github/workflows/register-firmware-bundles.mjs

-91
This file was deleted.

0 commit comments

Comments
 (0)