Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-14269

When adding property via user plugin to a docker image, the property is added only to the manifest.json and not to the blobs

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 5.3.0
    • Fix Version/s: None
    • Component/s: Docker, Plugins
    • Product Comments:
      6-Jun-2018: Why does the customer need the properties to be assigned to the BLOBs themselves? All you should care about is the manifest because when the client tries to download an image it first downloads the manifest.
    • Internal Priority:
    • Sprint:
      Leap 14

      Description

      When adding a user plugin to Artifactory, which adds property to a docker image pulled from remote repository.
      the property will be added only to the manifest.json and not to the blobs

      steps to reproduce:
      1.create a user plugin with these lines:

      _download {

      afterRemoteDownload

      { request, repoPath -> String repoPathTest = request.getRepoPath().toPath(); log.info("repoPath: ") log.info(repoPathTest) repositories.setProperty(request.getRepoPath(), "test", "test"); }

      }_

      2. pull an image from remote repository

      3. the property will be set only for the manifest.json and not the blobs

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mohammadt Mohammad Tibi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: