Ignore certificate import error.
This commit is contained in:
parent
09730f8a53
commit
08a0f54249
|
@ -338,7 +338,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
|
||||||
# Add certificates to keychain and allow codesign to access them
|
# Add certificates to keychain and allow codesign to access them
|
||||||
# 1) Apple Worldwide Developer Relations Certification Authority
|
# 1) Apple Worldwide Developer Relations Certification Authority
|
||||||
- curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output $HOME/AppleWWDRCAG3.cer --silent
|
- curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output $HOME/AppleWWDRCAG3.cer --silent
|
||||||
- sudo security import $HOME/AppleWWDRCAG3.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign
|
- sudo security import $HOME/AppleWWDRCAG3.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign || true
|
||||||
# 2) Developer Authentication Certification Authority
|
# 2) Developer Authentication Certification Authority
|
||||||
- curl https://www.apple.com/certificateauthority/DeveloperIDG2CA.cer --output $HOME/DeveloperIDG2CA.cer --silent
|
- curl https://www.apple.com/certificateauthority/DeveloperIDG2CA.cer --output $HOME/DeveloperIDG2CA.cer --silent
|
||||||
- sudo security import $HOME/DeveloperIDG2CA.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign || true
|
- sudo security import $HOME/DeveloperIDG2CA.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign || true
|
||||||
|
|
|
@ -576,10 +576,10 @@ for:
|
||||||
# Add certificates to keychain and allow codesign to access them
|
# Add certificates to keychain and allow codesign to access them
|
||||||
# 1) Apple Worldwide Developer Relations Certification Authority
|
# 1) Apple Worldwide Developer Relations Certification Authority
|
||||||
- curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output $HOME/AppleWWDRCAG3.cer --silent
|
- curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output $HOME/AppleWWDRCAG3.cer --silent
|
||||||
- sudo security import $HOME/AppleWWDRCAG3.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign
|
- sudo security import $HOME/AppleWWDRCAG3.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign || true
|
||||||
# 2) Developer Authentication Certification Authority
|
# 2) Developer Authentication Certification Authority
|
||||||
- curl https://www.apple.com/certificateauthority/DeveloperIDG2CA.cer --output $HOME/DeveloperIDG2CA.cer --silent
|
- curl https://www.apple.com/certificateauthority/DeveloperIDG2CA.cer --output $HOME/DeveloperIDG2CA.cer --silent
|
||||||
- sudo security import $HOME/DeveloperIDG2CA.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign
|
- sudo security import $HOME/DeveloperIDG2CA.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign || true
|
||||||
# 3) Developer ID
|
# 3) Developer ID
|
||||||
- security import certificate.p12 -k $HOME/Library/Keychains/build.keychain -P "$MACOS_CERTIFICATE_PWD" -T /usr/bin/codesign
|
- security import certificate.p12 -k $HOME/Library/Keychains/build.keychain -P "$MACOS_CERTIFICATE_PWD" -T /usr/bin/codesign
|
||||||
# Delete the files, we no longer need them
|
# Delete the files, we no longer need them
|
||||||
|
@ -772,10 +772,10 @@ for:
|
||||||
# Add certificates to keychain and allow codesign to access them
|
# Add certificates to keychain and allow codesign to access them
|
||||||
# 1) Apple Worldwide Developer Relations Certification Authority
|
# 1) Apple Worldwide Developer Relations Certification Authority
|
||||||
- curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output $HOME/AppleWWDRCAG3.cer --silent
|
- curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output $HOME/AppleWWDRCAG3.cer --silent
|
||||||
- sudo security import $HOME/AppleWWDRCAG3.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign
|
- sudo security import $HOME/AppleWWDRCAG3.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign || true
|
||||||
# 2) Developer Authentication Certification Authority
|
# 2) Developer Authentication Certification Authority
|
||||||
- curl https://www.apple.com/certificateauthority/DeveloperIDG2CA.cer --output $HOME/DeveloperIDG2CA.cer --silent
|
- curl https://www.apple.com/certificateauthority/DeveloperIDG2CA.cer --output $HOME/DeveloperIDG2CA.cer --silent
|
||||||
- sudo security import $HOME/DeveloperIDG2CA.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign
|
- sudo security import $HOME/DeveloperIDG2CA.cer -k /Library/Keychains/System.keychain -T /usr/bin/codesign || true
|
||||||
# 3) Developer ID
|
# 3) Developer ID
|
||||||
- security import certificate.p12 -k $HOME/Library/Keychains/build.keychain -P "$MACOS_CERTIFICATE_PWD" -T /usr/bin/codesign
|
- security import certificate.p12 -k $HOME/Library/Keychains/build.keychain -P "$MACOS_CERTIFICATE_PWD" -T /usr/bin/codesign
|
||||||
# Delete the files, we no longer need them
|
# Delete the files, we no longer need them
|
||||||
|
|
Loading…
Reference in New Issue
Block a user