<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Docs on kevin</title><link>https://kevin-env.dev/docs/</link><description>Recent content in Docs on kevin</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://kevin-env.dev/docs/index.xml" rel="self" type="application/rss+xml"/><item><title>Quickstart</title><link>https://kevin-env.dev/docs/quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/quickstart/</guid><description>&lt;h1 id="quickstart"&gt;Quickstart&lt;a class="anchor" href="#quickstart"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;In this tutorial you install kevin, start an example environment with an nginx container, and reach it over HTTPS through the kevin proxy.&lt;/p&gt;&#10;&lt;h2 id="prerequisites"&gt;Prerequisites&lt;a class="anchor" href="#prerequisites"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Docker, running. Podman also works. If both are installed, add &lt;code&gt;--engine podman&lt;/code&gt; to each &lt;code&gt;kevin&lt;/code&gt; command.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;code&gt;git&lt;/code&gt; and &lt;code&gt;curl&lt;/code&gt;.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;A clone of the kevin repository, for the example environment:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;git clone https://github.com/kevin-env/kevin.git&#10;&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; kevin&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="install-kevin"&gt;Install kevin&lt;a class="anchor" href="#install-kevin"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Download the archive for your OS and architecture from the &lt;a href="https://github.com/kevin-env/kevin/releases"&gt;GitHub releases page&lt;/a&gt;, or use &lt;code&gt;curl&lt;/code&gt;:&lt;/p&gt;</description></item><item><title>Contributing</title><link>https://kevin-env.dev/docs/contributing/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/contributing/</guid><description>&lt;h1 id="contributing"&gt;Contributing&lt;a class="anchor" href="#contributing"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;kevin builds with &lt;a href="https://github.com/justenwalker/gnob"&gt;gnob&lt;/a&gt;, vendored under &lt;code&gt;build/&lt;/code&gt;. Bootstrap it once. After that, it rebuilds itself when its sources change:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;go generate -C ./build -tags gnob . &lt;span class="c1"&gt;# bootstrap, once&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;./build/gnob -help &lt;span class="c1"&gt;# list every target, with a one-line description each&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;./build/gnob build &lt;span class="c1"&gt;# build bin/kevin and bin/kevin-plugin-echo&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;./bin/kevin -C examples/web run &lt;span class="c1"&gt;# try it, Ctrl-C to remove&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Run one test with &lt;code&gt;go test&lt;/code&gt;:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;go &lt;span class="nb"&gt;test&lt;/span&gt; ./internal/dag/... -run TestName -v&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;go &lt;span class="nb"&gt;test&lt;/span&gt; -C tests/e2e -tags e2e -run TestName ./... &lt;span class="c1"&gt;# an end-to-end test: tests/e2e is its own Go module&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;golangci-lint&lt;/code&gt; (&lt;code&gt;.golangci.yaml&lt;/code&gt;) enables every linter, then disables some. The comments in the file give the reason for each. Read them before you add a &lt;code&gt;//nolint&lt;/code&gt;. &lt;a href="https://github.com/kevin-env/kevin/blob/main/docs/GO_CONVENTIONS.md"&gt;&lt;code&gt;docs/GO_CONVENTIONS.md&lt;/code&gt;&lt;/a&gt; covers the style rules that the linter cannot check.&lt;/p&gt;</description></item><item><title>Kevin vs. Other Tools</title><link>https://kevin-env.dev/docs/comparison/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kevin-env.dev/docs/comparison/</guid><description>&lt;h1 id="kevin-vs-other-tools"&gt;kevin vs. other tools&lt;a class="anchor" href="#kevin-vs-other-tools"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;kevin combines four things: an environment that exists only while you use it, a DAG that runs independent steps in parallel, a proxy that terminates TLS, controls egress, and can intercept real hostnames, and a plugin protocol that any language can implement. This page compares kevin with other tools, from the most similar to the least.&lt;/p&gt;&#10;&lt;h2 id="garden"&gt;Garden&lt;a class="anchor" href="#garden"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;&lt;a href="https://garden.io"&gt;Garden&lt;/a&gt; is the most similar. A Garden project is a &lt;a href="https://docs.garden.io/reference/glossary#action-graph"&gt;graph of actions&lt;/a&gt; run by &lt;a href="https://docs.garden.io/reference/providers"&gt;providers&lt;/a&gt;, the same model as kevin&amp;rsquo;s steps and plugins, and it is for the same job: development and test environments, locally or in CI.&lt;/p&gt;</description></item></channel></rss>