Skip to content

Commit

Permalink
test-old-cert
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeygutkin committed Apr 11, 2024
1 parent bf8f0c8 commit 2f1383a
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
# wine is required to sign windows executables
brew install --cask xquartz
brew install --cask wine-stable
- run:
name: Install gcloud sdk
command: |
# install gcloud sdk
curl -fsSL https://dl.google.com/dl/cloudsdk/channels/rapid/google-cloud-sdk.zip --output /Users/distiller/google-cloud-sdk.zip
unzip /Users/distiller/google-cloud-sdk.zip
bash google-cloud-sdk/install.sh --rc-path=/Users/distiller/.bashrc --usage-reporting=false --path-update=true --command-completion=true --install-python=true --quiet
source ~/.bashrc
# Save gcloud credentials service account and authenticate
echo $GOOGLE_SERVICE_ACCOUNT_KEY_BASE64 | base64 --decode > gcloud_service_account.json
export GOOGLE_APPLICATION_CREDENTIALS=gcloud_service_account.json
gcloud auth activate-service-account --key-file=$GOOGLE_APPLICATION_CREDENTIALS
# - run:
# name: Install gcloud sdk
# command: |
# # install gcloud sdk
# curl -fsSL https://dl.google.com/dl/cloudsdk/channels/rapid/google-cloud-sdk.zip --output /Users/distiller/google-cloud-sdk.zip
# unzip /Users/distiller/google-cloud-sdk.zip
# bash google-cloud-sdk/install.sh --rc-path=/Users/distiller/.bashrc --usage-reporting=false --path-update=true --command-completion=true --install-python=true --quiet
# source ~/.bashrc
# # Save gcloud credentials service account and authenticate
# echo $GOOGLE_SERVICE_ACCOUNT_KEY_BASE64 | base64 --decode > gcloud_service_account.json
# export GOOGLE_APPLICATION_CREDENTIALS=gcloud_service_account.json
# gcloud auth activate-service-account --key-file=$GOOGLE_APPLICATION_CREDENTIALS

- run:
name: Install Other shit
Expand All @@ -56,12 +56,12 @@ jobs:
command: |
# Make sure mac signing and certs are defined and trusted
mkdir certificates
echo $CSC_LINK_2024 | base64 --decode > certificates/mac_cert.p12
echo $NEW_CSC_LINK | base64 --decode > certificates/mac_cert.p12
echo $APPLE_CERT | base64 --decode > certificates/wwdr.cer
security add-certificates certificates/wwdr.cer
security import certificates/mac_cert.p12 -P $CSC_KEY_PASSWORD_2024
security import certificates/mac_cert.p12 -P $NEW_CSC_KEY_PASSWORD
export CSC_LINK=certificates/mac_cert.p12
export CSC_KEY_PASSWORD=$CSC_KEY_PASSWORD_2024
export CSC_KEY_PASSWORD=$NEW_CSC_KEY_PASSWORD
echo ===========
security find-identity -p codesigning
echo ===========
Expand Down

0 comments on commit 2f1383a

Please sign in to comment.