Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ commands:
jobs:
deploy-test-amd64:
machine:
image: ubuntu-2004:current
image: ubuntu-2204:current
resource_class: large
steps:
- checkout
- deploy_and_verify

deploy-test-arm64:
machine:
image: ubuntu-2004:current
image: ubuntu-2204:current
resource_class: arm.large
steps:
- checkout
Expand Down
2 changes: 1 addition & 1 deletion config/ph_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ ph-ee-engine:
image: busybox:1.37.0
imagePullPolicy: IfNotPresent
command: ['/bin/sh', '-c']
args: ['wget -O /exporters/ph-ee-kafka-exporter.jar "https://mifos.jfrog.io/artifactory/phee-gradle-local/org/mifos/phee/phee-exporter/exporter-1.1.1-SNAPSHOT.jar"; ls -al /exporters/']
args: ['wget -O /exporters/ph-ee-kafka-exporter.jar "https://mifos.jfrog.io/artifactory/phee-gradle-local/org/mifos/phee/phee-exporter/exporter-1.1.1-SNAPSHOT.jar" && ls -al /exporters/']
volumeMounts:
- name: exporters
mountPath: /exporters/
Expand Down
2 changes: 0 additions & 2 deletions src/deployer/phee.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ function deployPH(){
manageElasticSecrets delete "$INFRA_NAMESPACE"
log_ok

run_as_user "kubectl wait --for=condition=ready pod --all -n $VNEXT_NAMESPACE --timeout=600s" > /dev/null 2>&1

log_step "Creating namespace $PH_NAMESPACE"
createNamespace "$PH_NAMESPACE"
log_ok
Expand Down
3 changes: 2 additions & 1 deletion src/deployer/vnext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ function deployvNext() {
fi
done

wait_for_pods_ready "$VNEXT_NAMESPACE"
log_banner "vNext Deployed"
}

Expand Down Expand Up @@ -143,7 +144,7 @@ function vnext_restore_demo_data {
return 1
fi

if ! run_as_user "kubectl exec --namespace \"$namespace\" --stdin --tty \"$mongopod\" -- mongorestore -u root -p \"$mongo_root_pw\" --gzip --archive=/tmp/mongodump.gz --authenticationDatabase admin" > /dev/null 2>&1; then
if ! run_as_user "kubectl exec --namespace \"$namespace\" \"$mongopod\" -- mongorestore -u root -p \"$mongo_root_pw\" --gzip --archive=/tmp/mongodump.gz --authenticationDatabase admin" > /dev/null 2>&1; then
log_failed "mongorestore failed"
rm -rf "${temp_dir:-}"
return 1
Expand Down
Loading