Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Hugo
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
with:
hugo-version: 0.163.3
hugo-version: 0.164.0
extended: true
- name: Install Bundler
uses: ruby/setup-ruby@7372622e62b60b3cb750dcd2b9e32c247ffec26a # v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updatecli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
persistent-credentials: false
- name: "Setup updatecli"
uses: "updatecli/updatecli-action@5bda7da77bf4d181bce5f807d73d832b62062acf" # v3.3.0
uses: "updatecli/updatecli-action@5dfc616e57b07d2302c3f37e5b72a4ead82dbbf8" # v3.4.0
with:
version: "v0.119.0"
- name: "Run updatecli"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updatecli_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
persist-credentials: false
- name: "Setup updatecli"
uses: "updatecli/updatecli-action@5bda7da77bf4d181bce5f807d73d832b62062acf" # v3.3.0
uses: "updatecli/updatecli-action@5dfc616e57b07d2302c3f37e5b72a4ead82dbbf8" # v3.4.0
with:
version: "v0.119.0"
# releasepost is required by the Updatecli
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updatecli_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
persist-credentials: false
- name: "Setup updatecli"
uses: "updatecli/updatecli-action@5bda7da77bf4d181bce5f807d73d832b62062acf" # v3.3.0
uses: "updatecli/updatecli-action@5dfc616e57b07d2302c3f37e5b72a4ead82dbbf8" # v3.4.0
with:
version: "v0.119.0"
- name: "Test updatecli in dry-run mode"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/updatecli_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
persist-credentials: false
- name: "Setup updatecli"
uses: "updatecli/updatecli-action@5bda7da77bf4d181bce5f807d73d832b62062acf" # v3.3.0
uses: "updatecli/updatecli-action@5dfc616e57b07d2302c3f37e5b72a4ead82dbbf8" # v3.4.0
with:
version: "v0.119.0"
- name: "Run updatecli"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
sources:
default:
name: Get value from systemd configuration
kind: systemd
spec:
file: "wg.container"
section: "Container"
option: Image

conditions:
default:
name: Test if source output exist in systemd configuration
kind: systemd
spec:
file: "wg.container"
section: "Container"
option: Image

targets:
default:
name: Update systemd configuration
kind: systemd
disablesourceinput: true
spec:
file: "wg.container"
section: "Container"
option: Volume
value: "xxx"
54 changes: 52 additions & 2 deletions content/en/changelogs/updatecli/changelogs/v0.119.0.adoc

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions content/en/changelogs/updatecli/changelogs/v0.119.0.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/en/docs/core/telemetry.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ NOTE: `updatecli.push_commits` and `updatecli.prune_scm_branches` are only emitt

==== Span Events

[cols="1,3",options="header"]
[cols="1,1,3",options="header"]
|===
| Event | Span | Description

Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/core/transformer.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ A target receives information from the source then modifies that value with the
| find |-| Search for a string value using regular expression and then return its value exist
| findsubmatch |-| Search for a substring using a regular expression and return its content, more link:#_FindSubMatch[here]
| semverinc| - | Bump semantic version, accept a comma separated list of ["major","minor","patch"]
| quote | false | Add quotes around the value |
| unquote | false | Remove quotes around the value |
| quote | false | Add quotes around the value
| unquote | false | Remove quotes around the value
|===


Expand Down
5 changes: 3 additions & 2 deletions content/en/docs/plugins/autodiscovery/terragrunt.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ It will parsed the module source and infer the source type.
It will update the file using the link:{{< ref "hcl" >}}[`hcl`] target.

It supports the following module source definition and will update with prefixing accordingly

[,hcl]
---
----
terraform {
source = "tfr://someModule?version=1.2.3
}
Expand All @@ -44,7 +45,7 @@ terraform {
terraform {
source = "tfr://${local.module}?version=1.2.3"
}
---
----

== Manifest
=== Parameters
Expand Down
55 changes: 55 additions & 0 deletions content/en/docs/plugins/resource/systemd.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
title: "Systemd"
description: "Manipulate systemd configuration file"
lead: "kind: systemd"
draft: false
images: []
menu:
docs:
parent: "plugin-resource"
toc: true
plugins:
- source
- condition
- target
---
// <!-- Required for asciidoctor -->
:toc:
// Set toclevels to be at least your hugo [markup.tableOfContents.endLevel] config key
:toclevels: 4

[cols="1^,1^,1^",options=header]
|===
| source | condition | target
| &#10004; | &#10004; | &#10004;
|===

== Description

**source**

The Systemd "source" retrieves information from a systemd configuration file.

**condition**

The Systemd "condition" tests that an information exist in a systemd configuration file.

**target**

The Systemd "target" ensures that a systemd configuration file contains a specific value at a location.

IMPORTANT: Updatecli will drop all comments in the system configuration file. Feel free to report an issue if you need to keep comments in the systemd configuration file.

== Parameters

{{< resourceparameters "sources" "systemd" >}}


== Example

[source,yaml]
----
# updatecli.yaml
{{<include "assets/code_example/docs/plugins/resources/systemd/updatecli.d/default.yaml">}}
----

Loading
Loading