dotnet / docker-tools

This is a repo to house some common tools for our various docker repos.
MIT License
122 stars 46 forks source link

EOL annotations pipeline #1340

Closed NikolaMilosavljevic closed 3 months ago

NikolaMilosavljevic commented 3 months ago

Contributes to https://github.com/dotnet/docker-tools/issues/1201

This work requires new annotation command, being added with https://github.com/dotnet/docker-tools/pull/1334

New pipeline allows annotation of EOL digests as a standalone, one-off run, separate from regular image-building pipeline runs.

Digests are specified in a checked-in JSON file in this repo - in a separate branch, used for a specific run.

JSON file format (with sample dates):

{
  "eolDate": "2024-05-27",
  "eolDigests": [
    {
      "digest": "digest-value"
    },
    {
      "digest": "digest-value",
      "eolDate" : "2022-03-01"
    }
  ]
}

EOL data can be specified as a global value (optional) for all digests in the file. Each digest can have its own specific EOL date, which overrides the global value (if set).

dotnet-issue-labeler[bot] commented 3 months ago

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

dotnet-issue-labeler[bot] commented 3 months ago

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.