Skip to content

Commit 3e5c4a3

Browse files
josilljosillolblak
authored
init (#2630)
Co-authored-by: josill <josill@taltech.ee> Co-authored-by: Olivier Vernin <olivier@vernin.me>
1 parent e0b973d commit 3e5c4a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/code_example/docs/prologue/quickstart/updatecli.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ targets:
2121
name: Bump Jenkins Docker Image Tag
2222
kind: yaml
2323
spec:
24-
key: container.tag
24+
key: $.container.tag
2525
file: data.yaml

content/en/docs/prologue/quick-start.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Updatecli needs at least one manifest to know what update pipeline to apply.
5555
In this manifest, we introduce three important concepts of an updatecli manifest.
5656

5757
. A **Source** definition describes where a piece of information is coming from. In the current example, we're looking for the latest Jenkins weekly version.
58-
. A **Target** definition describes what we want to update based on a *source* output. In our example, we want to update the key "container.tag" in the file "data.yaml" to the version retrieved from the source, the latest Jenkins weekly version.
58+
. A **Target** definition describes what we want to update based on a *source* output. In our example, we want to update the key "$.container.tag" in the file "data.yaml" to the version retrieved from the source, the latest Jenkins weekly version.
5959
. A **Condition** definition defined conditions required to update the target. In this example, we want to test that the docker image "jenkinsci/jenkins:<latest Jenkins weekly version>" exists on DockerHub.
6060

6161
{{< btn-copy text="touch ./updatecli/updatecli.d/jenkins.yaml" >}}

0 commit comments

Comments
 (0)