Project

General

Profile

Revision e8cbb87f

Added by Partha Aji almost 8 years ago

Fixes #8079 - Can update docker tags in repository

View differences:

lib/runcible/extensions/repository.rb
283 283
        unit_search(id, criteria).map { |i| i['metadata'].with_indifferent_access }
284 284
      end
285 285

  
286
      # Updates the docker tags in a repo
287
      # @param  [String]  id the ID of the repository
288
      # @param [Hash]     tags for an image in the following format
289
      #                   the [{:image_id => <image hash>, :tag =>"value"}]
290
      # @return [RestClient::Response]
291
      def update_docker_tags(id, tags)
292
        update(id, :scratchpad => {:tags =>  tags})
293
      end
294

  
286 295
      # Creates or updates a sync schedule for a repository
287 296
      #
288 297
      # @param  [String]                repo_id   the ID of the repository

Also available in: Unified diff