diff --git a/build/.vsts-ci.yml b/build/.vsts-ci.yml index ea2ff875c..400442674 100644 --- a/build/.vsts-ci.yml +++ b/build/.vsts-ci.yml @@ -3,6 +3,9 @@ variables: runCodesignValidationInjection: false resources: containers: + - container: linux-c-ubuntu-2404 + endpoint: csdk-containers + image: csdkcontainerregistry.azurecr.io/linux-c-ubuntu-2404:latest - container: linux-c-ubuntu-2204 endpoint: csdk-containers image: csdkcontainerregistry.azurecr.io/linux-c-ubuntu-2204:latest @@ -830,6 +833,86 @@ stages: mergeTestResults: true testRunTitle: 'mbedtls' condition: succeededOrFailed() + - job: mbedtls228 + container: linux-c-ubuntu-2204 + pool: + name: 'sdk-c--ubuntu-22' + displayName: 'mbedTLS 2.28' + steps: + - script: | + sudo -E bash jenkins/linux_mbedtls.sh + displayName: 'Build' + - script: | + cd cmake && sudo -E ../build_all/linux/run_tests.sh + env: + IOTHUB_CONNECTION_STRING: $(IOTHUB-CONNECTION-STRING) + IOTHUB_EVENTHUB_CONNECTION_STRING: $(IOTHUB-EVENTHUB-CONNECTION-STRING) + IOTHUB_E2E_X509_CERT_BASE64: $(IOTHUB-E2E-X509-CERT-BASE64) + IOTHUB_E2E_X509_PRIVATE_KEY_BASE64: $(IOTHUB-E2E-X509-PRIVATE-KEY-BASE64) + IOTHUB_E2E_X509_THUMBPRINT: $(IOTHUB-E2E-X509-THUMBPRINT) + IOTHUB_POLICY_KEY: $(IOTHUB-POLICY-KEY) + STORAGE_ACCOUNT_CONNECTION_STRING: $(STORAGE-ACCOUNT-CONNECTION-STRING) + IOT_DPS_CONNECTION_STRING: $(IOT-DPS-CONNECTION-STRING) + IOT_DPS_ID_SCOPE: $(IOT-DPS-ID-SCOPE) + IOTHUB_CA_ROOT_CERT: $(IOTHUB-CA-ROOT-CERT) + IOTHUB_CA_ROOT_CERT_KEY: $(IOTHUB-CA-ROOT-CERT-KEY) + IOT_DPS_GLOBAL_ENDPOINT: $(IOT-DPS-GLOBAL-ENDPOINT) + IOTHUB_DEVICE_CONN_STRING_INVALIDCERT: $(IOTHUB-DEVICE-CONN-STRING-INVALIDCERT) + IOTHUB_CONN_STRING_INVALIDCERT: $(IOTHUB-CONN-STRING-INVALIDCERT) + DPS_GLOBALDEVICEENDPOINT_INVALIDCERT: $(DPS-GLOBALDEVICEENDPOINT-INVALIDCERT) + PROVISIONING_CONNECTION_STRING_INVALIDCERT: $(PROVISIONING-CONNECTION-STRING-INVALIDCERT) + IOT_DPS_INDIVIDUAL_X509_CERTIFICATE: $(IOTHUB-E2E-X509-ECC-CERT-BASE64) + IOT_DPS_INDIVIDUAL_X509_KEY: $(IOTHUB-E2E-X509-ECC-PRIVATE-KEY-BASE64) + IOT_DPS_INDIVIDUAL_REGISTRATION_ID: $(IOT-DPS-INDIVIDUAL-REGISTRATION-ID) + displayName: "Run Tests" + - task: PublishTestResults@2 + displayName: 'Publish mbedTLS Results' + inputs: + testRunner: CTest + testResultsFiles: '**/Test.xml' + mergeTestResults: true + testRunTitle: 'mbedtls' + condition: succeededOrFailed() + - job: mbedtls3x + container: linux-c-ubuntu-2404 + pool: + name: 'sdk-c--ubuntu-22' + displayName: 'mbedTLS 3.x' + steps: + - script: | + sudo -E bash jenkins/linux_mbedtls.sh + displayName: 'Build' + - script: | + cd cmake && sudo -E ../build_all/linux/run_tests.sh + env: + IOTHUB_CONNECTION_STRING: $(IOTHUB-CONNECTION-STRING) + IOTHUB_EVENTHUB_CONNECTION_STRING: $(IOTHUB-EVENTHUB-CONNECTION-STRING) + IOTHUB_E2E_X509_CERT_BASE64: $(IOTHUB-E2E-X509-CERT-BASE64) + IOTHUB_E2E_X509_PRIVATE_KEY_BASE64: $(IOTHUB-E2E-X509-PRIVATE-KEY-BASE64) + IOTHUB_E2E_X509_THUMBPRINT: $(IOTHUB-E2E-X509-THUMBPRINT) + IOTHUB_POLICY_KEY: $(IOTHUB-POLICY-KEY) + STORAGE_ACCOUNT_CONNECTION_STRING: $(STORAGE-ACCOUNT-CONNECTION-STRING) + IOT_DPS_CONNECTION_STRING: $(IOT-DPS-CONNECTION-STRING) + IOT_DPS_ID_SCOPE: $(IOT-DPS-ID-SCOPE) + IOTHUB_CA_ROOT_CERT: $(IOTHUB-CA-ROOT-CERT) + IOTHUB_CA_ROOT_CERT_KEY: $(IOTHUB-CA-ROOT-CERT-KEY) + IOT_DPS_GLOBAL_ENDPOINT: $(IOT-DPS-GLOBAL-ENDPOINT) + IOTHUB_DEVICE_CONN_STRING_INVALIDCERT: $(IOTHUB-DEVICE-CONN-STRING-INVALIDCERT) + IOTHUB_CONN_STRING_INVALIDCERT: $(IOTHUB-CONN-STRING-INVALIDCERT) + DPS_GLOBALDEVICEENDPOINT_INVALIDCERT: $(DPS-GLOBALDEVICEENDPOINT-INVALIDCERT) + PROVISIONING_CONNECTION_STRING_INVALIDCERT: $(PROVISIONING-CONNECTION-STRING-INVALIDCERT) + IOT_DPS_INDIVIDUAL_X509_CERTIFICATE: $(IOTHUB-E2E-X509-ECC-CERT-BASE64) + IOT_DPS_INDIVIDUAL_X509_KEY: $(IOTHUB-E2E-X509-ECC-PRIVATE-KEY-BASE64) + IOT_DPS_INDIVIDUAL_REGISTRATION_ID: $(IOT-DPS-INDIVIDUAL-REGISTRATION-ID) + displayName: "Run Tests" + - task: PublishTestResults@2 + displayName: 'Publish mbedTLS Results' + inputs: + testRunner: CTest + testResultsFiles: '**/Test.xml' + mergeTestResults: true + testRunTitle: 'mbedtls' + condition: succeededOrFailed() - job: cares container: linux-c-ubuntu-c-ares pool: diff --git a/c-utility b/c-utility index 51d6f3f72..599a57868 160000 --- a/c-utility +++ b/c-utility @@ -1 +1 @@ -Subproject commit 51d6f3f7246876051f713c7abed28f909bf604e3 +Subproject commit 599a57868fe831e7607361f21db0f4fb46308264 diff --git a/deps/uhttp b/deps/uhttp index 65449ac08..f091fe1ae 160000 --- a/deps/uhttp +++ b/deps/uhttp @@ -1 +1 @@ -Subproject commit 65449ac08044475f9a14d3667ae04064a8767d76 +Subproject commit f091fe1ae18193a86ad861be04bacb427c5f727e diff --git a/provisioning_client/deps/utpm b/provisioning_client/deps/utpm index 111a6c6ff..ab3f6c4ae 160000 --- a/provisioning_client/deps/utpm +++ b/provisioning_client/deps/utpm @@ -1 +1 @@ -Subproject commit 111a6c6ff7abe98951f60b633445f47e4ac5c0cd +Subproject commit ab3f6c4ae98202591be169782c15ea0b80532c41 diff --git a/uamqp b/uamqp index 96d7179f6..09e08d161 160000 --- a/uamqp +++ b/uamqp @@ -1 +1 @@ -Subproject commit 96d7179f60e558b2c350194ea0061c725377f7e0 +Subproject commit 09e08d1611397e3e542d0f42340165c5dd7196df diff --git a/umqtt b/umqtt index f1cc7804d..205061d49 160000 --- a/umqtt +++ b/umqtt @@ -1 +1 @@ -Subproject commit f1cc7804df4213a8f4b87575b1272b2f16a27438 +Subproject commit 205061d49a803e461e0b368c96cd3b621e613894