Skip to content

Commit c090d12

Browse files
Merge pull request #6692 from bparees/censor
clean up install log output
2 parents e64f87d + 4847cb5 commit c090d12

10 files changed

+10
-10
lines changed

ci-operator/templates/openshift/endurance/endurance-install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ objects:
442442
exit 1
443443
fi
444444
445-
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster &
445+
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster 2>&1 | grep -v password &
446446
wait "$!"
447447
448448
echo "##################### start cluster metadata.json ##########################"

ci-operator/templates/openshift/installer/cluster-launch-installer-custom-test-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ objects:
627627
EOF
628628
fi
629629
630-
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster &
630+
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster 2>&1 | grep -v password &
631631
wait "$!"
632632
633633
# Performs cleanup of all created resources

ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ objects:
694694
echo "${CLUSTER_NETWORK_MANIFEST}" > /tmp/artifacts/installer/manifests/cluster-network-03-config.yml
695695
fi
696696
697-
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster &
697+
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster 2>&1 | grep -v password &
698698
wait "$!"
699699
700700
# Performs cleanup of all created resources

ci-operator/templates/openshift/installer/cluster-launch-installer-metal-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ objects:
486486
update_image_registry &
487487
488488
echo "Completing UPI setup"
489-
openshift-install --dir=/tmp/artifacts/installer wait-for install-complete &
489+
openshift-install --dir=/tmp/artifacts/installer wait-for install-complete 2>&1 | grep -v password &
490490
wait "$!"
491491
492492
# Performs cleanup of all created resources

ci-operator/templates/openshift/installer/cluster-launch-installer-openstack-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ objects:
380380
echo "Forcing OpenShiftSDN by modifying manifests"
381381
sed -i -e 's/networkType: .*$/networkType: OpenShiftSDN/g' /tmp/artifacts/installer/manifests/cluster-network-02-config.yml
382382
fi
383-
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster --log-level=debug &
383+
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster --log-level=debug 2>&1 | grep -v password &
384384
wait "$!"
385385
386386
INGRESS_PORT=$(openstack port list --format value -c Name | awk "/${CLUSTER_NAME}.*-ingress-port/ {print}")

ci-operator/templates/openshift/installer/cluster-launch-installer-ovirt-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ objects:
419419
420420
# What we're doing here is we generate manifests first and force that OpenShift SDN is configured.
421421
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create manifests --log-level=debug
422-
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster --log-level=debug &
422+
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster --log-level=debug 2>&1 | grep -v password &
423423
wait "$!"
424424
install_exit_status=$?
425425
export KUBECONFIG=/tmp/artifacts/installer/auth/kubeconfig

ci-operator/templates/openshift/installer/cluster-launch-installer-src.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ objects:
534534
echo "${CLUSTER_NETWORK_MANIFEST}" > /tmp/artifacts/installer/manifests/cluster-network-03-config.yml
535535
fi
536536
537-
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster &
537+
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster 2>&1 | grep -v password &
538538
wait "$!"
539539
540540
# Performs cleanup of all created resources

ci-operator/templates/openshift/installer/cluster-launch-installer-upi-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1817,7 +1817,7 @@ objects:
18171817
fi
18181818
18191819
echo "Completing UPI setup"
1820-
openshift-install --dir=/tmp/artifacts/installer wait-for install-complete &
1820+
openshift-install --dir=/tmp/artifacts/installer wait-for install-complete 2>&1 | grep -v password &
18211821
wait "$!"
18221822
touch /tmp/install-complete
18231823

ci-operator/templates/openshift/installer/cluster-launch-installer-upi-src.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ objects:
10341034
fi
10351035
10361036
echo "Completing UPI setup"
1037-
openshift-install --dir=/tmp/artifacts/installer wait-for install-complete &
1037+
openshift-install --dir=/tmp/artifacts/installer wait-for install-complete 2>&1 | grep -v password &
10381038
wait "$!"
10391039
touch /tmp/install-complete
10401040

ci-operator/templates/openshift/openshift-ansible/cluster-scaleup-e2e-40.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ objects:
283283
exit 1
284284
fi
285285
286-
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster &
286+
TF_LOG=debug openshift-install --dir=/tmp/artifacts/installer create cluster 2>&1 | grep -v password &
287287
wait "$!"
288288
289289
# Runs scale up playbook

0 commit comments

Comments
 (0)