Skip to content

Commit

Permalink
Merge "Added clarification on how to keep separate deployment configs…
Browse files Browse the repository at this point in the history
… locally." into main
  • Loading branch information
jaimemm-g authored and Gerrit Code Review committed Jul 7, 2021
2 parents 007b3e5 + 8fb4bd4 commit 4d4d734
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ predictions completion).

## FAQ

### "HOw can I deploy multiple instances at the same time?"
### "How can I deploy multiple instances at the same time?"
Multiple concurrent deployments are possible:

Each deployment must _at least_ have a different value for the following
Expand All @@ -741,6 +741,39 @@ parameters in `config.yaml`:
* Solution prefix and/or deployment name
* Output dataset

Keeping multiple deployment configurations in your local copy is also possible.
In order to do so, you can make as many copies of the `deploy` directory a
necessary. Place the copies in the same directory as the original `deploy`
directory. Just rename each copy to something descriptive of that particular
deployment. You can run each deployment by cding into that deployment's
directory and executing its `deploy.sh` script.
Example:
```
prediction_framework
├── cfs
├── deploy
│ └── ...
├── deploy_20210601
│ └── ...
├── deploy_20210702
│ └── ...
├── design
├── docs
└── utils
```
In the summarize directory structure above, `deploy_20210601` and
`deploy_20210702` hold different deployment configurations. Each directory has
its own copy of `config.yaml`, `custom_scripts`, etc. At any point in time a
deployment can be reproduced by cding into it and running the deployment script.
For example:
```
cd deploy_20210601
bash deploy.sh
```
### “I execute a backfill but I do not see the tables populated”
1. Check there’re no old tasks logged into firestore `prepare_tx_tracking`
Expand Down

0 comments on commit 4d4d734

Please sign in to comment.