You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: update dependency versions
* chore: rename GCLOUD_SERVICE_ACCOUNT_CREDENTIALS to GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS in documentation
* chore: update documentation with latest dependency versions, device configurations, and environment defaults
* docs: update macOS notarization to use notarytool and raise minimum iOS platform version to 13.0
@@ -64,7 +64,7 @@ In your codemagic.yaml you’ll need to define the variables so you don’t get
64
64
**Note:** it is important that a valid service account is configured in the UI before overriding with another.
65
65
{{</notebox>}}
66
66
67
-
In the Codemagic UI you should create an environment variable called `GCLOUD_SERVICE_ACCOUNT_CREDENTIALS` and set its value to a valid Service Account JSON, even if this will be overwritten by another key when white labelling.
67
+
In the Codemagic UI you should create an environment variable called `GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS` and set its value to a valid Service Account JSON, even if this will be overwritten by another key when white labelling.
68
68
69
69
## Writing values to CM_ENV
70
70
@@ -88,8 +88,8 @@ The following script first loads the **settings.env** file so you can read its v
1. The environment variable `GCLOUD_SERVICE_ACCOUNT_CREDENTIALS` must be provided with a valid Service Account JSON key, even if you will overwrite it with a different key later. Add this variable to a group called `service_account` and then import it into you workflow as follows:
83
+
1. The environment variable `GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS` must be provided with a valid Service Account JSON key, even if you will overwrite it with a different key later. Add this variable to a group called `service_account` and then import it into you workflow as follows:
echo "$(doppler secrets get GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS --plain)" >> $CM_ENV
268
268
echo "DELIMITER" >> $CM_ENV
269
269
{{< /highlight >}}
270
270
271
271
{{<notebox>}}
272
-
**Note:** If you add the `GCLOUD_SERVICE_ACCOUNT_CREDENTIALS` make sure you choose **No** when it asks you to replace `\n` with new lines.
272
+
**Note:** If you add the `GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS` make sure you choose **No** when it asks you to replace `\n` with new lines.
273
273
{{</notebox>}}
274
274
275
275
You can download all of your secrets and add them to your environment in a single step.
@@ -359,13 +359,13 @@ vault kv get -field=message secret/greetings
359
359
To add a secret from file such as an RSA key or JSON key, you can add the contents of a file as follows:
360
360
361
361
{{< highlight bash "style=paraiso-dark">}}
362
-
vault kv put secret/gcloud GCLOUD_SERVICE_ACCOUNT_CREDENTIALS=@gcloud.json
362
+
vault kv put secret/gcloud GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS=@gcloud.json
363
363
{{< /highlight >}}
364
364
365
365
To retrieve the secret you would do the following:
366
366
367
367
{{< highlight bash "style=paraiso-dark">}}
368
-
vault kv get -field=GCLOUD_SERVICE_ACCOUNT_CREDENTIALS secret/gcloud
368
+
vault kv get -field=GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS secret/gcloud
369
369
{{< /highlight >}}
370
370
371
371
@@ -383,13 +383,13 @@ vault kv get -field=message secret/greetings
383
383
{{< tab header="Android" >}}
384
384
{{<markdown>}}
385
385
386
-
1. The environment variable `GCLOUD_SERVICE_ACCOUNT_CREDENTIALS` must be provided with a valid Service Account JSON key, even if you will overwrite it with a different key later. Add this variable to a group called `service_account` and then import it into you workflow.
386
+
1. The environment variable `GOOGLE_PLAY_SERVICE_ACCOUNT_CREDENTIALS` must be provided with a valid Service Account JSON key, even if you will overwrite it with a different key later. Add this variable to a group called `service_account` and then import it into you workflow.
387
387
388
388
2. Add the secret for your **Google Console Service Account** to Hashicorp Vault as follows:
Copy file name to clipboardExpand all lines: content/partials/code-signing-macos.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -276,10 +276,11 @@ To package your application into an `.pkg` Installer package and sign it with th
276
276
277
277
Notarization is a process where Apple verifies your application to make sure it has a Developer ID code signature and does not contain malicious content. All apps distributed outside the Mac App Store have to be notarized.
278
278
279
-
Notarizing an app during the Codemagic build process is possible using the **altool** command as follows:
279
+
Notarizing an app during the Codemagic build process is possible using the **notarytool** command as follows:
Copy file name to clipboardExpand all lines: content/partials/quickstart/code-signing-macos.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,10 +164,11 @@ To package your application into an `.pkg` Installer package and sign it with th
164
164
165
165
Notarization is a process where Apple verifies your application to make sure it has a Developer ID code signature and does not contain malicious content. All apps distributed outside the Mac App Store have to be notarized.
166
166
167
-
Notarizing an app during the Codemagic build process is possible using the **altool** command as follows:
167
+
Notarizing an app during the Codemagic build process is possible using the **notarytool** command as follows:
0 commit comments