Skip to content

Commit

Permalink
AWS CSDK Release (#1835)
Browse files Browse the repository at this point in the history
* Updating version number and adding relevant PRs to CHANGELOG.md.
* Updating the ci.yml file to use doxygen 1.9.2, updating the config.doxyfile, and adding info to the README.md
* Removing unused parameter warning on 3rd party files

Co-authored-by: Soren Ptak <[email protected]>
  • Loading branch information
Skptak and Soren Ptak authored Dec 1, 2022
1 parent cd495e3 commit 1ef5ffc
Show file tree
Hide file tree
Showing 124 changed files with 411 additions and 782 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build-check-demos:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Clone This Repo
uses: actions/checkout@v2
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
run: |
make -C build/ help | grep demo | tr -d '. ' | xargs make -C build/
build-check-install:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Clone This Repo
uses: actions/checkout@v2
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
# Each line of install_manifest.txt contains the location of an installed library or header
done <install_manifest.txt
complexity:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup
Expand All @@ -175,7 +175,7 @@ jobs:
find platform/ \( -iname '*.c' ! -wholename '*test*' \) |\
xargs complexity --scores --threshold=0 --horrid-threshold=8
spell-check:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install spell
Expand All @@ -194,7 +194,7 @@ jobs:
fi
done
formatting:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install Uncrustify
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
submodules: recursive
- name: Install Doxygen
run: |
wget -qO- "https://sourceforge.net/projects/doxygen/files/rel-1.9.5/doxygen-1.9.5.linux.bin.tar.gz/download" | sudo tar --strip-components=1 -xz -C /usr/local
wget -qO- "https://sourceforge.net/projects/doxygen/files/rel-1.9.2/doxygen-1.9.2.linux.bin.tar.gz/download" | sudo tar --strip-components=1 -xz -C /usr/local
sudo apt-get install -y libclang-9-dev libclang-cpp9 graphviz
- name: Install Python3
uses: actions/setup-python@v2
Expand All @@ -251,7 +251,7 @@ jobs:
path: ./doxygen.zip
retention-days: 2
git-secrets:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -269,7 +269,7 @@ jobs:
git-secrets --register-aws
git-secrets --scan
link-verifier:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/tag-and-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
tag-commit:
name: Tag commit
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -35,7 +35,7 @@ jobs:
create-zip:
needs: tag-commit
name: Create ZIP and verify package for release asset.
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Install ZIP tools
run: sudo apt-get install zip unzip
Expand Down Expand Up @@ -68,8 +68,9 @@ jobs:
cd zip-check/aws-iot-device-sdk-embedded-C-${{ github.event.inputs.version_number }}/aws-iot-device-sdk-embedded-C/
cmake -S . -B build/ \
-G "Unix Makefiles" \
-DBUILD_DEMOS=1 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS='--coverage -Wall -Wextra -Werror' \
-DCMAKE_C_FLAGS='-Wall -Wextra -Werror' \
-DAWS_IOT_ENDPOINT="aws-iot-endpoint" \
-DBROKER_ENDPOINT="broker-endpoint" \
-DCLIENT_CERT_PATH="cert/path" \
Expand All @@ -83,7 +84,8 @@ jobs:
-DCLAIM_PRIVATE_KEY_PATH="key/path" \
-DPROVISIONING_TEMPLATE_NAME="template-name" \
-DDEVICE_SERIAL_NUMBER="00000" \
-DCSR_SUBJECT_NAME="CN=Fleet Provisioning Demo"
-DCSR_SUBJECT_NAME="CN=Fleet Provisioning Demo" \
-DGREENGRASS_ADDRESS="greengrass-address"
make -C build/ help | grep demo | tr -d '. ' | xargs make -C build/ -j8
make -C demos/jobs/jobs_demo_mosquitto -j8
- name : Build Check Tests
Expand All @@ -94,7 +96,7 @@ jobs:
-G "Unix Makefiles" \
-DCMAKE_BUILD_TYPE=Debug \
-DBUILD_TESTS=1 \
-DCMAKE_C_FLAGS='--coverage -Wall -Wextra -Werror' \
-DCMAKE_C_FLAGS='--coverage -Wall -Wextra -Werror -Wno-unused-parameter' \
-DAWS_IOT_ENDPOINT="aws-iot-endpoint" \
-DBROKER_ENDPOINT="broker-endpoint" \
-DCLIENT_CERT_PATH="cert/path" \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
create-release:
name: Create Release and Upload Release Asset
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Create Release
id: create_release
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog for AWS IoT Device SDK for Embedded C

## 202211.00 (November 2022)

### Major Changes
- This release includes an update to how the [Coverity static analysis](https://scan.coverity.com/) scans are performed. There is now a **tools/coverity/README.md** file in each library with instructions on how to perform a scan with 0 [MISRA coding standard](https://www.misra.org.uk) warnings or errors.
- [#1823](https://github.com/aws/aws-iot-device-sdk-embedded-C/pull/1823) Update library submodule pointers to use the same versions used in **[FreeRTOS LTS 202210.01-LTS](https://github.com/FreeRTOS/FreeRTOS-LTS/blob/202210-LTS/CHANGELOG.md)**. The versions of the libraries used for this release went through extensive testing as described in the **[LTS Code Quality Checklist](https://www.freertos.org/lts-libraries.html)**. Further information about the changes can be found in the CHANGELOG.md file in each library.
- [#1779](https://github.com/aws/aws-iot-device-sdk-embedded-C/pull/1779) Update version of MbedTLS from v2.26.0 to v2.28.0

### Minor Changes
- [#1831](https://github.com/aws/aws-iot-device-sdk-embedded-C/pull/1831) Create a demo for connecting a device to a [Greengrass](https://docs.aws.amazon.com/greengrass/v2/developerguide/getting-started.html) core using the [new feature](https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-release-2022-11-15.html) that allows using custom CAs.
- [#1826](https://github.com/aws/aws-iot-device-sdk-embedded-C/pull/1826) Adds a test to verify multiple subscription and unsubscribe requests succeed when done through a single API call.
- [#1809](https://github.com/aws/aws-iot-device-sdk-embedded-C/pull/1809) Reduce the likelihood of encountering transient connection issues by setting TRANSPORT_SEND_RECV_TIMEOUT_MS to a minimum of 1000ms in all tests and demos.

## 202108.00 (August 2021)

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Project information.
cmake_minimum_required( VERSION 3.2.0 )
project( AwsIotDeviceSdkEmbeddedC
VERSION 202108.00
VERSION 202211.00
LANGUAGES C CXX )

# Allow the project to be organized into folders.
Expand Down
Loading

0 comments on commit 1ef5ffc

Please sign in to comment.