<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Core on</title><link>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/</link><description>Recent content in Core on</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Sat, 09 Jan 2021 08:48:45 +0000</lastBuildDate><atom:link href="https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/index.xml" rel="self" type="application/rss+xml"/><item><title>Action</title><link>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/action/</link><pubDate>Fri, 11 Apr 2025 15:21:01 +0200</pubDate><guid>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/action/</guid><description>Description An Updatecli action defines what happens after a change is detected and validated. While Updatecli’s sources find changes (like a new version), and targets define where to apply them (like a file), actions describe what to do next—such as creating a pull request.
Parameters Name Type Description Required disablepipelineurl boolean kind string kind specifies the actions resource kind scmid string spec object spec specifies parameters for a specific actions kind title string Examples In the follow example, we define an action that creates a pull request on GitHub when Updatecli detected outdated version of golangci-lint in GitHub action workflow files.</description></item><item><title>Compose</title><link>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/compose/</link><pubDate>Sun, 01 Oct 2023 12:21:01 +0200</pubDate><guid>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/compose/</guid><description>Description The updatecli compose feature allows specifying a list of updatecli policies to enforce. This is useful when applying the same policies on multiple repositories.
By default, it relies on a file named &amp;#34;updatecli-compose.yaml&amp;#34; such as in the follow example:
updatecli-compose.yaml policies: - name: Local Updatecli Website Policies config: - updatecli/updatecli.d/ - name: Handle Nodejs version in githubaction policy: ghcr.io/updatecli/policies/policies/nodejs/githubaction:latest values: - updatecli/values.d/scm.yaml - updatecli/values.d/nodejs.yaml Running updatecli compose apply would enforce the state defined in each of the policies</description></item><item><title>Updatecli Policy</title><link>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/shareandreuse/</link><pubDate>Sun, 01 Oct 2023 12:21:01 +0200</pubDate><guid>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/shareandreuse/</guid><description>Description As the number of updatecli policies increases, more and more, we realize that we need the ability to scale updatecli. Somewhere between what we have now, duplicated manifest(s) for each Git repository, and the Autodiscovery feature.
We want to reuse updatecli policies across many projects. We want to write updatecli policies once and reuse them everywhere.
For example:
Enforcing the same Golang version used at the GitHub organization.</description></item><item><title>Autodiscovery</title><link>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/autodiscovery/</link><pubDate>Sun, 09 Jan 2022 15:21:01 +0200</pubDate><guid>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/autodiscovery/</guid><description>Description In the lifecycle of a software project, dependencies are everywhere. From that third application used to lint our code, the tool used to build our documentation website, or the container image used to distribute our application. As the project grows, the number of dependencies grows as long. Some dependencies are context-dependent, and others are expressed using a standard data structure.
Updatecli is a great tool to handle both situations.</description></item><item><title>Condition</title><link>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/condition/</link><pubDate>Sat, 09 Jan 2021 15:21:01 +0200</pubDate><guid>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/condition/</guid><description>Description A &amp;#34;condition&amp;#34; stage defines whether to run the &amp;#34;Target&amp;#34; stage stage of a pipeline. It runs a check (depending on the resource kind) that returns a boolean indicating its success (true) or failure (true).
Please look at each kind of resource (shell, file, etc.) for details about &amp;#34;how is the success/failure determined?&amp;#34;.
Parameters Name Type Description Required dependson array &amp;ldquo;dependson&amp;rdquo; allows to specify the order of execution of resources.</description></item><item><title>Source</title><link>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/source/</link><pubDate>Sat, 09 Jan 2021 15:21:01 +0200</pubDate><guid>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/source/</guid><description>Description The &amp;#34;source&amp;#34; stage retrieves information from a third &amp;#34;resource&amp;#34; like a file, or an API and then uses that information in later stages.
Parameters Name Type Description Required dependson array &amp;ldquo;dependson&amp;rdquo; allows to specify the order of execution of resources. It accepts a list of rules like &amp;ldquo;(resourceType#)resourceId(:booleanOperator)&amp;rdquo;.
The resourceType is optional and can be one of &amp;ldquo;condition&amp;rdquo;, &amp;ldquo;source&amp;rdquo; or &amp;ldquo;target&amp;rdquo; By default the resourceType is the current resource type</description></item><item><title>Target</title><link>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/target/</link><pubDate>Sat, 09 Jan 2021 15:21:01 +0200</pubDate><guid>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/target/</guid><description>Description The &amp;#34;target&amp;#34; stage is updated if the necessary &amp;#34;resource&amp;#34;, like a file based on information retrieved from a source. This happens provided all condition checks succeed.
Parameters Name Type Description Required dependson array &amp;ldquo;dependson&amp;rdquo; allows to specify the order of execution of resources. It accepts a list of rules like &amp;ldquo;(resourceType#)resourceId(:booleanOperator)&amp;rdquo;.
The resourceType is optional and can be one of &amp;ldquo;condition&amp;rdquo;, &amp;ldquo;source&amp;rdquo; or &amp;ldquo;target&amp;rdquo; By default the resourceType is the current resource type</description></item><item><title>Transformer</title><link>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/transformer/</link><pubDate>Sat, 09 Jan 2021 15:21:01 +0200</pubDate><guid>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/transformer/</guid><description>Description The &amp;#34;transformers&amp;#34; parameter can be used by any stage definition as a &amp;#34;source&amp;#34;, &amp;#34;condition&amp;#34;, or &amp;#34;target&amp;#34;. A &amp;#34;transformers&amp;#34; object contains a list of transformers. Each kind of transformer rules applies a string manipulation like adding or removing characters.
source
Source returns information modified by a list of transformers.
condition
A condition receives information from the source then modifies that value using transformers before using it in the resource.</description></item><item><title>Configuration</title><link>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/configuration/</link><pubDate>Tue, 13 Oct 2020 15:21:01 +0200</pubDate><guid>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/configuration/</guid><description>Updatecli requires a configuration file, or &amp;#34;manifest&amp;#34;, which describes the update pipeline. A manifest describes the &amp;#34;what&amp;#34;, the &amp;#34;when&amp;#34;, and the &amp;#34;where&amp;#34; of the update pipeline.
What
The &amp;#34;what&amp;#34; is the &amp;#34;source&amp;#34; and defines what piece of information we’re looking for, such as the latest application release version, a docker image tag, etc.
When
The &amp;#34;when&amp;#34; is a &amp;#34;condition&amp;#34;, if the condition is satisfied then the target is updated.</description></item><item><title>Version Filter</title><link>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/versionfilter/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2806--amazing-golick-2d0138.netlify.app/docs/core/versionfilter/</guid><description>versionFilter allows to specify the kind of version retrieved from a resource and its version pattern. Default value is &amp;#34;latest&amp;#34; as we want to retrieve the newest version from a resource.
latest If kind is set to latest then no need to specify the patter as we gonna retrieve the newest version from the resource.
Example sources: kubectl: kind: githubRelease spec: owner: &amp;#34;kubernetes&amp;#34; repository: &amp;#34;kubectl&amp;#34; token: &amp;#34;{{ requiredEnv .github.token }}&amp;#34; username: &amp;#34;john&amp;#34; versionFilter: kind: latest transformers: - trimPrefix: &amp;#34;kubernetes-&amp;#34; Return the latest Github release and remove &amp;#34;kubernetes-&amp;#34; from it.</description></item></channel></rss>