Skip to content

Commit 9227911

Browse files
committed
update to 0.1.5 and add seldon-core-crd to release.py
1 parent 44802aa commit 9227911

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

api-frontend/pom.xml

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

1111
<groupId>io.seldon.apife</groupId>
1212
<artifactId>seldon-apife</artifactId>
13-
<version>0.1.5-SNAPSHOT</version>
13+
<version>0.1.5</version>
1414
<packaging>jar</packaging>
1515

1616
<name>api-frontend</name>

cluster-manager/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>io.seldon.clustermanager</groupId>
55
<artifactId>seldon-cluster-manager</artifactId>
66
<packaging>jar</packaging>
7-
<version>0.1.5-SNAPSHOT</version>
7+
<version>0.1.5</version>
88
<name>seldon-cluster-manager</name>
99
<url>http://maven.apache.org</url>
1010

engine/pom.xml

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

1111
<groupId>io.seldon.engine</groupId>
1212
<artifactId>seldon-engine</artifactId>
13-
<version>0.1.5-SNAPSHOT</version>
13+
<version>0.1.5</version>
1414
<packaging>jar</packaging>
1515

1616
<name>engine</name>

helm-charts/seldon-core-crd/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ keywords:
66
name: seldon-core-crd
77
sources:
88
- https://github.com/SeldonIO/seldon-core
9-
version: 0.1.5-SNAPSHOT
9+
version: 0.1.5

helm-charts/seldon-core/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ keywords:
66
name: seldon-core
77
sources:
88
- https://github.com/SeldonIO/seldon-core
9-
version: 0.1.5-SNAPSHOT
9+
version: 0.1.5

helm-charts/seldon-core/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ apife:
22
enabled: true
33
image:
44
pull_policy: IfNotPresent
5-
tag: 0.1.5-SNAPSHOT
5+
tag: 0.1.5
66
apife_service_type: NodePort
77
cluster_manager:
88
image:
99
pull_policy: IfNotPresent
10-
tag: 0.1.5-SNAPSHOT
10+
tag: 0.1.5
1111
java_opts: ''
1212
rbac: false
1313
spring_opts: ''
1414
engine:
1515
image:
16-
tag: 0.1.5-SNAPSHOT
16+
tag: 0.1.5
1717
redis:
1818
image:
1919
tag: 4.0.1

release.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,18 @@ def update_values_yaml_file(fpath, seldon_core_version, debug=False):
9797

9898
print "updated {fpath}".format(**locals())
9999

100-
def set_version(seldon_core_version, pom_files, chart_yaml_file, values_yaml_file, debug=False):
100+
def set_version(seldon_core_version, pom_files, chart_yaml_files, values_yaml_file, debug=False):
101101
# Normalize file paths
102102
pom_files_realpaths = [os.path.realpath(x) for x in pom_files]
103-
chart_yaml_file_realpath = os.path.realpath(chart_yaml_file) if chart_yaml_file != None else None
103+
chart_yaml_file_realpaths = [os.path.realpath(x) for x in chart_yaml_files]
104104
values_yaml_file_realpath = os.path.realpath(values_yaml_file) if values_yaml_file != None else None
105105

106106
# update the pom files
107107
for fpath in pom_files_realpaths:
108108
update_pom_file(fpath, seldon_core_version, debug)
109109

110-
# update the helm chart file
111-
if chart_yaml_file != None:
110+
# update the helm chart files
111+
for chart_yaml_file_realpath in chart_yaml_file_realpaths:
112112
update_chart_yaml_file(chart_yaml_file_realpath, seldon_core_version, debug)
113113

114114
# update the helm values file
@@ -117,13 +117,13 @@ def set_version(seldon_core_version, pom_files, chart_yaml_file, values_yaml_fil
117117

118118
def main(argv):
119119
POM_FILES = ['engine/pom.xml', 'api-frontend/pom.xml', 'cluster-manager/pom.xml']
120-
CHART_YAML_FILE = 'helm-charts/seldon-core/Chart.yaml'
120+
CHART_YAML_FILES = ['helm-charts/seldon-core/Chart.yaml','helm-charts/seldon-core-crd/Chart.yaml']
121121
VALUES_YAML_FILE = 'helm-charts/seldon-core/values.yaml'
122122

123123
opts = getOpts(argv[1:])
124124
if opts.debug:
125125
pp(opts)
126-
set_version(opts.seldon_core_version, POM_FILES, CHART_YAML_FILE, VALUES_YAML_FILE, opts.debug)
126+
set_version(opts.seldon_core_version, POM_FILES, CHART_YAML_FILES, VALUES_YAML_FILE, opts.debug)
127127
print "done"
128128

129129
if __name__ == "__main__":

0 commit comments

Comments
 (0)