-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also add the the verify step for the README.md with shelldoc tool Ref: https://github.com/endocode/shelldoc Signed-off-by: wuhuizuo <wuhuizuo@126.com>
- Loading branch information
Showing
4 changed files
with
64 additions
and
11 deletions.
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 |
---|---|---|
@@ -1,2 +1,38 @@ | ||
`WIP` | ||
Central declarative congfigurations for artifacts delivering. | ||
=== | ||
|
||
> We use go template format to control them. | ||
## Prerequire tools | ||
|
||
- [gomplate](https://github.com/hairyhenderson/gomplate) | ||
> Please install the master version. | ||
- [yq] | ||
- jq | ||
|
||
## For component binaries packages and container images | ||
|
||
Configuration template: [packages.yaml.tmpl](./packages.yaml.tmpl) | ||
|
||
### Required context | ||
|
||
You can get them by run: | ||
```console | ||
$ grep -oE "{{\s*\..*?}}" packages/packages.yaml.tmpl | grep -oE "\.\w+(\.\w+)*" | sort -u | ||
.Git.ref | ||
.Git.sha | ||
.Release.arch | ||
.Release.os | ||
.Release.version | ||
``` | ||
|
||
## For offline deploy pacakges | ||
|
||
### Required context | ||
|
||
You can get them by run: | ||
```console | ||
$ grep -oE "{{\s*\..*?}}" packages/offline-packages.yaml.tmpl | grep -oE "\.\w+(\.\w+)*" | sort -u | ||
.Release.arch | ||
.Release.version | ||
``` |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# See README.md | ||
components: | ||
pd: | ||
desc: pd server component tarball | ||
|