Azure / iot-identity-service

Source of the Azure IoT Identity Service and related services.
MIT License
37 stars 45 forks source link

Remove packages.microsoft.com registration from test script #615

Closed damonbarry closed 1 month ago

damonbarry commented 1 month ago

The custom agents which run the end-to-end test workflows (manual and scheduled) already register packages.microsoft.com with apt, and they sign the registration with a specific keyring file. This clashes with the method of registration happening in the end-to-end tests, causing errors like:

Setting up packages-microsoft-prod (1.0-ubuntu22.04.1) ...
E: Conflicting values set for option Signed-By regarding source https://packages.microsoft.com/ubuntu/22.04/prod/ jammy...

This change removes the redundant and conflicting registration from the test script. It is assumed that packages.microsoft.com has already been registered when the tests run.

To test, I ran the manual workflow against the PR and verifying that it got past the above error.