diff --git a/.azure/templates/jobs/run_systemtests.yaml b/.azure/templates/jobs/run_systemtests.yaml index e2b1d46..b7204bc 100644 --- a/.azure/templates/jobs/run_systemtests.yaml +++ b/.azure/templates/jobs/run_systemtests.yaml @@ -28,14 +28,14 @@ jobs: eval $(minikube docker-env) DOCKER_ARCHITECTURE=$(arch) make docker_load make docker_tag - make docker_push + minikube image load $(docker_registry)/$(docker_org)/drain-cleaner:$(docker_tag) env: BUILD_TAG: latest-$(arch) displayName: 'Docker load & tag & push to local registries - $(arch)' - - script: | - echo "##vso[task.setvariable variable=docker_registry]$(kubectl get service registry -n kube-system -o=jsonpath='{.spec.clusterIP}'):80" - displayName: "Set docker_registry to local registry in minikube" - condition: eq(variables['docker_registry'], 'localhost:5000') +# - script: | +# echo "##vso[task.setvariable variable=docker_registry]$(kubectl get service registry -n kube-system -o=jsonpath='{.spec.clusterIP}'):80" +# displayName: "Set docker_registry to local registry in minikube" +# condition: eq(variables['docker_registry'], 'localhost:5000') - task: Maven@3 inputs: mavenPomFile: 'pom.xml' @@ -43,7 +43,6 @@ jobs: goals: 'verify' options: '-B -Psystemtest' env: - DOCKER_REGISTRY: registry.minikube DOCKER_ORG: $(docker_org) DOCKER_TAG: $(docker_tag) TEST_LOG_DIR: $(test_log_dir) @@ -55,7 +54,6 @@ jobs: goals: 'verify' options: '-B -Psystemtest' env: - DOCKER_REGISTRY: registry.minikube DOCKER_ORG: $(docker_org) DOCKER_TAG: $(docker_tag) DC_INSTALL_TYPE: Helm