<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Contribute on DRA Driver for NVIDIA GPUs</title><link>https://deploy-preview-1127--dra-driver-nvidia-gpu.netlify.app/contribute/</link><description>Recent content in Contribute on DRA Driver for NVIDIA GPUs</description><generator>Hugo</generator><language>en</language><atom:link href="https://deploy-preview-1127--dra-driver-nvidia-gpu.netlify.app/contribute/index.xml" rel="self" type="application/rss+xml"/><item><title>Development</title><link>https://deploy-preview-1127--dra-driver-nvidia-gpu.netlify.app/contribute/development/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-1127--dra-driver-nvidia-gpu.netlify.app/contribute/development/</guid><description>&lt;p&gt;&lt;strong&gt;Tooling:&lt;/strong&gt; Go (version per &lt;a href="https://github.com/kubernetes-sigs/dra-driver-nvidia-gpu/blob/main/go.mod"&gt;&lt;code&gt;go.mod&lt;/code&gt;&lt;/a&gt;), Docker + Buildx, Helm v3, kind, golangci-lint. Codegen tools are installed by &lt;code&gt;make -C deployments/devel install-tools&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="make-targets"&gt;Make targets&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;make build # go build ./...
make cmds # build the five binaries in cmd/
make test # race-enabled unit tests
make generate # CRDs, deepcopy, clientset, listers, informers
make check # golangci-lint + check-generate (the CI gate)
make helm-lint # lint the Helm chart
make bats # BATS integration tests (needs a live cluster)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Prefix any target with &lt;code&gt;docker-&lt;/code&gt; to run it in the devel container (requires &lt;code&gt;BUILD_DEVEL_IMAGE=yes&lt;/code&gt;).&lt;/p&gt;</description></item><item><title>Contribute to Docs</title><link>https://deploy-preview-1127--dra-driver-nvidia-gpu.netlify.app/contribute/docs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-1127--dra-driver-nvidia-gpu.netlify.app/contribute/docs/</guid><description>&lt;p&gt;The site lives in
&lt;a href="https://github.com/kubernetes-sigs/dra-driver-nvidia-gpu/tree/main/site"&gt;&lt;code&gt;site/&lt;/code&gt;&lt;/a&gt;
and is built with &lt;a href="https://gohugo.io/"&gt;Hugo&lt;/a&gt; (the extended build) and the
&lt;a href="https://www.docsy.dev/"&gt;Docsy&lt;/a&gt; theme.&lt;/p&gt;
&lt;h2 id="quick-start"&gt;Quick start&lt;/h2&gt;
&lt;p&gt;You need &lt;a href="https://gohugo.io/installation/"&gt;Hugo (extended)&lt;/a&gt;,
&lt;a href="https://go.dev/doc/install"&gt;Go&lt;/a&gt;, &lt;a href="https://nodejs.org/"&gt;Node.js&lt;/a&gt; (which
provides &lt;code&gt;npm&lt;/code&gt;), and &lt;a href="https://git-scm.com/downloads"&gt;Git&lt;/a&gt; installed. The versions on your machine should meed the minium required versions listed in
&lt;a href="https://github.com/kubernetes-sigs/dra-driver-nvidia-gpu/blob/main/netlify.toml"&gt;&lt;code&gt;netlify.toml&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git clone https://github.com/kubernetes-sigs/dra-driver-nvidia-gpu.git
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; dra-driver-nvidia-gpu/site
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm ci &lt;span class="c1"&gt;# one-time; installs PostCSS deps from package-lock.json&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm run serve &lt;span class="c1"&gt;# http://localhost:1313, live-reload, drafts visible&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To produce the same output Netlify builds for production, from &lt;code&gt;site/&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm run build &lt;span class="c1"&gt;# output written to ./public&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="where-to-look-for-more-details"&gt;Where to look for more details&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;If you need to know…&lt;/th&gt;
 &lt;th&gt;Look at&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Exact Hugo / Go / Node versions used for production builds&lt;/td&gt;
 &lt;td&gt;&lt;a href="https://github.com/kubernetes-sigs/dra-driver-nvidia-gpu/blob/main/netlify.toml"&gt;&lt;code&gt;netlify.toml&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Minimum Hugo version enforced locally, plus all site configuration&lt;/td&gt;
 &lt;td&gt;&lt;a href="https://github.com/kubernetes-sigs/dra-driver-nvidia-gpu/blob/main/site/hugo.toml"&gt;&lt;code&gt;site/hugo.toml&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Docsy theme version this site pins&lt;/td&gt;
 &lt;td&gt;&lt;a href="https://github.com/kubernetes-sigs/dra-driver-nvidia-gpu/blob/main/site/go.mod"&gt;&lt;code&gt;site/go.mod&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;npm scripts and PostCSS dependencies&lt;/td&gt;
 &lt;td&gt;&lt;a href="https://github.com/kubernetes-sigs/dra-driver-nvidia-gpu/blob/main/site/package.json"&gt;&lt;code&gt;site/package.json&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;How to install Hugo on any OS (use the extended build)&lt;/td&gt;
 &lt;td&gt;&lt;a href="https://gohugo.io/installation/"&gt;Hugo installation docs&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Docsy theme prerequisites, configuration, and authoring guide&lt;/td&gt;
 &lt;td&gt;&lt;a href="https://www.docsy.dev/docs/"&gt;Docsy documentation&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;</description></item></channel></rss>