Skip to content

Commit

Permalink
Build identity service in CI pipeline (#7412)
Browse files Browse the repository at this point in the history
Currently, we do not build the identity service as part of the Build CI pipeline. When we need identity service packages, e.g., in most of our test pipelines, we get them from the GitHub Actions pipeline that runs in the Azure/iot-identity-service repo. We have a script to grab the packages, and it relies on a GitHub person access token (PAT) for authentication. In an effort to meet stricter security requirements that will soon be enforced, we want to eliminate PAT usage wherever possible.

This change reduces GitHub PAT usage in our test pipelines by building identity service packages directly in the Build CI pipeline and saving them as artifacts for consumption by downstream pipelines.

Also, the scripts under the platform-validation/ folder belong to a feature that was not completed and is not supported. Rather than upgrade the pipelines associated with these scripts (which also are not being used), we are removing them.

To test, I ran the Build CI pipeline against these changes and confirmed it generated all the expected artifacts. Then I ran the following pipelines using those artifacts, and confirmed that all jobs passed:
- End-to-end tests
- Nested end-to-end tests
- Connectivity tests
- ISA-95 smoke tests

## Azure IoT Edge PR checklist:
  • Loading branch information
damonbarry authored Jan 31, 2025
1 parent d8c3c46 commit aa707d8
Show file tree
Hide file tree
Showing 28 changed files with 315 additions and 2,370 deletions.
49 changes: 0 additions & 49 deletions builds/checkin/compatibility-tool-checkin.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions builds/checkin/e2e-checkin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ stages:
verbose: false
os: linux
arch: amd64
identityArtifactName: aziot-identity-ubuntu20.04-amd64
artifactName: iotedged-ubuntu20.04-amd64
identityServiceArtifactName: packages_ubuntu-20.04_amd64
identityServicePackageFilter: aziot-identity-service_*_amd64.deb
sas_uri: $[ dependencies.Token.outputs['generate.sas_uri'] ]
steps:
- template: ../e2e/templates/e2e-setup.yaml
Expand Down
232 changes: 0 additions & 232 deletions builds/e2e/compare-compatibility.yaml

This file was deleted.

Loading

0 comments on commit aa707d8

Please sign in to comment.