Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Commit 945b10c

Browse files
Michał Stachowskisquall0gd
Michał Stachowski
authored andcommitted
CMK release - version v1.2.1.
1 parent e2cdee2 commit 945b10c

19 files changed

+30
-30
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
all: docker
1818

19-
version=v1.2.0
19+
version=v1.2.1
2020

2121
# TODO: This target should be changed, when e2e tests will be ready and test
2222
# entrypoint will be defined.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Options:
6969
--cmk-cmd-list=<list> Comma seperated list of CMK sub-commands to run on
7070
each host
7171
[default: init,reconcile,install,discover,nodereport].
72-
--cmk-img=<img> CMK Docker image [default: cmk:v1.2.0].
72+
--cmk-img=<img> CMK Docker image [default: cmk:v1.2.1].
7373
--cmk-img-pol=<pol> Image pull policy for the CMK Docker image
7474
[default: IfNotPresent].
7575
--conf-dir=<dir> CMK configuration directory [default: /etc/cmk].

RELEASE.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,21 +118,21 @@ Running Vagrant locally syncs your repository directory into `/cmk` using by def
118118
- check whether current branch is `master` and if it's "clean"
119119
- fetch origin
120120
- check whether `CMK_RELEASE_VER` is set, follows proper pattern and there in no existing tag with it's value
121-
- check whether there is no `cmk-release-v1.2.0` branch neither locally nor remotely
122-
- get previous version string from `Makefile` (`version=v1.2.0`) and check
121+
- check whether there is no `cmk-release-v1.2.1` branch neither locally nor remotely
122+
- get previous version string from `Makefile` (`version=v1.2.1`) and check
123123

124124
If all above checks pass, script will:
125-
- create local branch `cmk-release-v1.2.0`
126-
- replace old release string (`v1.2.0`) with new one (`v1.2.0`) in all repo files
127-
- commit changes with message `CMK release - version v1.2.0.`
125+
- create local branch `cmk-release-v1.2.1`
126+
- replace old release string (`v1.2.1`) with new one (`v1.2.1`) in all repo files
127+
- commit changes with message `CMK release - version v1.2.1.`
128128
- push branch to origin
129129
- checkout to `master` branch.
130130

131131
**What will happen after PR gets to `master` branch**
132132
After PR is "Rebased and merged" into `master` branch, Jenkins CI/CD will start VM based on `.release/Vagrantfile` and execute `.release/make_release.py` inside the VM.
133133

134134
**What will `make_release.py` do :**
135-
- check latest commit message for `CMK release - version v1.2.0.` string
136-
- `v1.2.0` will become tag value
135+
- check latest commit message for `CMK release - version v1.2.1.` string
136+
- `v1.2.1` will become tag value
137137
- generate change log
138138
- create release with change log based on tag found in commit message

cmk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
--cmk-cmd-list=<list> Comma seperated list of CMK sub-commands to run on
4545
each host
4646
[default: init,reconcile,install,discover,nodereport].
47-
--cmk-img=<img> CMK Docker image [default: cmk:v1.2.0].
47+
--cmk-img=<img> CMK Docker image [default: cmk:v1.2.1].
4848
--cmk-img-pol=<pol> Image pull policy for the CMK Docker image
4949
[default: IfNotPresent].
5050
--conf-dir=<dir> CMK configuration directory [default: /etc/cmk].
@@ -85,7 +85,7 @@
8585
def main():
8686
setup_logging()
8787

88-
args = docopt(__doc__, version="CMK v1.2.0")
88+
args = docopt(__doc__, version="CMK v1.2.1")
8989
if args["cluster-init"]:
9090
clusterinit.cluster_init(args["--host-list"], args["--all-hosts"],
9191
args["--cmk-cmd-list"], args["--cmk-img"],

docs/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Options:
4949
--cmk-cmd-list=<list> Comma seperated list of CMK sub-commands to run on
5050
each host
5151
[default: init,reconcile,install,discover,nodereport].
52-
--cmk-img=<img> CMK Docker image [default: cmk:v1.2.0].
52+
--cmk-img=<img> CMK Docker image [default: cmk:v1.2.1].
5353
--cmk-img-pol=<pol> Image pull policy for the CMK Docker image
5454
[default: IfNotPresent].
5555
--conf-dir=<dir> CMK configuration directory [default: /etc/cmk].

docs/html/docs/cli.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ <h2>
104104
--cmk-cmd-list=&lt;list&gt; Comma seperated list of CMK sub-commands to run on
105105
each host
106106
[default: init,reconcile,install,discover,nodereport].
107-
--cmk-img=&lt;img&gt; CMK Docker image [default: cmk:v1.2.0].
107+
--cmk-img=&lt;img&gt; CMK Docker image [default: cmk:v1.2.1].
108108
--cmk-img-pol=&lt;pol&gt; Image pull policy for the CMK Docker image
109109
[default: IfNotPresent].
110110
--conf-dir=&lt;dir&gt; CMK configuration directory [default: /etc/cmk].

docs/html/docs/operator.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ <h3>
206206
<li>The subcommands described below should be run in the same order.</li>
207207
<li>The documentation in this section assumes that the <code>CMK</code> configuration directory is <code>/etc/cmk</code> and the <code>cmk</code>
208208
binary is installed on the host under <code>/opt/bin</code>.</li>
209-
<li>In all the pod templates used in this section, the name of container image used is <code>cmk:v1.2.0</code>. It is expected that the
209+
<li>In all the pod templates used in this section, the name of container image used is <code>cmk:v1.2.1</code>. It is expected that the
210210
<code>cmk</code> container image is built and cached locally in the host. The <code>image</code> field will require modification if the
211211
container image is hosted remotely (e.g., in <a href="https://hub.docker.com/">https://hub.docker.com/</a>).</li>
212212
</ul>
@@ -438,7 +438,7 @@ <h2>
438438
<span class="pl-ent">env</span>:
439439
- <span class="pl-ent">name</span>: <span class="pl-s">CMK_PROC_FS</span>
440440
<span class="pl-ent">value</span>: <span class="pl-s"><span class="pl-pds">"</span>/host/proc<span class="pl-pds">"</span></span>
441-
<span class="pl-ent">image</span>: <span class="pl-s">cmk:v1.2.0</span>
441+
<span class="pl-ent">image</span>: <span class="pl-s">cmk:v1.2.1</span>
442442
<span class="pl-ent">imagePullPolicy</span>: <span class="pl-s"><span class="pl-pds">"</span>Never<span class="pl-pds">"</span></span>
443443
<span class="pl-ent">name</span>: <span class="pl-s">cmk-isolate-infra</span>
444444
<span class="pl-ent">volumeMounts</span>:

docs/html/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h2>
143143
--cmk-cmd-list=&lt;list&gt; Comma seperated list of CMK sub-commands to run on
144144
each host
145145
[default: init,reconcile,install,discover,nodereport].
146-
--cmk-img=&lt;img&gt; CMK Docker image [default: cmk:v1.2.0].
146+
--cmk-img=&lt;img&gt; CMK Docker image [default: cmk:v1.2.1].
147147
--cmk-img-pol=&lt;pol&gt; Image pull policy for the CMK Docker image
148148
[default: IfNotPresent].
149149
--conf-dir=&lt;dir&gt; CMK configuration directory [default: /etc/cmk].

docs/operator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ for some reason.
128128
- The subcommands described below should be run in the same order.
129129
- The documentation in this section assumes that the `CMK` configuration directory is `/etc/cmk` and the `cmk`
130130
binary is installed on the host under `/opt/bin`.
131-
- In all the pod templates used in this section, the name of container image used is `cmk:v1.2.0`. It is expected that the
131+
- In all the pod templates used in this section, the name of container image used is `cmk:v1.2.1`. It is expected that the
132132
`cmk` container image is built and cached locally in the host. The `image` field will require modification if the
133133
container image is hosted remotely (e.g., in https://hub.docker.com/).
134134

@@ -393,7 +393,7 @@ spec:
393393
env:
394394
- name: CMK_PROC_FS
395395
value: "/host/proc"
396-
image: cmk:v1.2.0
396+
image: cmk:v1.2.1
397397
imagePullPolicy: "Never"
398398
name: cmk-isolate-infra
399399
volumeMounts:

resources/pods/cmk-cluster-init-pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ spec:
2727
command:
2828
- "/bin/bash"
2929
- "-c"
30-
image: cmk:v1.2.0
30+
image: cmk:v1.2.1
3131
name: cmk-cluster-init-pod
3232
restartPolicy: Never

resources/pods/cmk-discover-pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
valueFrom:
3232
fieldRef:
3333
fieldPath: spec.nodeName
34-
image: cmk:v1.2.0
34+
image: cmk:v1.2.1
3535
name: cmk-discover-pod
3636
volumeMounts:
3737
- mountPath: "/etc/cmk"

resources/pods/cmk-init-pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
- name: NUM_CP_CORES
3636
# Change this to modify the value passed to `--num-cp-cores` flag.
3737
value: '1'
38-
image: cmk:v1.2.0
38+
image: cmk:v1.2.1
3939
name: cmk-init-pod
4040
volumeMounts:
4141
- mountPath: "/etc/cmk"

resources/pods/cmk-install-pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
command:
2727
- "/bin/bash"
2828
- "-c"
29-
image: cmk:v1.2.0
29+
image: cmk:v1.2.1
3030
name: cmk-install-pod
3131
volumeMounts:
3232
- mountPath: "/opt/bin"

resources/pods/cmk-isolate-pod.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
env:
3636
- name: CMK_PROC_FS
3737
value: "/host/proc"
38-
image: cmk:v1.2.0
38+
image: cmk:v1.2.1
3939
name: cmk-isolate-dp
4040
resources:
4141
requests:
@@ -56,7 +56,7 @@ spec:
5656
env:
5757
- name: CMK_PROC_FS
5858
value: "/host/proc"
59-
image: cmk:v1.2.0
59+
image: cmk:v1.2.1
6060
name: cmk-isolate-cp
6161
volumeMounts:
6262
- mountPath: "/host/proc"
@@ -74,7 +74,7 @@ spec:
7474
env:
7575
- name: CMK_PROC_FS
7676
value: "/host/proc"
77-
image: cmk:v1.2.0
77+
image: cmk:v1.2.1
7878
name: cmk-isolate-infra
7979
volumeMounts:
8080
- mountPath: "/host/proc"

resources/pods/cmk-nodereport-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ spec:
4848
valueFrom:
4949
fieldRef:
5050
fieldPath: spec.nodeName
51-
image: cmk:v1.2.0
51+
image: cmk:v1.2.1
5252
name: cmk-nodereport
5353
volumeMounts:
5454
- mountPath: "/host/proc"

resources/pods/cmk-reconcile-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ spec:
4848
valueFrom:
4949
fieldRef:
5050
fieldPath: spec.nodeName
51-
image: cmk:v1.2.0
51+
image: cmk:v1.2.1
5252
name: cmk-reconcile
5353
volumeMounts:
5454
- mountPath: "/host/proc"

resources/pods/cmk-uninstall-all-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ spec:
4646
valueFrom:
4747
fieldRef:
4848
fieldPath: spec.nodeName
49-
image: cmk:v1.2.0
49+
image: cmk:v1.2.1
5050
name: cmk-uninstall-all-nodes
5151
volumeMounts:
5252
- mountPath: "/etc/cmk"

resources/pods/cmk-uninstall-pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spec:
4242
valueFrom:
4343
fieldRef:
4444
fieldPath: spec.nodeName
45-
image: cmk:v1.2.0
45+
image: cmk:v1.2.1
4646
name: cmk-uninstall-pod
4747
volumeMounts:
4848
- mountPath: "/etc/cmk"

tests/integration/test_cmk_help.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_cmk_help():
4747
--cmk-cmd-list=<list> Comma seperated list of CMK sub-commands to run on
4848
each host
4949
[default: init,reconcile,install,discover,nodereport].
50-
--cmk-img=<img> CMK Docker image [default: cmk:v1.2.0].
50+
--cmk-img=<img> CMK Docker image [default: cmk:v1.2.1].
5151
--cmk-img-pol=<pol> Image pull policy for the CMK Docker image
5252
[default: IfNotPresent].
5353
--conf-dir=<dir> CMK configuration directory [default: /etc/cmk].

0 commit comments

Comments
 (0)