Skip to content

Commit

Permalink
Add encrypted deploy key for the output repo
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Jun 24, 2023
1 parent bee4711 commit 49ca3af
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/run-reports.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
with:
credentials_json: "${{ secrets.GCP_KMS_DECRYPTOR_KEY }}"

- name: Decrypt deploy key and put it in correct place
run: |
mkdir -p ~/.ssh
sops -d reports/enc-deploy-key.secret.key > ~/.ssh/id_rsa
chmod 0400 ~/.ssh/id_rsa
- name: Run and publish reports
run: |
python3 reports/run.py
21 changes: 21 additions & 0 deletions reports/enc-deploy-key.secret.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"data": "ENC[AES256_GCM,data:bCY9MdESAfNQYDpmHcNbnUsXkurKflubAJjDeS/eViHp/oT+xy0EZyQrSxjUwcNc5kyNpnvgJBlO2Jxh3hOA3iWmRDevUpoJQqnSNO+QwhfLrJnM+VPuGJ34XopztfFhYbRKJLwIX0RPhlNAkYo8wDtpBnGUfiSEvxz7cTim2HkZ65o7G10XuEYr8lyOmYIWnCbsDP0borWhtIMA3r2F+qim+wmyg7x1p8dXDXg5pGs4I1Yy4sH3QODPihnAHeiZK1qsZ21zXL84iJgfgirQdmL/aJcvdmQggq+LmCfa3CHFgxPQ9avFado6GlEqht7my89ZmTOiNpCqzWjWz2J/su90L6lwIyPMEX2F+s8vPyGrDEq9QFwHw9gBeZt0zgb8gvcfwfkbl+KIRVFoHaUe+JbCtl6B4FN7e1Dejhyq4+BYtG8X/75DO5qzJbArrJAeWYtR/8Agyd5BasiFTl/FR68zEoLW4fi+MIEUId36u9Mi2uIW9w6wQQYHtuMTtCBWmhQkRodW8hcCVmtMFwEsTSm83Qn5PuQ0RV/e7nNW6bwfPlm6KYLzz6LvYF9Qdv1SGMHROXlAx2jHNFhuW5Gvz46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IJPH6oT3sTWrmXfEidzUxXC9Q5IQXmdtofc/q6uj8HnF5E+XqxsaVS/W9DnZdtZESDU/V4Ba3/EvPf9q3fe2jJsNSQPQk1YtoU7sU9vBjbzKbNb1krohZB9/8fr18o81V9GeZBBM5z5DzasNdN+cWt7JtlVKVWOq9BsbIF33GUQR9p1KjpsOqSsC/QWXwiD0IeVrBGPINI9GpvquXKhyBHNSjkvCPhlxM2N/n2OkdppKqT+UstmHLasNH3v4/D7FTDGg0GWSK0AUvSps2beZn7bt06Kt4mFh3keq4e1fCOhMmn9wLvkQotzhTiiYbNUqXcZDRZvZdLlp1O2vtLp4OqeQ+CCkqqn8ws43jOIQPka8VLq9P9oCoa6OF91LQqlE+7ORVpS6/v1XkXZ/tYteLoEswoXfS65HU2+J/Fw8vjUegixKviP+KqoKajG1fqfR8yccWn/R/a3RLr/SQNmPckSyoRe8iQumowkaQ5HYJqO2pOHph7SoBXjP3uuQ/BLBYeB0RcBuAUBwevRPkypg4QJINaBG8RxxoLYedAMLZmlQEBIIc/f6wPp+tCl6TOYrgfjmPW8eV12F28RiAd66TtOXEK+SbCR9viR9dn2SNv+0u8SiifyAc1VjFEDM15D7ai4Ka5S6Kr2mhAlW/FIM+CwcXjQgp/sYx7Wxn2mPenqooXJRC27a1ipb6/nXcpfg+Pxpb10iTBdRo9lW/dwEfreHQGpBkzvAVPB55WdtshKRZiS6Y9vevw==,iv:tFs4KUMD2bNyCedjdVoyvlfPBL6b/+ksjxy7rwtk3Iw=,tag:Q5/BEU81w9dS8wheVcBfnQ==,type:str]",
"sops": {
"kms": null,
"gcp_kms": [
{
"resource_id": "projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs",
"created_at": "2023-06-24T05:24:18Z",
"enc": "CiUA4OM7eBAQ/e1gyPRJ76WCbZYOg1mrqZoFLSZm47uOO/gcEdMOEkkAyiwFHCaFLRSlcMdtpeEZS2sSrmBLo3VMtEYI8aLRf0sMNoPAIzEWoJdXBhk7SrILOLf+ID0BBI0QSGh8EZHupY7b/PcjFvO8"
}
],
"azure_kv": null,
"hc_vault": null,
"age": null,
"lastmodified": "2023-06-24T05:24:18Z",
"mac": "ENC[AES256_GCM,data:BR7FCY70nebnmcAr3lkLNa4hcmdUDB3jkTad326Ki/y3Foe8czjsbb7UmLqSylEo9glEhFtg+yBi9Zm3eKBXsLkQxkAssA9d1dMPL/v45gYMcE5gf2ZdXuNJkFzP6BS0EBpVnHfygtKBLI0pdlleXzOjwE2eU5sO6tvjtwVO/3g=,iv:c4ls2Z16BM7M5GTEzA7jGXImVdEE/Tv/mlk/628RfRs=,tag:7/0/kqQuzlkbQPY6xwG9Kw==,type:str]",
"pgp": null,
"unencrypted_suffix": "_unencrypted",
"version": "3.7.3"
}
}

0 comments on commit 49ca3af

Please sign in to comment.