-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[serverless] Upload serverless assets to Azure so we can release for …
…a layer (#6561) ## Summary of changes Compiles the serverless assets to an artifact, uploads them, and uses those when building the layer for a release ## Reason for change The serverless layer has been unable to build for a while for releases. The SSI artifacts (which similarly build in gitlab) pull the assets from the GitHub release page, but we're hesitant to add the serverless assets there, because of the risk of confusion for customers. As a workaround, we upload the assets to a public blob store that can be pulled from later. Various other workflows already use this store, so this is just adding an additional asset, and sidesteps the issue. ## Implementation details - Remove the "aggregation" logic out of GitLab (which chooses _which_ artifacts are required) - Add a new stage to AzDo that does the aggregation logic for the required artifacts. - Upload the artifact as a zip file to Azure - In gitlab, pull either directly from azdo (for build branches) or from Azure (for tag branches) ## Test coverage - [Tested the aggregation and upload here](https://dev.azure.com/datadoghq/dd-trace-dotnet/_build/results?buildId=171807&view=results) - [Tested the pulling from gitlab here](https://gitlab.ddbuild.io/DataDog/apm-reliability/dd-trace-dotnet/-/pipelines/53167864) (using a temporary hack to force calling the tag-related code) ## Other details Supersedes - #6543
- Loading branch information
1 parent
8fdb243
commit c11596f
Showing
2 changed files
with
94 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters