Commit 1634b86
authored
Automate updating the self-hosted artifact tracker's vizier, operator and cli version (#2076)
Summary: Automate updating the self-hosted artifact tracker's vizier,
operator and cli version
This was previously done manually and from talking with end users in
Slack people are often running very old Vizier versions as a result.
Let's include updating this file in the same automation that updates the
README on releases.
Relevant Issues: Closes #1907
Type of change: /kind cleanup
Test Plan: Tested the script with the various release types
```
$ ./ci/update_files_with_release_versions.sh vizier 0.14.15 '<!--vizier-latest-release'
$ git diff k8s
diff --git a/k8s/cloud/public/base/artifact_tracker_versions.yaml b/k8s/cloud/public/base/artifact_tracker_versions.yaml
index 69fbcaf..1aa87c7e5 100644
--- a/k8s/cloud/public/base/artifact_tracker_versions.yaml
+++ b/k8s/cloud/public/base/artifact_tracker_versions.yaml
@@ -12,7 +12,7 @@ spec:
- name: artifact-tracker-server
env:
- name: PL_VIZIER_VERSION
- value: "0.14.14"
+ value: "0.14.15"
- name: PL_CLI_VERSION
value: "0.8.5"
- name: PL_OPERATOR_VERSION
# Remove changes
$ git checkout -- k8s
$ ./ci/update_files_with_release_versions.sh cli 0.14.15 '<!--cli-latest-release'
ddelnano@dev-vm:~/code/pixie-extra (ddelnano/update-artifact-versions-on-release) $ git diff k8s/
diff --git a/k8s/cloud/public/base/artifact_tracker_versions.yaml b/k8s/cloud/public/base/artifact_tracker_versions.yaml
index 69fbcaf..e0b50ee83 100644
--- a/k8s/cloud/public/base/artifact_tracker_versions.yaml
+++ b/k8s/cloud/public/base/artifact_tracker_versions.yaml
@@ -14,6 +14,6 @@ spec:
- name: PL_VIZIER_VERSION
value: "0.14.14"
- name: PL_CLI_VERSION
- value: "0.8.5"
+ value: "0.14.15"
- name: PL_OPERATOR_VERSION
value: "0.1.7"
# Remove changes
$ git checkout -- k8s
$ ./ci/update_files_with_release_versions.sh operator 0.14.15 '<!--operator-latest-release'
$ git diff k8s
diff --git a/k8s/cloud/public/base/artifact_tracker_versions.yaml b/k8s/cloud/public/base/artifact_tracker_versions.yaml
index 69fbcaf..6466f8a4b 100644
--- a/k8s/cloud/public/base/artifact_tracker_versions.yaml
+++ b/k8s/cloud/public/base/artifact_tracker_versions.yaml
@@ -16,4 +16,4 @@ spec:
- name: PL_CLI_VERSION
value: "0.8.5"
- name: PL_OPERATOR_VERSION
- value: "0.1.7"
+ value: "0.14.15"
# Remove changes and verify cloud release results in no changes
$ git checkout -- k8s/
$ ./ci/update_files_with_release_versions.sh cloud 0.14.15 '<!--cloud-latest-release'
$ git diff k8s/
```
Changelog Message: Add automation to ensure self-hosted Cloud
deployments receive updated vizier, operator and cli version manifests
---------
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>1 parent a63b134 commit 1634b86
File tree
4 files changed
+19
-9
lines changed- .github/workflows
- ci
- k8s/cloud/public/base
4 files changed
+19
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
48 | 54 | | |
49 | 55 | | |
50 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments