Skip to content

Commit 9b2868b

Browse files
author
Ubuntu
committed
debug ci
1 parent f8dff39 commit 9b2868b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/actions/setup/action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ runs:
2929
kubectl apply -f https://projectcontour.io/quickstart/contour.yaml
3030
kubectl patch daemonsets -n projectcontour envoy -p '{"spec":{"template":{"spec":{"nodeSelector":{"ingress-ready":"true"}}}}}'
3131
- name: setup chaos mesh
32-
if: ${{ inputs.install-chaos }}
32+
if: ${{ inputs.install-chaos == 'true' }}
3333
shell: bash
3434
run: |
3535
curl -sSL https://mirrors.chaos-mesh.org/v2.6.2/install.sh | bash -s -- --local kind

.github/workflows/ci-other.yml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
echo "test access to openldap database"
2525
echo "Write test to openldap database"
2626
LDAPTLS_REQCERT=never ldapadd -x -D 'cn=admin,dc=example,dc=org' -w Not@SecurePassw0rd -H ldaps://localhost:30636 -f .bin/simpleUser.ldif
27+
sleep 10
2728
LDAPTLS_REQCERT=never ldapsearch -o nettimeout=20 -x -D 'cn=admin,dc=example,dc=org' -w Not@SecurePassw0rd -H ldaps://localhost:30636 -b 'dc=example,dc=org' > /tmp/test-write.txt
2829
cat /tmp/test-write.txt
2930
if [ $(grep "numResponses" /tmp/test-write.txt | cut -d ":" -f 2 | tr -d ' ') -ne 3 ]; then exit 1 ; fi

.github/workflows/ci-singlenode.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ jobs:
2626
run: |
2727
sleep 10
2828
echo "test access to openldap database"
29-
LDAPTLS_REQCERT=never ldapsearch -x -D 'cn=admin,dc=singlenode,dc=org' -w Not@SecurePassw0rd -H ldaps://localhost:30636 -b 'dc=singlenode,dc=org' > /tmp/test-single-node.txt
29+
LDAPTLS_REQCERT=never ldapsearch -o nettimeout=20 -x -D 'cn=admin,dc=singlenode,dc=org' -w Not@SecurePassw0rd -H ldaps://localhost:30636 -b 'dc=singlenode,dc=org' > /tmp/test-single-node.txt
3030
cat /tmp/test-single-node.txt
3131
if [ $(grep "numResponses" /tmp/test-single-node.txt | cut -d ":" -f 2 | tr -d ' ') -ne 6 ]; then exit 1 ; fi

0 commit comments

Comments
 (0)