<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CodeDirect on Webscale Product Documentation</title><link>https://docs.webscale.com/docs/how-tos/codedirect/</link><description>Recent content in CodeDirect on Webscale Product Documentation</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.webscale.com/docs/how-tos/codedirect/index.xml" rel="self" type="application/rss+xml"/><item><title>Building images</title><link>https://docs.webscale.com/docs/how-tos/codedirect/build-image/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/how-tos/codedirect/build-image/</guid><description>&lt;p&gt;This guide shows you how to build a container image from source code stored in a repository using &lt;strong&gt;Webscale CodeDirect&lt;/strong&gt;. The resulting image will be pushed to your configured image registry. You will also learn how to manually trigger a build and view its logs.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;Before you begin, ensure you have:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;A source repository that contains a &lt;strong&gt;Dockerfile&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;An image registry configured under &lt;strong&gt;Providers&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="alert alert-primary" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Note:&lt;/div&gt;
&lt;p&gt;Follow the steps below to configure an AWS ECR registry:&lt;/p&gt;</description></item><item><title>Files and template substitution</title><link>https://docs.webscale.com/docs/how-tos/codedirect/files-in-build-context/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/how-tos/codedirect/files-in-build-context/</guid><description>&lt;p&gt;This guide will show you how to provide files to your CodeDirect container build context. These files may include secret references to secrets securely stored with Webscale and substituted at build time.&lt;/p&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;Before you begin, ensure you have:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A builder created and saved&lt;/li&gt;
&lt;li&gt;The file you want included in your build context uploaded to &lt;a href="https://docs.webscale.com/how-tos/general/files/" target="_blank"&gt;&lt;strong&gt;Webscale Files&lt;/strong&gt;&lt;i class="ps-1 fa fa-external-link"&gt;&lt;/i&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id="add-file-to-build-context"&gt;Add file to build context&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Click the &lt;strong&gt;Edit&lt;/strong&gt; icon for the Builder you would like to modify.&lt;/li&gt;
&lt;li&gt;Expand the Build context panel and select the &lt;strong&gt;File&lt;/strong&gt; archive and &lt;strong&gt;Path&lt;/strong&gt; for the specific file you would like to include in the build context.&lt;/li&gt;
&lt;li&gt;Enter a relative &lt;strong&gt;mount path&lt;/strong&gt;. This is where the file will be mounted in the container. This must not start with a &lt;code&gt;/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If the file is a template file and you would like the value template references to be substituted at build time, check the &lt;strong&gt;Template substitution&lt;/strong&gt; box.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="how-to-use-template-substitution"&gt;How to use template substitution&lt;/h2&gt;
&lt;p&gt;If there are secure values that are not safe to store in the Webscale File directly, but need to be injected into the build context, you can utilize value templates in your file and specify that template substitution should occur during the build. This allows you to securely inject secrets into your build context.&lt;/p&gt;</description></item><item><title>Builders</title><link>https://docs.webscale.com/docs/how-tos/codedirect/builders/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webscale.com/docs/how-tos/codedirect/builders/</guid><description>&lt;p&gt;This document describes the configuration attributes available for CodeDirect Builders. A Builder is responsible for performing builds based on the configuration provided. It defines the source context, build resources, build triggers, and target destination for building and storing a container image.&lt;/p&gt;
&lt;h2 id="build-context"&gt;Build context&lt;/h2&gt;
&lt;p&gt;These settings define the source materials and file inputs used during the build process.&lt;/p&gt;
&lt;h4 id="source-repository"&gt;Source repository&lt;/h4&gt;
&lt;p&gt;The source repository that contains the Dockerfile from which the image will be built.&lt;/p&gt;</description></item></channel></rss>