Skip to content

Commit 269db5c

Browse files
committed
Add missing e2e_static_smoke_release context
1 parent 10609ac commit 269db5c

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/env bash
2+
3+
set -Eeou pipefail
4+
5+
script_name=$(readlink -f "${BASH_SOURCE[0]}")
6+
script_dir=$(dirname "${script_name}")
7+
8+
source "${script_dir}/root-context"
9+
source "${script_dir}/variables/om70"
10+
11+
export DATABASE_REGISTRY="${QUAY_REGISTRY}"
12+
export APPDB_REGISTRY="${QUAY_REGISTRY}"
13+
export INIT_OPS_MANAGER_REGISTRY="${QUAY_REGISTRY}"
14+
export OPS_MANAGER_REGISTRY="${QUAY_REGISTRY}"
15+
export OPERATOR_REGISTRY="${QUAY_REGISTRY}"
16+
export INIT_IMAGES_REGISTRY="${QUAY_REGISTRY}"
17+
export INIT_APPDB_REGISTRY="${QUAY_REGISTRY}"
18+
export INIT_DATABASE_REGISTRY="${QUAY_REGISTRY}"
19+
# Since we're sourcing this as an initial step, the jq might not be there. That's why we need bash magic here.
20+
OPERATOR_VERSION="$(grep -o '"mongodbOperator": "[^"]*' release.json | grep -o '[^"]*$')"
21+
export OPERATOR_VERSION
22+
INIT_DATABASE_VERSION="$(grep -o '"initDatabaseVersion": "[^"]*' release.json | grep -o '[^"]*$')"
23+
export INIT_DATABASE_VERSION
24+
INIT_APPDB_VERSION="$(grep -o '"initAppDbVersion": "[^"]*' release.json | grep -o '[^"]*$')"
25+
export INIT_APPDB_VERSION
26+
INIT_OPS_MANAGER_VERSION="$(grep -o '"initOpsManagerVersion": "[^"]*' release.json | grep -o '[^"]*$')"
27+
export INIT_OPS_MANAGER_VERSION
28+
DATABASE_VERSION="$(grep -o '"databaseImageVersion": "[^"]*' release.json | grep -o '[^"]*$')"
29+
export DATABASE_VERSION
30+
export MDB_DEFAULT_ARCHITECTURE=static
31+
# For static smoke tests we nned the previous MDB version to have a ubi9 binary
32+
export CUSTOM_MDB_PREV_VERSION=6.0.5

0 commit comments

Comments
 (0)