Skip to content

MLE-24929 Add internal ECR publishing for K8s tests#431

Merged
vitalykorolev merged 3 commits intomarklogic:MLE-24929_EKS-ECR-pushfrom
vitalykorolev:MLE-24929_EKS-ECR-push
Mar 27, 2026
Merged

MLE-24929 Add internal ECR publishing for K8s tests#431
vitalykorolev merged 3 commits intomarklogic:MLE-24929_EKS-ECR-pushfrom
vitalykorolev:MLE-24929_EKS-ECR-push

Conversation

@vitalykorolev
Copy link
Collaborator

Description

This PR introduces publishing to an internal repository that will be used to test Kubernetes on EKS.

Checklist:

  • Owner:
  • JIRA_ID as part of branch/PR name

  • Rebase the branch with upstream

  • Squashed all commits into a single commit

  • Added Tests

  • Reviewer:
  • Reviewed Tests

  • Added to Release Wiki/Jira

Copilot AI review requested due to automatic review settings March 26, 2026 02:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the Jenkins pipeline to publish built MarkLogic Docker images to an internal AWS ECR registry intended for Kubernetes (EKS) testing, in addition to existing internal registry publishing.

Changes:

  • Added a new internal ECR registry constant for Kubernetes testing.
  • Updated publishToInternalRegistry() to authenticate to AWS ECR, tag, and push the image to the new ECR repository.

@vitalykorolev vitalykorolev changed the base branch from develop to MLE-24929_EKS-ECR-push March 27, 2026 05:50
Remove the global kubeNinjasEcrRegistry = '308453789681.dkr.ecr.us-west-1.amazonaws.com'
constant. Instead, resolve the AWS account ID at runtime inside the existing
KUBE_NINJAS_OPS_AWS_JENKINS withCredentials block using:

  aws sts get-caller-identity --query Account --output text

This eliminates the hardcoded account number and is consistent with the
approach used in marklogic-operator-kubernetes Jenkinsfile.
@vitalykorolev vitalykorolev merged commit 23055e1 into marklogic:MLE-24929_EKS-ECR-push Mar 27, 2026
3 checks passed
@vitalykorolev vitalykorolev deleted the MLE-24929_EKS-ECR-push branch March 27, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants