Skip to content

Commit

Permalink
update tests and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Aug 2, 2023
1 parent 376079e commit 34d1a12
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ metadata:
spec:
image:
productVersion: 3.1.3
stackableVersion: 0.0.0-dev
clusterConfig:
database:
connString: jdbc:postgresql://postgresql:5432/hive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ metadata:
spec:
image:
productVersion: 3.1.3
stackableVersion: {{ versions.hive }}
clusterConfig:
database:
connString: jdbc:postgresql://postgresql:5432/hive
Expand Down
3 changes: 0 additions & 3 deletions docs/modules/hive/pages/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ metadata:
spec:
image:
productVersion: 3.1.3
stackableVersion: 0.prerelease
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/metastore_db;create=true
Expand Down Expand Up @@ -225,7 +224,6 @@ metadata:
spec:
image:
productVersion: 3.1.3
stackableVersion: 0.prerelease
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/stackable/metastore_db;create=true
Expand Down Expand Up @@ -295,7 +293,6 @@ metadata:
spec:
image:
productVersion: 3.1.3
stackableVersion: 0.prerelease
clusterConfig:
database:
connString: jdbc:postgresql://hive-postgresql.default.svc.cluster.local:5432/hive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ metadata:
name: test-hive
spec:
image:
productVersion: "{{ test_scenario['values']['hive-latest'].split('-stackable')[0] }}"
stackableVersion: "{{ test_scenario['values']['hive-latest'].split('-stackable')[1] }}"
productVersion: "{{ test_scenario['values']['hive-latest'] }}"
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/hive;create=true
Expand Down
3 changes: 1 addition & 2 deletions tests/templates/kuttl/cluster-operation/20-stop-hive.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ metadata:
name: test-hive
spec:
image:
productVersion: "{{ test_scenario['values']['hive-latest'].split('-stackable')[0] }}"
stackableVersion: "{{ test_scenario['values']['hive-latest'].split('-stackable')[1] }}"
productVersion: "{{ test_scenario['values']['hive-latest'] }}"
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/hive;create=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ metadata:
name: test-hive
spec:
image:
productVersion: "{{ test_scenario['values']['hive-latest'].split('-stackable')[0] }}"
stackableVersion: "{{ test_scenario['values']['hive-latest'].split('-stackable')[1] }}"
productVersion: "{{ test_scenario['values']['hive-latest'] }}"
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/hive;create=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ metadata:
name: test-hive
spec:
image:
productVersion: "{{ test_scenario['values']['hive-latest'].split('-stackable')[0] }}"
stackableVersion: "{{ test_scenario['values']['hive-latest'].split('-stackable')[1] }}"
productVersion: "{{ test_scenario['values']['hive-latest'] }}"
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/hive;create=true
Expand Down
3 changes: 1 addition & 2 deletions tests/templates/kuttl/logging/03-install-hive.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ metadata:
name: test-hive
spec:
image:
productVersion: "{{ test_scenario['values']['hive'].split('-stackable')[0] }}"
stackableVersion: "{{ test_scenario['values']['hive'].split('-stackable')[1] }}"
productVersion: "{{ test_scenario['values']['hive'] }}"
clusterConfig:
database:
connString: jdbc:postgresql://hive-postgresql:5432/hive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ metadata:
name: test-hive
spec:
image:
productVersion: "{{ test_scenario['values']['hive-latest'].split('-stackable')[0] }}"
stackableVersion: "{{ test_scenario['values']['hive-latest'].split('-stackable')[1] }}"
productVersion: "{{ test_scenario['values']['hive-latest'] }}"
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/hive;create=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ metadata:
name: test-hive
spec:
image:
productVersion: "{{ test_scenario['values']['hive-latest'].split('-stackable')[0] }}"
stackableVersion: "{{ test_scenario['values']['hive-latest'].split('-stackable')[1] }}"
productVersion: "{{ test_scenario['values']['hive-latest'] }}"
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/hive;create=true
Expand Down
3 changes: 1 addition & 2 deletions tests/templates/kuttl/resources/10-install-hive.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ metadata:
name: hive
spec:
image:
productVersion: "{{ test_scenario['values']['hive'].split('-stackable')[0] }}"
stackableVersion: "{{ test_scenario['values']['hive'].split('-stackable')[1] }}"
productVersion: "{{ test_scenario['values']['hive'] }}"
clusterConfig:
database:
connString: jdbc:derby:;databaseName=/tmp/hive;create=true
Expand Down
3 changes: 1 addition & 2 deletions tests/templates/kuttl/smoke/60-install-hive.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ metadata:
name: hive
spec:
image:
productVersion: "{{ test_scenario['values']['hive'].split('-stackable')[0] }}"
stackableVersion: "{{ test_scenario['values']['hive'].split('-stackable')[1] }}"
productVersion: "{{ test_scenario['values']['hive'] }}"
clusterConfig:
database:
connString: jdbc:postgresql://postgresql:5432/hive
Expand Down
6 changes: 3 additions & 3 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ dimensions:
- "12.5.6"
- name: hive
values:
- 2.3.9-stackable0.0.0-dev
- 3.1.3-stackable0.0.0-dev
- 2.3.9
- 3.1.3
- name: hive-latest
values:
- 3.1.3-stackable0.0.0-dev
- 3.1.3
- name: openshift
values:
- "false"
Expand Down

0 comments on commit 34d1a12

Please sign in to comment.