Skip to content

Commit

Permalink
[DPE-3972] Update to 2.13.0 (#307)
Browse files Browse the repository at this point in the history
Also rollback upgrade testing that originally pointed to dummy charm.
Now, they install the charm directly from `2/edge`.
  • Loading branch information
phvalguima authored May 24, 2024
1 parent 2af1298 commit 2fbfa4b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/charms/opensearch/v0/constants_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
KibanaserverRole = "kibana_server"

# Opensearch Snap revision
OPENSEARCH_SNAP_REVISION = 44 # Keep in sync with `workload_version` file
OPENSEARCH_SNAP_REVISION = 50 # Keep in sync with `workload_version` file

# User-face Backup ID format
OPENSEARCH_BACKUP_ID_FORMAT = "%Y-%m-%dT%H:%M:%SZ"
4 changes: 2 additions & 2 deletions tests/integration/test_manual_large_deployment_upgrades.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
logger = logging.getLogger(__name__)


OPENSEARCH_ORIGINAL_CHARM_NAME = "pguimaraes-opensearch-upgrade-test"
OPENSEARCH_INITIAL_CHANNEL = "latest/edge"
OPENSEARCH_ORIGINAL_CHARM_NAME = "opensearch"
OPENSEARCH_INITIAL_CHANNEL = "2/edge"
OPENSEARCH_MAIN_APP_NAME = "main"
OPENSEARCH_FAILOVER_APP_NAME = "failover"

Expand Down
6 changes: 3 additions & 3 deletions tests/integration/test_small_deployment_upgrades.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
logger = logging.getLogger(__name__)


OPENSEARCH_ORIGINAL_CHARM_NAME = "pguimaraes-opensearch-upgrade-test"
OPENSEARCH_INITIAL_CHANNEL = "latest/edge"
OPENSEARCH_ORIGINAL_CHARM_NAME = "opensearch"
OPENSEARCH_INITIAL_CHANNEL = "2/edge"
MACHINE_ID = 0


Expand Down Expand Up @@ -122,7 +122,7 @@ async def test_upgrade_rollback(
# )
subprocess.check_output(
f"juju refresh {app} --switch {OPENSEARCH_ORIGINAL_CHARM_NAME} "
"--channel latest/edge".split(),
f"--channel {OPENSEARCH_INITIAL_CHANNEL}".split(),
)

await wait_until(
Expand Down
2 changes: 1 addition & 1 deletion workload_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.12.0
2.13.0

0 comments on commit 2fbfa4b

Please sign in to comment.