Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a workflow to ensure the stable docs is being synced #3617

Merged
merged 1 commit into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions .github/workflows/codegen.yaml → .github/workflows/gen.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: CodeGen
name: Gen

on:
pull_request:
branches: [ master ]

jobs:
analyze:
code:
name: Validate Generated Code
runs-on: ubuntu-latest
steps:
Expand All @@ -21,3 +21,18 @@ jobs:
- name: Validate
shell: bash
run: test -z "$(git status --porcelain)"

docs:
name: Validate Generated Docs
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Generate stable docs
run: make gen/stable-docs
- name: Show Git status
shell: bash
run: git status
- name: Validate
shell: bash
run: test -z "$(git status --porcelain)"
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ The full list of configurable fields are [here](/docs/operator-manual/piped/conf

If you choose `Helm` as the installation method, we recommend using `--set-file` to mount the key files while performing the [upgrading process](/docs/operator-manual/piped/installation/#installing-on-kubernetes-cluster):

```console
--set-file secret.data.datadog-api-key={PATH_TO_API_KEY_FILE} \
--set-file secret.data.datadog-application-key={PATH_TO_APPLICATION_KEY_FILE}
```
--set-file secret.datadogApiKey.data={PATH_TO_API_KEY_FILE} \
--set-file secret.datadogApplicationKey.data={PATH_TO_APPLICATION_KEY_FILE}
```