NRO Generation
How to create a new P4 NRO instance
Requirements
Local dependencies
Permissions and repositories
Google Cloud Project access in the development (
planet-4-151612
) and production (planet4-production
) projects.Git repositories checked out (main branch)
Build the configuration
Get inside the planet-nro-generator repository and follow the instructions on README.md. In a nutsell:
If you want to create only a Development environment just type false for release and production.
There are two manual steps in this process. Adding a github ssh key to CircleCI and create a new set of Google OAuth tokens. You should get quick links to both of them on the terminal output.
Create the environments
First connect to the development cluster
Get inside the planet-helper-scripts
repository and follow the instructions on README.md. In a nutshell:
The configure command will ask you about the helm chart to use.
It will also ask you to provide the OAuth tokens you created in the previous step.
The make command will ask a few times about replacing
defaultcontent
path with your own. Choosey
.
If you are also creating staging and production environments you can repeat these steps, after you switch to the production cluster. Here is an example for cidev
release instance:
Once this is done, you can just re-run ./configure.sh
and make
. In order for the staging and production helm charts to be listed in the configure command, one successful deploy should be completed in the CI. Make sure to tag the new deploy repository to trigger that.
Last updated