Skip to content

Commit 54d351a

Browse files
committed
apply viveks feedback
1 parent 7010e81 commit 54d351a

19 files changed

+20
-23
lines changed

.evergreen-functions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ functions:
539539
- version_id
540540
add_to_path:
541541
- ${workdir}/bin
542-
binary: scripts/evergreen/e2e/build_e2e_image_ibm.sh
542+
binary: scripts/evergreen/e2e/build_tests_image_ibm.sh
543543

544544
pipeline:
545545
- *switch_context

changelog/20250820_feature_multi_arch_support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ date: 2025-08-20
66

77
# Multi-Architecture Support
88
We've added comprehensive multi-architecture support for the kubernetes operator. This enhancement enables deployment on IBM Power (ppc64le) and IBM Z (s390x) architectures alongside
9-
existing x86_64 support. All core images (operator, agent, init containers, database, readiness probe) now support multiple architectures
9+
existing x86_64 support. All core images (operator, agent, init containers, database, readiness probe) now support multiple architectures.

docker/mongodb-agent/Dockerfile.atomic

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,11 @@ COPY ./docker/mongodb-agent/setup-agent-files.sh /usr/local/bin/setup-agent-file
8888
COPY ./docker/mongodb-agent/dummy-probe.sh /usr/local/bin/dummy-probe.sh
8989
COPY ./docker/mongodb-agent/dummy-readinessprobe /usr/local/bin/dummy-readinessprobe
9090

91-
# Set up directories and permissions (agent and tools are already extracted in downloader stages)
9291
RUN mkdir -p /var/lib/automation/config \
9392
&& chmod -R +r /var/lib/automation/config
9493

95-
# Create directories first
9694
RUN mkdir -p /tools /agent
9795

98-
# Copy the extracted tools and agent from the downloader stages
9996
COPY --from=tools_downloader "/tools/" /tools/
10097
COPY --from=agent_downloader "/agent/" /agent/
10198

scripts/dev/configure_container_auth.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ remove_element() {
8787
rm "${tmpfile}"
8888
}
8989

90-
container_login() {
90+
registry_login() {
9191
local username="$1"
9292
local registry="$2"
9393

@@ -139,7 +139,7 @@ fi
139139

140140
echo "$(aws --version)}"
141141

142-
aws ecr get-login-password --region "us-east-1" | container_login "AWS" "268558157000.dkr.ecr.us-east-1.amazonaws.com"
142+
aws ecr get-login-password --region "us-east-1" | registry_login "AWS" "268558157000.dkr.ecr.us-east-1.amazonaws.com"
143143

144144
# by default docker tries to store credentials in an external storage (e.g. OS keychain) - not in the config.json
145145
# We need to store it as base64 string in config.json instead so we need to remove the "credsStore" element
@@ -148,10 +148,10 @@ if [[ "${CONTAINER_RUNTIME}" == "docker" ]] && exec_cmd grep -q "credsStore" "${
148148
remove_element "credsStore"
149149

150150
# login again to store the credentials into the config.json
151-
aws ecr get-login-password --region "us-east-1" | container_login "AWS" "268558157000.dkr.ecr.us-east-1.amazonaws.com"
151+
aws ecr get-login-password --region "us-east-1" | registry_login "AWS" "268558157000.dkr.ecr.us-east-1.amazonaws.com"
152152
fi
153153

154-
aws ecr get-login-password --region "eu-west-1" | container_login "AWS" "268558157000.dkr.ecr.eu-west-1.amazonaws.com"
154+
aws ecr get-login-password --region "eu-west-1" | registry_login "AWS" "268558157000.dkr.ecr.eu-west-1.amazonaws.com"
155155

156156
if [[ -n "${COMMUNITY_PRIVATE_PREVIEW_PULLSECRET_DOCKERCONFIGJSON:-}" ]]; then
157157
# log in to quay.io for the mongodb/mongodb-search-community private repo

scripts/dev/contexts/e2e_mdb_kind_ubi_cloudqa

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ source "${script_dir}/root-context"
99

1010
export ops_manager_version="cloud_qa"
1111

12-
# This is required to be able to rebuild the om image and use that image which has been rebuild
12+
# This is required to be able to rebuild the om image and use that image which has been rebuilt
1313
export OPS_MANAGER_REGISTRY=268558157000.dkr.ecr.us-east-1.amazonaws.com/dev
1414
CUSTOM_OM_VERSION=$(grep -E "^\s*-\s*&ops_manager_70_latest\s+(\S+)\s+#" <"${script_dir}"/../../../.evergreen.yml | awk '{print $3}')
1515
export CUSTOM_OM_VERSION

scripts/dev/contexts/e2e_operator_perf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ script_dir=$(dirname "${script_name}")
88
source "${script_dir}/root-context"
99
source "${script_dir}/variables/om70"
1010

11-
# This is required to be able to rebuild the om image and use that image which has been rebuild
11+
# This is required to be able to rebuild the om image and use that image which has been rebuilt
1212
export MDB_MAX_CONCURRENT_RECONCILES=10
1313
export MDB_DEFAULT_ARCHITECTURE=static
1414
export KUBE_ENVIRONMENT_NAME=performance

scripts/dev/contexts/e2e_operator_perf_large

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ script_dir=$(dirname "${script_name}")
88
source "${script_dir}/root-context"
99
source "${script_dir}/variables/om70"
1010

11-
# This is required to be able to rebuild the om image and use that image which has been rebuild
11+
# This is required to be able to rebuild the om image and use that image which has been rebuilt
1212
export MDB_MAX_CONCURRENT_RECONCILES=10
1313
export MDB_DEFAULT_ARCHITECTURE=static
1414
export KUBE_ENVIRONMENT_NAME=performance

scripts/dev/contexts/e2e_operator_perf_one_thread

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ script_dir=$(dirname "${script_name}")
88
source "${script_dir}/root-context"
99
source "${script_dir}/variables/om70"
1010

11-
# This is required to be able to rebuild the om image and use that image which has been rebuild
11+
# This is required to be able to rebuild the om image and use that image which has been rebuilt
1212
export MDB_MAX_CONCURRENT_RECONCILES=1
1313
export MDB_DEFAULT_ARCHITECTURE=static
1414
export KUBE_ENVIRONMENT_NAME=performance

scripts/dev/contexts/e2e_operator_perf_one_thread_large

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ script_dir=$(dirname "${script_name}")
88
source "${script_dir}/root-context"
99
source "${script_dir}/variables/om70"
1010

11-
# This is required to be able to rebuild the om image and use that image which has been rebuild
11+
# This is required to be able to rebuild the om image and use that image which has been rebuilt
1212
export MDB_MAX_CONCURRENT_RECONCILES=1
1313
export MDB_DEFAULT_ARCHITECTURE=static
1414
export KUBE_ENVIRONMENT_NAME=performance

scripts/dev/contexts/e2e_operator_perf_thirty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ script_dir=$(dirname "${script_name}")
88
source "${script_dir}/root-context"
99
source "${script_dir}/variables/om70"
1010

11-
# This is required to be able to rebuild the om image and use that image which has been rebuild
11+
# This is required to be able to rebuild the om image and use that image which has been rebuilt
1212
export MDB_MAX_CONCURRENT_RECONCILES=30
1313
export MDB_DEFAULT_ARCHITECTURE=static
1414
export KUBE_ENVIRONMENT_NAME=performance

0 commit comments

Comments
 (0)