-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Provide some scripts to seed some layers (close #185)
- Loading branch information
Christophe Nouguier
committed
Oct 9, 2020
1 parent
1f0b1cd
commit 9bfffa8
Showing
2 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
sidebarDepth: 3 | ||
--- | ||
|
||
# Helper scripts | ||
|
||
## clear-cache | ||
|
||
### Description | ||
|
||
Clears the cache of a given layer | ||
|
||
`usage: clear-cache <layer>` | ||
|
||
### Example | ||
|
||
```bash | ||
$./kargo exec clear-cache "osm-bright 9 6" | ||
``` | ||
|
||
## seed-cache | ||
|
||
### Description | ||
|
||
Seeds the cache of a given layer | ||
|
||
`usage: seed-cache <layer> <max-level> <nb-threads>` | ||
|
||
Where: | ||
* `max-level` specifies the maximum level | ||
* `nb-threads` specifies the number of threads to used when seeding | ||
|
||
### Example | ||
|
||
```bash | ||
$./kargo exec seed-cache "osm-bright 9 6" | ||
``` |