From 97a02f15c92e01c8f83b3301d72ae18e287f8a72 Mon Sep 17 00:00:00 2001 From: damon Date: Thu, 28 Jan 2021 15:03:57 +1300 Subject: [PATCH] PDK upgrade --- REFERENCE.md | 9 +++++---- Rakefile | 13 ++++++------- metadata.json | 6 +++--- nvidia_docker_runtime.iml | 5 +++++ 4 files changed, 19 insertions(+), 14 deletions(-) diff --git a/REFERENCE.md b/REFERENCE.md index 12b2622..d012529 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -1,15 +1,16 @@ # Reference + ## Table of Contents -**Classes** +### Classes * [`nvidia_docker_runtime`](#nvidia_docker_runtime): Allows the use of `docker run --runtime=nvidia ...` ## Classes -### nvidia_docker_runtime +### `nvidia_docker_runtime` Installs NVIDIA runtime for Docker and the required NVIDIA/CUDA drivers @@ -33,7 +34,7 @@ Data type: `String` NVIDIA/CUDA driver version, for exmaple: `440.64.00-1`. Use to lock down to a specific version. Default: `installed` -Default value: installed +Default value: `installed` ##### `nvidia_docker2_version` @@ -41,5 +42,5 @@ Data type: `String` nvidia_docker2 version, for example: `2.2.2-1`. Use to lock down to a specific version. Default: `installed` -Default value: installed +Default value: `installed` diff --git a/Rakefile b/Rakefile index cb7ed0c..0a5093b 100644 --- a/Rakefile +++ b/Rakefile @@ -52,7 +52,7 @@ if Bundler.rubygems.find_name('github_changelog_generator').any? config.header = "# Change log\n\nAll notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org)." config.add_pr_wo_labels = true config.issues = false - config.merge_prefix = "### UNCATEGORIZED PRS; GO LABEL THEM" + config.merge_prefix = "### UNCATEGORIZED PRS; LABEL THEM ON GITHUB" config.configure_sections = { "Changed" => { "prefix" => "### Changed", @@ -60,11 +60,11 @@ if Bundler.rubygems.find_name('github_changelog_generator').any? }, "Added" => { "prefix" => "### Added", - "labels" => ["feature", "enhancement"], + "labels" => ["enhancement", "feature"], }, "Fixed" => { "prefix" => "### Fixed", - "labels" => ["bugfix"], + "labels" => ["bug", "documentation", "bugfix"], }, } end @@ -72,16 +72,15 @@ else desc 'Generate a Changelog from GitHub' task :changelog do raise <= Gem::Version.new('2.2.2')" + version: '~> 1.15' + condition: "Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.3.0')" EOM end end diff --git a/metadata.json b/metadata.json index cf7f4b3..c08588e 100644 --- a/metadata.json +++ b/metadata.json @@ -39,7 +39,7 @@ "version_requirement": ">= 5.0.0 < 7.0.0" } ], - "pdk-version": "1.18.0", - "template-url": "pdk-default#1.18.0", - "template-ref": "tags/1.18.0-0-g095317c" + "pdk-version": "1.18.1", + "template-url": "pdk-default#1.18.1", + "template-ref": "tags/1.18.1-0-g3d2e75c" } diff --git a/nvidia_docker_runtime.iml b/nvidia_docker_runtime.iml index 024bc6b..15e39e3 100644 --- a/nvidia_docker_runtime.iml +++ b/nvidia_docker_runtime.iml @@ -17,4 +17,9 @@ + + + \ No newline at end of file