Skip to content

Commit fd8a87a

Browse files
lucian-tosafealebenpae
authored andcommitted
Update agent version in root context (#4112)
# Summary This field in the root context is not updated automatically. The agent version here was obsolete and should have been changed with this PR 10gen/ops-manager-kubernetes#3973. Without this change, running the operator locally wouldn't work with MDB 8 deployments. ## Proof of Work N/A ## Checklist - [ ] Have you linked a jira ticket and/or is the ticket in the title? - [ ] Have you checked whether your jira ticket required DOCSP changes? - [ ] Have you checked for release_note changes? ## Reminder (Please remove this when merging) - Please try to Approve or Reject Changes the PR, keep PRs in review as short as possible - Our Short Guide for PRs: [Link](REDACTED) - Remember the following Communication Standards - use comment prefixes for clarity: * **blocking**: Must be addressed before approval. * **follow-up**: Can be addressed in a later PR or ticket. * **q**: Clarifying question. * **nit**: Non-blocking suggestions. * **note**: Side-note, non-actionable. Example: Praise * --> no prefix is considered a question
1 parent 9479e53 commit fd8a87a

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

scripts/dev/contexts/root-context

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ fi
3535

3636
export OPERATOR_ENV=${OPERATOR_ENV:-"dev"}
3737

38-
# provide a way to automatically source it from release.json/agentVersion
39-
export AGENT_VERSION="107.0.0.8502-1"
38+
AGENT_VERSION="$(jq -r '.agentVersion' release.json)"
39+
export AGENT_VERSION
4040
export AGENT_IMAGE="${MDB_AGENT_IMAGE_REPOSITORY}:${AGENT_VERSION}"
4141

4242
# Ops Manager

scripts/dev/contexts/variables/om60

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export CUSTOM_MDB_VERSION=6.0.16
1414
export CUSTOM_MDB_PREV_VERSION=5.0.7
1515

1616
export AGENT_VERSION=12.0.33.7866-1
17+
export AGENT_IMAGE="${MDB_AGENT_IMAGE_REPOSITORY}:${AGENT_VERSION}"
1718

1819
export CUSTOM_APPDB_VERSION=6.0.5-ent
1920
export TEST_MODE=opsmanager

scripts/dev/contexts/variables/om70

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export CUSTOM_MDB_VERSION=7.0.2
1414
export CUSTOM_MDB_PREV_VERSION=6.0.5
1515

1616
export AGENT_VERSION=107.0.11.8645-1
17+
export AGENT_IMAGE="${MDB_AGENT_IMAGE_REPOSITORY}:${AGENT_VERSION}"
1718

1819
export CUSTOM_APPDB_VERSION=7.0.2-ent
1920
export TEST_MODE=opsmanager

scripts/dev/contexts/variables/om80

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export CUSTOM_MDB_VERSION=8.0.0
1414
export CUSTOM_MDB_PREV_VERSION=7.0.9
1515

1616
export AGENT_VERSION=108.0.0.8694-1
17+
export AGENT_IMAGE="${MDB_AGENT_IMAGE_REPOSITORY}:${AGENT_VERSION}"
1718

1819
export CUSTOM_APPDB_VERSION=8.0.0-ent
1920
export TEST_MODE=opsmanager

0 commit comments

Comments
 (0)