Skip to content

Commit

Permalink
Better dev docs
Browse files Browse the repository at this point in the history
  • Loading branch information
illusional committed Jul 16, 2024
1 parent f5e6540 commit 472a348
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion cpg-infrastructure/developer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,16 @@ Puluim does the rest!
Previewing the workflow locally
-------------------------------

These instructions will set you up with previewing the production stack locally. You can combine this with `cpg-infra dev stack guide <https://github.com/populationgenomics/cpg-infrastructure-private/blob/main/docs/development.md>`_ to create your own developer stack for infrastructure testing.


Prerequisites:

* Have installed:
* Pulumi
* google-cloud-sdk
* azure-cli
* Get and export the pulumi access token from a CPG team-member
* Get and export the ``PULUMI_CONFIG_PASSPHRASE`` - ask a CPG team-member.
* Have both `cpg-infrastructure` and `cpg-infrastructure-private` cloned locally
* Set-up a python virtual environment, installed cpg-infrastructure.
* Usually better to `pip install -e .` in the cpg-infrastructure directory.
Expand All @@ -136,6 +139,10 @@ Some extra notes:
.. code-block:: bash
pulumi login gs://cpg-pulumi-state/
# this is using the production stack, see this guide for alternative stacks
# https://github.com/populationgenomics/cpg-infrastructure-private/blob/main/docs/development.md
pulumi stack init production
PULUMI_EXPERIMENTAL=true PULUMI_SKIP_CHECKPOINTS=true pulumi preview \
Expand Down
2 changes: 1 addition & 1 deletion cpg-infrastructure/user.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ What groups can I add a user to?
- ``metadata-write``
- Read + write metadata in metamist (includes test projects)
- ``analysis``
- Read metadata in metamist
- Read + contributor roles in metamist
- Read permissions to the main analysis buckets
- List permissions to all other main buckets
- Read + write permissions to test buckets
Expand Down

0 comments on commit 472a348

Please sign in to comment.