docker-tools
docker-tools copied to clipboard
This is a repo to house some common tools for our various docker repos.
Fixes various issues from https://github.com/dotnet/dotnet-docker/pull/5421. - Use authentication for Build command - Use PowerShell env var to reference dryRunArg variable - Use Windows PowerShell for Windows jobs There is still...
This PR (https://github.com/dotnet/docker-tools/pull/884) introduce a template pattern where `internalProjectName` and `publicProjectName` parameters were defined and passed around to templates rather than hardcoding the actual AzDO project names: https://github.com/dotnet/docker-tools/blob/86df1f66c815ed8bc35c50147228d003aadcd9b7/eng/common/templates/stages/build-test-publish-repo.yml#L22-L23 This pattern...
At a high level, DockerService depends on the ManifestService. However, DockerService only relies on the ManifestService for methods that have the exact same signature and behavior as ManifestService commands (or...
Fixes https://github.com/dotnet/dotnet-docker-internal/issues/5024 and https://github.com/dotnet/dotnet-docker-internal/issues/5026 Will update the PR description when I'm ready to publish.
...in https://github.com/dotnet/docker-tools/pull/1293. We need the RegistryCredentialsOptions on GetStaleImagesCommand so that we can pass in our DockerHub credentials to avoid rate-limiting. The option was mistakenly removed in the above linked PR....
https://github.com/dotnet/docker-tools/pull/1293 introduced the `InnerManifestClient`/`ManifestClient` pairing of classes. `ManifestClient` wraps the `InnerManifestClient` (which was formerly just `ManifestClient`) so that we can mock its extension methods for testing. The core issue is...
Currently we hardcode the resource scope for the MAR status API: https://github.com/dotnet/docker-tools/blob/7b8f03267f6687fd6ecf7bca1071f74536c1cfa6/src/Microsoft.DotNet.ImageBuilder/src/McrStatusClient.cs#L20 This is very inflexible and requires changes to our source code if we need to change where this...
The changes from https://github.com/dotnet/docker-tools/pull/1272 caused an issue with the satisfying the MEF imports for `BuildCommand`. These show up in the output (see below) but do not cause an exception when...