Skip to content
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

Update 202407.00 release information #49

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 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
105 changes: 105 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
name: Release automation

on:
workflow_dispatch:
inputs:
commit_id:
description: 'Commit ID/branch to tag and create a release for'
required: true
version_number:
description: 'Release Version (Eg, 202012.00-LTS)'
required: true

env:
repository_compressed_name: ${{ github.event.repository.name }}v${{ github.event.inputs.version_number }}
repostiory_zip_name: ${{ github.event.repository.name }}.zip

jobs:
tag-commit:
name: Tag commit
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.commit_id }}
- name: Configure git identity
run: |
git config --global user.name ${{ github.actor }}
git config --global user.email ${{ github.actor }}@users.noreply.github.com
- name: create a new branch that references commit id
run: git checkout -b ${{ github.event.inputs.version_number }} ${{ github.event.inputs.commit_id }}
- name: Tag Commit and Push to remote
run: |
git tag ${{ github.event.inputs.version_number }} -a -m "Release ${{ github.event.inputs.version_number }}"
git push origin --tags
- name: Verify tag on remote
run: |
git tag -d ${{ github.event.inputs.version_number }}
git remote update
git checkout tags/${{ github.event.inputs.version_number }}
git diff ${{ github.event.inputs.commit_id }} tags/${{ github.event.inputs.version_number }}
create-zip:
needs: tag-commit
name: Create ZIP and verify package for release asset.
runs-on: ubuntu-latest
steps:
- name: Install ZIP tools
run: sudo apt-get install zip unzip
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.commit_id }}
path: ${{ github.event.repository.name }}
submodules: recursive
- name: Checkout disabled submodules
run: |
cd ${{ github.event.repository.name }}
git submodule update --init --checkout --recursive
- name: Create ZIP
run: |
zip -r ${{ env.repostiory_zip_name }} ${{ github.event.repository.name }} -x "*.git*"
ls ./
- name: Validate created ZIP
run: |
mkdir zip-check
mv ${{ env.repostiory_zip_name }} zip-check
cd zip-check
unzip ${{ env.repostiory_zip_name }} -d ${{ env.repository_compressed_name }}
ls ${{ env.repository_compressed_name }}
diff -r -x "*.git*" ${{ env.repository_compressed_name }}/${{ github.event.repository.name }}/ ../${{ github.event.repository.name }}/
- name: Create artifact of ZIP
uses: actions/upload-artifact@v2
with:
name: ${{ env.repostiory_zip_name }}
path: zip-check/${{ env.repostiory_zip_name }}
create-release:
needs: create-zip
name: Create Release and Upload Release Asset
runs-on: ubuntu-latest
steps:
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.inputs.version_number }}
release_name: ${{ github.event.inputs.version_number }}
body: ${{ github.event.inputs.version_number }} Release
draft: false
prerelease: false
- name: Download ZIP artifact
uses: actions/download-artifact@v2
with:
name: ${{ env.repostiory_zip_name }}
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ env.repostiory_zip_name }}
asset_name: ${{ env.repostiory_zip_name }}
asset_content_type: application/zip
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog for NXP i.MX RT1060 Featured FreeRTOS IoT Integration

## v202407.00 ( July 2024 )
- [#49](https://github.com/FreeRTOS/iot-reference-nxp-rt1060/pull/49) Update 202407.00 release information and Long Term Support (LTS) libraries to 202406.01-LTS.
* [coreMQTT v2.3.1] (https://github.com/FreeRTOS/coreMQTT/blob/v2.3.1)
- [#48](https://github.com/FreeRTOS/iot-reference-nxp-rt1060/pull/48) Update third party submodule
* [Unity v2.6.0](https://github.com/ThrowTheSwitch/Unity/tree/v2.6.0)
* [mbedtls v2.28.8](https://github.com/Mbed-TLS/mbedtls/tree/v2.28.8)
- [#47](https://github.com/FreeRTOS/iot-reference-nxp-rt1060/pull/47) Update FreeRTOS Libraries Integration Test to 202406.00 version
- [#45](https://github.com/FreeRTOS/iot-reference-nxp-rt1060/pull/45) Switch to modular OTA and aws-iot-core-mqtt-file-streams-embedded-c. Update Long Term Support (LTS) libraries to 202406.00-LTS.
* [FreeRTOS-Kernel V11.1.0](https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/V11.1.0)
* [coreMQTT v2.3.0](https://github.com/FreeRTOS/coreMQTT/blob/v2.3.0)
* [corePKCS11 v3.6.1](https://github.com/FreeRTOS/corePKCS11/tree/v3.6.1)
* [coreJSON v3.3.0](https://github.com/FreeRTOS/coreJSON/tree/v3.3.0)
* [backoffAlgorithm v1.4.1](https://github.com/FreeRTOS/backoffAlgorithm/tree/v1.4.1)
* [AWS IoT Jobs v1.5.1](https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk/tree/v1.5.1)
* [AWS IoT Device Shadow v1.4.1](https://github.com/aws/Device-Shadow-for-AWS-IoT-embedded-sdk/tree/v1.4.1)
* [AWS IoT Device Defender v1.4.0](https://github.com/aws/Device-Defender-for-AWS-IoT-embedded-sdk/tree/v1.4.0)
* [AWS MQTT file streams v1.1.0](https://github.com/aws/aws-iot-core-mqtt-file-streams-embedded-c/tree/v1.1.0)

## v202212.00 ( December 2022 )
- [#33](https://github.com/FreeRTOS/iot-reference-nxp-rt1060/pull/33) and [#29](https://github.com/FreeRTOS/iot-reference-nxp-rt1060/pull/29) Update Long Term Support (LTS) libraries to 202210.01-LTS:
* [FreeRTOS-Kernel V10.5.1](https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/V10.5.1/History.txt)
Expand Down
2 changes: 1 addition & 1 deletion Middleware/FreeRTOS/coreMQTT
Submodule coreMQTT updated 54 files
+136 −22 .github/workflows/release.yml
+6 −0 CHANGELOG.md
+3 −3 README.md
+1 −1 docs/doxygen/config.doxyfile
+1 −1 manifest.yml
+12 −12 sbom.spdx
+1 −1 source/core_mqtt.c
+1 −1 source/core_mqtt_serializer.c
+1 −1 source/core_mqtt_state.c
+5 −2 source/include/core_mqtt.h
+1 −1 source/include/core_mqtt_config_defaults.h
+1 −1 source/include/core_mqtt_serializer.h
+1 −1 source/include/core_mqtt_state.h
+1 −1 source/interface/transport_interface.h
+1 −1 test/cbmc/include/core_mqtt_config.h
+1 −1 test/cbmc/include/event_callback_stub.h
+1 −1 test/cbmc/include/get_time_stub.h
+1 −1 test/cbmc/include/mqtt_cbmc_state.h
+1 −1 test/cbmc/include/network_interface_stubs.h
+1 −1 test/cbmc/proofs/MQTT_Connect/MQTT_Connect_harness.c
+1 −1 test/cbmc/proofs/MQTT_DeserializeAck/MQTT_DeserializeAck_harness.c
+1 −1 test/cbmc/proofs/MQTT_DeserializePublish/MQTT_DeserializePublish_harness.c
+1 −1 test/cbmc/proofs/MQTT_Disconnect/MQTT_Disconnect_harness.c
+1 −1 test/cbmc/proofs/MQTT_GetIncomingPacketTypeAndLength/MQTT_GetIncomingPacketTypeAndLength_harness.c
+1 −1 test/cbmc/proofs/MQTT_GetPacketId/MQTT_GetPacketId_harness.c
+1 −1 test/cbmc/proofs/MQTT_GetSubAckStatusCodes/MQTT_GetSubAckStatusCodes_harness.c
+1 −1 test/cbmc/proofs/MQTT_Init/MQTT_Init_harness.c
+1 −1 test/cbmc/proofs/MQTT_MatchTopic/MQTT_MatchTopic_harness.c
+1 −1 test/cbmc/proofs/MQTT_Ping/MQTT_Ping_harness.c
+1 −1 test/cbmc/proofs/MQTT_ProcessLoop/MQTT_ProcessLoop_harness.c
+1 −1 test/cbmc/proofs/MQTT_Publish/MQTT_Publish_harness.c
+1 −1 test/cbmc/proofs/MQTT_ReceiveLoop/MQTT_ReceiveLoop_harness.c
+1 −1 test/cbmc/proofs/MQTT_SerializeAck/MQTT_SerializeAck_harness.c
+1 −1 test/cbmc/proofs/MQTT_SerializeConnect/MQTT_SerializeConnect_harness.c
+1 −1 test/cbmc/proofs/MQTT_SerializeDisconnect/MQTT_SerializeDisconnect_harness.c
+1 −1 test/cbmc/proofs/MQTT_SerializePingreq/MQTT_SerializePingreq_harness.c
+1 −1 test/cbmc/proofs/MQTT_SerializePublish/MQTT_SerializePublish_harness.c
+1 −1 test/cbmc/proofs/MQTT_SerializePublishHeader/MQTT_SerializePublishHeader_harness.c
+1 −1 test/cbmc/proofs/MQTT_SerializeSubscribe/MQTT_SerializeSubscribe_harness.c
+1 −1 test/cbmc/proofs/MQTT_SerializeUnsubscribe/MQTT_SerializeUnsubscribe_harness.c
+1 −1 test/cbmc/proofs/MQTT_Subscribe/MQTT_Subscribe_harness.c
+1 −1 test/cbmc/proofs/MQTT_Unsubscribe/MQTT_Unsubscribe_harness.c
+1 −1 test/cbmc/sources/mqtt_cbmc_state.c
+1 −1 test/cbmc/stubs/event_callback_stub.c
+1 −1 test/cbmc/stubs/get_time_stub.c
+1 −1 test/cbmc/stubs/memmove.c
+1 −1 test/cbmc/stubs/network_interface_stubs.c
+1 −1 test/unit-test/cmock_opaque_types.h
+1 −1 test/unit-test/core_mqtt_config.h
+1 −1 test/unit-test/core_mqtt_serializer_utest.c
+1 −1 test/unit-test/core_mqtt_state_utest.c
+1 −1 test/unit-test/core_mqtt_utest.c
+1 −1 test/unit-test/logging/logging_levels.h
+1 −1 test/unit-test/logging/logging_stack.h
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ For more details on the feature, see the [NXP Featured IoT Reference Integration
### Folder Structure
The folder inside the repository is organized as follows:
```
|— core/
|- Middleware/
|- NXP/
|- AWS/
|- FreeRTOS/
|- third_party libs
|- examples/
|- evkbmimxrt1060/
|- common/
|- projects/
|- evkbmimxrt1060/
|- README.md
|- LICENSE
├─ core/
├─ Middleware/
│  ├─ NXP/
│ ├─ AWS/
│ ├─ FreeRTOS/
│ └─ third_party libs
├─ examples/
│ ├─ evkbmimxrt1060/
│ └─ common/
├─ projects/
│ └─ evkbmimxrt1060/
├─ README.md
└─ LICENSE
```
The root of the repository contains the following top level folders:
* `core` contains submodules to NXP's MCUX SDK repository. The repository hosts the MCUXpresso software development package which contains ARM CMSIS core files,
Expand Down
6 changes: 0 additions & 6 deletions idt_config/dummyPublicKeyAsciiHex.txt

This file was deleted.

10 changes: 0 additions & 10 deletions idt_config/linux/build.sh

This file was deleted.

19 changes: 0 additions & 19 deletions idt_config/linux/config.json

This file was deleted.

60 changes: 0 additions & 60 deletions idt_config/linux/device.json

This file was deleted.

11 changes: 0 additions & 11 deletions idt_config/linux/flash.sh

This file was deleted.

48 changes: 0 additions & 48 deletions idt_config/linux/userdata.json

This file was deleted.

10 changes: 0 additions & 10 deletions idt_config/mac/build.sh

This file was deleted.

19 changes: 0 additions & 19 deletions idt_config/mac/config.json

This file was deleted.

Loading