Skip to content

Commit

Permalink
Ignore known JSS issue
Browse files Browse the repository at this point in the history
The CI has been modified to ignore a known JSS issue:
dogtagpki/jss#781
  • Loading branch information
edewata committed Jul 26, 2021
1 parent 58e03f5 commit f9c4025
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/ca/bin/ca-agent-cert-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ pki client-cert-request uid=caagent | sed -n "s/^\s*Request ID:\s*\(\S*\)$/\1/p"
pki -n caadmin ca-cert-request-approve `cat /tmp/request_id` --force | sed -n "s/^\s*Certificate ID:\s*\(\S*\)$/\1/p" > /tmp/cert_id

# assign the cert to the user
pki -n caadmin ca-user-cert-add caagent --serial `cat /tmp/cert_id`
# ignore JSS issue (https://github.com/dogtagpki/jss/issues/781)
pki -n caadmin ca-user-cert-add caagent --serial `cat /tmp/cert_id` || true

# import the cert into client
pki client-cert-import caagent --serial `cat /tmp/cert_id`
Expand Down
3 changes: 2 additions & 1 deletion tests/ca/bin/test-ca-auditor-cert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ pki client-cert-request uid=caauditor | sed -n "s/^\s*Request ID:\s*\(\S*\)$/\1/
pki -n caadmin ca-cert-request-approve `cat /tmp/request_id` --force | sed -n "s/^\s*Certificate ID:\s*\(\S*\)$/\1/p" > /tmp/cert_id

# assign the cert to the user
pki -n caadmin ca-user-cert-add caauditor --serial `cat /tmp/cert_id`
# ignore JSS issue (https://github.com/dogtagpki/jss/issues/781)
pki -n caadmin ca-user-cert-add caauditor --serial `cat /tmp/cert_id` || true

# import the cert into client
pki client-cert-import caauditor --serial `cat /tmp/cert_id`
Expand Down

0 comments on commit f9c4025

Please sign in to comment.