Skip to content

🎥 Make videos programmatically with React

remove update Remotion docs for CloudRun

Matt McGillivray231c0e8d616b
diff --git a/packages/docs/docs/cloudrun/generateEnvFile.md b/packages/docs/docs/cloudrun/generateEnvFile.md
index 66f31140a2..3b066366d5 100644
--- a/packages/docs/docs/cloudrun/generateEnvFile.md
+++ b/packages/docs/docs/cloudrun/generateEnvFile.md
@@ -28,7 +28,7 @@ GCP allows a maximum of 10 keys per service account. If you have already created
If you want to generate a new .env file, or manage keys already created, you will want to select option 3.
If this is the first time [initialising Remotion in the GCP project](./setup.md), you will want to select option 1.
- If you are [updating the version of Remotion for this GCP project](./updateGcpProject.md), you will want to select option 2.
+ If you are [updating the version of Remotion for this GCP project](./setup.md), you will want to select option 1.
<!-- ToDo - host this in the official Remotion repo -->
diff --git a/packages/docs/docs/cloudrun/setup.md b/packages/docs/docs/cloudrun/setup.md
index 226e9796e7..88a90eb60e 100644
--- a/packages/docs/docs/cloudrun/setup.md
+++ b/packages/docs/docs/cloudrun/setup.md
@@ -95,8 +95,8 @@ This means that you can pull in a script that runs a couple of gcloud and Terraf
_The first command downloads a tar file from the Remotion repo, and extracts it to the current directory. The second command runs the installer script._
If this is the first time initialising Remotion in the GCP project, you will want to select option 1.
-
- If you are [updating the version of Remotion for this GCP project](./updateGcpProject.md), you will want to select option 2.
+ If you are updating the version of Remotion for this GCP project, you will want to select option 1.
+
If you want to [generate a new .env file](./generateEnvFile.md), or manage keys already created, you will want to select option 3.
<!-- ToDo - host this in the official Remotion repo -->
diff --git a/packages/docs/docs/cloudrun/updateGcpProject.md b/packages/docs/docs/cloudrun/updateGcpProject.md
deleted file mode 100644
index 68887ecc34..0000000000
--- a/packages/docs/docs/cloudrun/updateGcpProject.md
+++ /dev/null
@@ -1,57 +0,0 @@
----
-image: /generated/articles-docs-cloudrun-updateGcpProject.png
-id: updateGcpProject
-title: Update GCP Project
-slug: /cloudrun/updateGcpProject
-crumb: "Cloudrun"
----
-
-The permissions on the Service Account role may change as Remotion evolves in the future. To ensure that the permissions in GCP match the requirements of the version of your Remotion project, follow these steps;
-
-1. Open the [Project Dashboard](https://console.cloud.google.com/home/dashboard) in the GCP console, and select your existing Remotion project.
-
-2. In the top right hand corner of the screen, click the Activate Cloud Shell icon
-
- <img src="/img/cloudrun/selectCloudShell.jpg" width="200" />
-
-3. Within the Cloud Shell, type the following command and follow the prompts.
-
- ```bash
- curl -L https://github.com/UmungoBungo/remotion/raw/gcp-lambda-alternative/packages/cloudrun/gcpInstaller/gcpInstaller.tar | tar -x --strip-components=1 -C . && node install.mjs
- ```
-
- _The first command downloads a tar file from the Remotion repo, and extracts it to the current directory. The second command runs the installer script._
-
- If you are updating the version of Remotion for this GCP project, you will want to select option 2.
-
- If this is the first time [initialising Remotion in the GCP project](./setup.md), you will want to select option 1.
- If you want to [generate a new .env file](./generateEnvFile.md), or manage keys already created, you will want to select option 3.
- <!-- ToDo - host this in the official Remotion repo -->
-
-4. Download the .env file by clicking the vertical ellipsis, in the top right of the cloud shell window, and selecting Download. Then type .env at the end of the prefilled path, and click DOWNLOAD;
- <img src="/img/cloudrun/downloadEnv.jpg" width="350" />
- <br />
- <br />
- <img src="/img/cloudrun/downloadEnvFolder.png" width="300" />
-
-5. Remove the .env file from the virtual machine, using this command;
-
- ```bash
- rm .env
- ```
-
-6. Place the downloaded .env file into the root of the Remotion project. You may need to rename it from `env.txt`, to `.env`. The file should have this format;
-
- ```txt title=".env"
- REMOTION_GCP_PRIVATE_KEY=<private key>
- REMOTION_GCP_CLIENT_EMAIL=<client email>
- REMOTION_GCP_PROJECT_ID=<project id>
- ```
-
-## 5. Optional: Validate the permission setup
-
-From within your code base, run the following command to validate the permissions are setup correctly in GCP. As long as your GCP project was setup with a matching Remotion version, this should pass.
-
-```
-npx remotion cloudrun policies validate
-```
diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.js
index 0bb9a5f534..5429d6afca 100644
--- a/packages/docs/sidebars.js
+++ b/packages/docs/sidebars.js
@@ -489,7 +489,6 @@ module.exports = {
},
items: [
"cloudrun/setup",
- "cloudrun/updateGcpProject",
"cloudrun/generateEnvFile",
"cloudrun/region-selection",
],