Azure / azure-iot-sdk-c

A C99 SDK for connecting devices to Microsoft Azure IoT services
https://azure.github.io/azure-iot-sdk-c
Other
580 stars 738 forks source link

Disable upload to blob tests in C gates #2621

Closed ewertons closed 1 month ago

ewertons commented 1 month ago
# Checklist - [x] I have read the [contribution guidelines] (https://github.com/Azure/azure-iot-sdk-c/blob/main/.github/CONTRIBUTING.md). - [x] I added or modified the existing tests to cover the change (we do not allow our test coverage to go down). - If this is a modification that impacts the behavior of a public API - [ ] I edited the corresponding document in the `devdoc` folder and added or modified requirements. - I submitted this PR against the correct branch: - [x] This pull-request is submitted against the `main` branch. - [x] I have merged the latest `main` branch prior to submission and re-merged as needed after I took any feedback. - [x] I have squashed my changes into one with a clear description of the change. # Reference/Link to the issue solved with this PR (if any) # Description of the problem

This is a temporary measure until we set up the gates to workaround the guidance to disable azure storage SAS token authorization.

Description of the solution

To reverse these changes: In azure-iot-sdk-c/build: sed -i "s/--no_uploadtoblob //g" .vsts-ci.yml In azure-iot-sdk-c/jenkins: grep -l run-e2e-tests *.sh | xargs sed -i "s/--no_uploadtoblob //g" grep -l run-e2e-tests *.cmd | xargs sed -i "s/--no-uploadtoblob //g" grep -l dont_use_uploadtoblob *.sh | xargs sed -i "s/ -Ddont_use_uploadtoblob:BOOL=OFF//g"