Skip to content

Commit 249371c

Browse files
committed
remove cat
1 parent d01f995 commit 249371c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4296,12 +4296,12 @@ jobs:
42964296
42974297
./bin/kots admin-console generate-manifests -n "$APP_SLUG" --shared-password password --private-ca-configmap generated-custom-cas
42984298
ls ./admin-console
4299-
if ! cat ./admin-console/kotsadm-deployment.yaml | grep SSL_CERT_CONFIGMAP; then
4299+
if ! grep SSL_CERT_CONFIGMAP < ./admin-console/kotsadm-deployment.yaml; then
43004300
echo "expected generated kotsadm-deployment.yaml to contain SSL_CERT_CONFIGMAP"
43014301
cat ./admin-console/kotsadm-deployment.yaml
43024302
exit 1
43034303
fi
4304-
if ! cat ./admin-console/kotsadm-deployment.yaml | grep generated-custom-cas; then
4304+
if ! grep generated-custom-cas < ./admin-console/kotsadm-deployment.yaml; then
43054305
echo "expected generated kotsadm-deployment.yaml to contain generated-custom-cas"
43064306
cat ./admin-console/kotsadm-deployment.yaml
43074307
exit 1

0 commit comments

Comments
 (0)