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
if [[ "${VERSION_BUMP}" == "false" && -n "${uncommitted_changes}" ]]; then
39
+
if [[ "${VERSION_BUMP}" == "false" && -n "${diff_changelog}" ]]; then
43
40
echo "Error: Changelog should only be updated alongside a version bump. Please restore the changelog."
44
41
exit 1
45
42
fi
46
-
47
-
if [[ "${VERSION_BUMP}" == "true" && -n "${diff_changelog}" ]]; then
48
-
echo "Error: Changelog must be updated alongside a version bump. Please run 'npm run gen-ipa-changelog' from the ipa directory and commit the changes."
43
+
44
+
npm run gen-ipa-changelog
45
+
46
+
# Check CHANGELOG.md is the generated changelog result
47
+
uncommitted_changes=$(git status --porcelain | grep "CHANGELOG.md" || echo "")
48
+
49
+
if [[ "${VERSION_BUMP}" == "true" && -n "${uncommitted_changes}" ]]; then
50
+
echo "Error: Changelog is not the same as the generated result. Please run 'npm run gen-ipa-changelog' from the ipa directory and commit the changes."
"description": "Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role.",
57467
+
"description": "Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. For the GCP provider, if the project folder is not yet provisioned, Atlas will now create the role asynchronously. An intermediate role with status `IN_PROGRESS` will be returned, and the final service account will be provisioned. Once the GCP project is set up, subsequent requests will create the service account synchronously.",
57447
57468
"externalDocs": {
57448
57469
"description": "Set Up Access to Cloud Providers",
description: Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role.
44516
+
description: Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. For the GCP provider, if the project folder is not yet provisioned, Atlas will now create the role asynchronously. An intermediate role with status `IN_PROGRESS` will be returned, and the final service account will be provisioned. Once the GCP project is set up, subsequent requests will create the service account synchronously.
Copy file name to clipboardExpand all lines: openapi/v1-deprecated/v1.json
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6640,7 +6640,7 @@
6640
6640
"post": {
6641
6641
"tags": ["Cloud Provider Access"],
6642
6642
"summary": "Create One Cloud Provider Access Role",
6643
-
"description": "Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role.",
6643
+
"description": "Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. For the GCP provider, if the project folder is not yet provisioned, Atlas will now create the role asynchronously. An intermediate role with status `IN_PROGRESS` will be returned, and the final service account will be provisioned. Once the GCP project is set up, subsequent requests will create the service account synchronously.",
6644
6644
"externalDocs": {
6645
6645
"description": "Set Up Access to Cloud Providers",
0 commit comments