Skip to content

Commit 62cc96b

Browse files
author
Peng Zhou
committed
MLE-22902: fix operator pipeline bug
1 parent c9ab1d0 commit 62cc96b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ pipeline {
165165

166166
parameters {
167167
string(name: 'E2E_MARKLOGIC_IMAGE_VERSION', defaultValue: 'ml-docker-db-dev-tierpoint.bed-artifactory.bedford.progress.com/marklogic/marklogic-server-ubi-rootless:latest-12', description: 'Docker image to use for tests.', trim: true)
168+
string(name: 'IMG', defaultValue: 'testrepo/marklogic-operator-image-dev:internal', description: 'Docker image for Running Operator Container', trim: true)
168169
string(name: 'emailList', defaultValue: emailList, description: 'List of email for build notification', trim: true)
169170
}
170171

test/e2e/main_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ func TestMain(m *testing.M) {
9494
log.Println("Deploying controller-manager resources...")
9595
p := utils.RunCommand(`kubectl version`)
9696
log.Printf("Output of kubectl: %s", p.Result())
97-
p = utils.RunCommand(`bash -c "kustomize build config/default | kubectl apply --server-side -f -"`)
98-
log.Printf("Output: %s", p.Result())
97+
p = utils.RunCommand(`make deploy`)
98+
log.Printf("Output of make deploy: %s", p.Result())
9999
if p.Err() != nil {
100100
log.Printf("Failed to deploy resource configurations: %s: %s", p.Err(), p.Result())
101101
return ctx, p.Err()

0 commit comments

Comments
 (0)