12 Commits

Author SHA1 Message Date
Gaurav-Aggarwal-AWS
ed0270e43f 202012.02 LTS Patch Release (#10)
202012.02 LTS Patch Release

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2021-09-10 14:27:57 -07:00
xuelix
796f78789e Merge pull request #9 from xuelix/secret
Git-secrets check on all PR branches
2021-03-05 22:00:01 +00:00
Xueli Xie
89d8cd7e2b Remove branch keywords 2021-03-04 14:59:34 -08:00
Gaurav-Aggarwal-AWS
7d3942ab56 Merge pull request #7 from xuelix/git-secrets
Added git-secrets check to Github Actions
2021-03-04 13:23:40 -08:00
Xueli Xie
50dbe5f751 Changed to use correct branch name in PR case 2021-03-04 11:17:44 -08:00
Xueli Xie
43152ec6b7 Added git-secrets check to Github Actions 2021-03-02 15:49:24 -08:00
leegeth
1bb18c8dfb Update submodule pointer for Jobs (#6) 2021-02-27 17:36:54 -08:00
abhidixi11
76f405d11e Merge pull request #5 from divekarshubham/202012-LTS
Update OTA submodule pointer
2021-02-27 17:32:41 -08:00
Shubham Divekar
e450749106 Updating OTA submodule pointer 2021-02-27 15:06:03 -08:00
Archit Aggarwal
8aef024925 Changes for 202012.01 release (#2) 2021-02-26 17:45:51 -08:00
leegeth
c3941e76bb Update the release zip name to be consistent with the prior release. (#4) 2021-02-26 13:53:35 -08:00
Archit Aggarwal
09ad9ee5d7 Add GitHub Action job to automate release
Add a GitHub Action job to trigger a release process which includes operations of: 
1. Creating and pushing the release tag to the repository 
2. Verifying the pushed tag (performing a diff with the commit ID which is tagged) 
3. Creating a ZIP for the release asset. 
4. Verifying the ZIP by performing a diff check and running unit tests on the unzipped files. 5. Creating a release on the repository for the tag, and uploading the ZIP as the release asset

The workflow can be manually triggered and takes the input values of Commit ID/Branch (to create a release for) and the Version string for tagging the release with
2021-02-25 15:06:49 -08:00
11 changed files with 197 additions and 18 deletions

24
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: CI Checks
on:
push:
pull_request:
workflow_dispatch:
jobs:
git-secrets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Checkout awslabs/git-secrets
uses: actions/checkout@v2
with:
repository: awslabs/git-secrets
ref: master
path: git-secrets
- name: Install git-secrets
run: cd git-secrets && sudo make install && cd ..
- name: Run git-secrets
run: |
git-secrets --register-aws
git-secrets --scan

98
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,98 @@
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
jobs:
tag-commit:
name: Tag commit
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.commit_id }}
- name: Configure git identity
run: |
git config --global user.name "Release Workflow"
- 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@v2
with:
ref: ${{ github.event.inputs.commit_id }}
path: FreeRTOS-LTS
submodules: recursive
- name: Checkout disabled submodules
run: |
cd FreeRTOS-LTS
git submodule update --init --checkout --recursive
- name: Create ZIP
run: |
zip -r FreeRTOSv${{ github.event.inputs.version_number }}.zip FreeRTOS-LTS -x "*.git*"
ls ./
- name: Validate created ZIP
run: |
mkdir zip-check
mv FreeRTOSv${{ github.event.inputs.version_number }}.zip zip-check
cd zip-check
unzip FreeRTOSv${{ github.event.inputs.version_number }}.zip -d FreeRTOSv${{ github.event.inputs.version_number }}
ls FreeRTOSv${{ github.event.inputs.version_number }}
diff -r -x "*.git*" FreeRTOSv${{ github.event.inputs.version_number }}/FreeRTOS-LTS/ ../FreeRTOS-LTS/
- name: Create artifact of ZIP
uses: actions/upload-artifact@v2
with:
name: FreeRTOSv${{ github.event.inputs.version_number }}.zip
path: zip-check/FreeRTOSv${{ github.event.inputs.version_number }}.zip
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: FreeRTOSv${{ github.event.inputs.version_number }}.zip
- 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: ./FreeRTOSv${{ github.event.inputs.version_number }}.zip
asset_name: FreeRTOSv${{ github.event.inputs.version_number }}.zip
asset_content_type: application/zip

13
.gitmodules vendored
View File

@@ -25,7 +25,18 @@
path = FreeRTOS/backoffAlgorithm
branch = main
url = https://github.com/FreeRTOS/backoffAlgorithm.git
[submodule "FreeRTOS/FreeRTOS-Kernel"]
path = FreeRTOS/FreeRTOS-Kernel
url = https://github.com/FreeRTOS/FreeRTOS-Kernel.git
[submodule "aws/jobs-for-aws-iot-embedded-sdk"]
path = aws/jobs-for-aws-iot-embedded-sdk
branch = main
url = https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk.git
[submodule "aws/device-defender-for-aws-iot-embedded-sdk"]
path = aws/device-defender-for-aws-iot-embedded-sdk
branch = main
url = https://github.com/aws/Device-Defender-for-AWS-IoT-embedded-sdk.git
[submodule "aws/ota-for-aws-iot-embedded-sdk"]
path = aws/ota-for-aws-iot-embedded-sdk
branch = main
url = https://github.com/aws/ota-for-aws-iot-embedded-sdk.git

25
CHANGELOG.md Normal file
View File

@@ -0,0 +1,25 @@
# ChangeLog for FreeRTOS 202012-LTS
## 202012.02-LTS (September 2021)
Update the following libraries in the Long Term Support (LTS) patch release:
* [FreeRTOS-Kernel V10.4.3 LTS Patch 1](https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.4.3-LTS-Patch-1)
* [FreeRTOS-Plus-TCP v2.3.2 LTS Patch 1](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/tree/V2.3.2-LTS-Patch-1)
## 202012.01-LTS (March 2021)
Add the following libraries to the Long Term Support (LTS) release:
* [AWS IoT Device Defender v1.1.0](https://github.com/aws/Device-Defender-for-AWS-IoT-embedded-sdk/tree/v1.1.0)
* [AWS IoT Jobs v1.1.0](https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk/tree/v1.1.0)
* [AWS IoT Over-the-air Update v3.0.0](https://github.com/aws/ota-for-aws-iot-embedded-sdk/tree/v3.0.0)
## 202012.00-LTS (December 2020)
Long Term Support (LTS) release of the following libraries:
* [FreeRTOS-Kernel V10.4.3](https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.4.3)
* [FreeRTOS-Plus-TCP v2.3.2](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/tree/V2.3.2)
* [coreMQTT v1.1.0](https://github.com/FreeRTOS/coreMQTT/tree/v1.1.0)
* [coreHTTP v2.0.0](https://github.com/FreeRTOS/coreHTTP/tree/v2.0.0)
* [corePKCS11 v3.0.0](https://github.com/FreeRTOS/corePKCS11/tree/v3.0.0)
* [coreJSON v3.0.0](https://github.com/FreeRTOS/coreJSON/tree/v3.0.0)
* [backoffAlgorithm v1.0.0](https://github.com/FreeRTOS/backoffAlgorithm/tree/v1.0.0)
* [AWS IoT Device Shadow v1.0.2](https://github.com/aws/Device-Shadow-for-AWS-IoT-embedded-sdk/tree/v1.0.2)

View File

@@ -3,22 +3,25 @@ FreeRTOS offers feature stability with long term support (LTS) releases. FreeRTO
## FreeRTOS/FreeRTOS Long Term Support
Libraries in this GitHub branch (also listed below) are part of the [FreeRTOS 202012.00 LTS](https://github.com/FreeRTOS/FreeRTOS-LTS/tree/202012-LTS) release. Learn more at https://freertos.org/lts-libraries.html.
Libraries in this GitHub branch (also listed below) are part of the [FreeRTOS 202012.02 LTS](https://github.com/FreeRTOS/FreeRTOS-LTS/tree/202012-LTS) patch release. Learn more at https://freertos.org/lts-libraries.html.
| Library | Version | LTS Until | LTS Repo URL |
|-----------------------|---------|------------|---------------------------------------------------------------------------|
| FreeRTOS Kernel | 10.4.3 | 12/31/2022 | https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.4.3 |
| FreeRTOS-Plus-TCP | 2.3.2 | 12/31/2022 | https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/tree/V2.3.2 |
| coreMQTT | 1.1.0 | 12/31/2022 | https://github.com/FreeRTOS/coreMQTT/tree/v1.1.0 |
| coreHTTP | 2.0.0 | 12/31/2022 | https://github.com/FreeRTOS/coreHTTP/tree/v2.0.0 |
| corePKCS11 | 3.0.0 | 12/31/2022 | https://github.com/FreeRTOS/corePKCS11/tree/v3.0.0 |
| coreJSON | 3.0.0 | 12/31/2022 | https://github.com/FreeRTOS/coreJSON/tree/v3.0.0 |
| backoffAlgorithm | 1.0.0 | 12/31/2022 | https://github.com/FreeRTOS/backoffAlgorithm/tree/v1.0.0 |
| AWS IoT Device Shadow | 1.0.2 | 12/31/2022 | https://github.com/aws/Device-Shadow-for-AWS-IoT-embedded-sdk/tree/v1.0.2 |
| Library | Version | LTS Until | LTS Repo URL |
|------------------------- |---------------------|------------|--------------------------------------------------------------------------- |
| FreeRTOS Kernel | 10.4.3-LTS-Patch-1 | 03/31/2023 | https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.4.3-LTS-Patch-1 |
| FreeRTOS-Plus-TCP | 2.3.2-LTS-Patch-1 | 03/31/2023 | https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/tree/V2.3.2-LTS-Patch-1 |
| coreMQTT | 1.1.0 | 03/31/2023 | https://github.com/FreeRTOS/coreMQTT/tree/v1.1.0 |
| coreHTTP | 2.0.0 | 03/31/2023 | https://github.com/FreeRTOS/coreHTTP/tree/v2.0.0 |
| corePKCS11 | 3.0.0 | 03/31/2023 | https://github.com/FreeRTOS/corePKCS11/tree/v3.0.0 |
| coreJSON | 3.0.0 | 03/31/2023 | https://github.com/FreeRTOS/coreJSON/tree/v3.0.0 |
| backoffAlgorithm | 1.0.0 | 03/31/2023 | https://github.com/FreeRTOS/backoffAlgorithm/tree/v1.0.0 |
| AWS IoT Device Shadow | 1.0.2 | 03/31/2023 | https://github.com/aws/Device-Shadow-for-AWS-IoT-embedded-sdk/tree/v1.0.2 |
| AWS IoT Device Defender | 1.1.0 | 03/31/2023 | https://github.com/aws/Device-Defender-for-AWS-IoT-embedded-sdk/tree/v1.1.0 |
| AWS IoT Jobs | 1.1.0 | 03/31/2023 | https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk/tree/v1.1.0 |
| AWS IoT Over-the-air Update | 3.0.0 | 03/31/2023 | https://github.com/aws/ota-for-aws-iot-embedded-sdk/tree/v3.0.0 |
## FreeRTOS LTS Versioning and Patches
FreeRTOS LTS releases use a date-based versioning scheme (YYYYMM) followed by a patch sequential number (.XX). For example, FreeRTOS 202012.02 LTS means the second patch to the December-2020 FreeRTOS LTS release. Currently, there are no patches for the FreeRTOS 202012.00 LTS release. You can subscribe to [GitHub notifications](https://docs.github.com/en/free-pro-team@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications) to receive information on patches or other updates to this repository.
FreeRTOS LTS releases use a date-based versioning scheme (YYYYMM) followed by a patch sequential number (.XX). For example, FreeRTOS 202012.02 LTS means the second patch to the December-2020 FreeRTOS LTS release. You can review the [CHANGELOG](./CHANGELOG.md) and subscribe to [GitHub notifications](https://docs.github.com/en/free-pro-team@latest/github/managing-subscriptions-and-notifications-on-github/about-notifications) to receive information on patches or other updates to this repository.
## Security

View File

@@ -1,15 +1,15 @@
name : "FreeRTOS-LTS"
version: "202012.00-LTS"
version: "202012.02-LTS"
description: |-
"Hub Repo for FreeRTOS Long Term Support kernel and libraries"
dependencies:
- name: "FreeRTOS-Kernel"
version: "V10.4.3"
version: "V10.4.3-LTS-Patch-1"
repository:
type: "git"
url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git"
- name: "FreeRTOS-Plus-TCP"
version: "V2.3.2"
version: "V2.3.2-LTS-Patch-1"
repository:
type: "git"
url: "https://github.com/FreeRTOS/FreeRTOS-Plus-TCP.git"
@@ -43,5 +43,20 @@ dependencies:
repository:
type: "git"
url: "https://github.com/FreeRTOS/backoffAlgorithm"
- name: "device-defender"
version: "v1.1.0"
repository:
type: "git"
url: "https://github.com/aws/Device-Defender-for-AWS-IoT-embedded-sdk.git"
- name: "jobs"
version: "v1.1.0"
repository:
type: "git"
url: "https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk.git"
- name: "ota"
version: "v3.0.0"
repository:
type: "git"
url: "https://github.com/aws/ota-for-AWS-IoT-embedded-sdk.git"
license: "MIT"