Skip to content

fix: update docs - #455

Open
botanical wants to merge 2 commits into
mainfrom
feat/update-docs-for-clarity
Open

botanical wants to merge 2 commits into
mainfrom
feat/update-docs-for-clarity

Conversation

@botanical

Copy link
Copy Markdown
Member

No description provided.

@botanical
botanical requested a review from smohiudd as a code owner September 30, 2026 21:33
@botanical
botanical requested a review from a team September 30, 2026 21:33

@jjfrench jjfrench left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the docs additions ❤️

Comment thread docs/README.md Outdated
Comment thread docs/README.md

The workflows read config from two GitHub Environments (under Settings -> Environments): `staging` and `production`. A job only sees the secrets and vars of the environment it declares. The same secret name, therefore, can hold a different value in each stage.

## Which workflow uses which environment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could see a comprehensive environment table for each environment being useful for readability - could maybe consolidate the table below, then too

Comment thread docs/README.md
| -- | -- | -- | -- | -- |
| STAGING_AIRFLOW_API_VERSION | Staging GitHub Env | Staging Publish/Promotion | 2 | The Airflow Version for the Staging Environment. For Airflow 2 = API v1 + Basic auth, Airflow 3 = API v2 + JWT |
| PRODUCTION_AIRFLOW_API_VERSION | Production GitHub Env | Production Promotion | 2 | Same as above |
| AIRFLOW_JWT_SECRET | Both (optional) | Any Publish/Promotion step that uses Airflow 3 | none | Conditionally required when the resolved API version is 3. Must match the secret that the Airflow 3 deployment signs with. Can be found in Secrets Manager |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both - referring to Staging and Production GitHub Env?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes! should I make that more clear?

Comment thread docs/README.md Outdated
@jjfrench
jjfrench requested a review from a team October 1, 2026 18:16
Comment thread docs/README.md
- Secrets, for a staging instance using Airflow 3, `AIRFLOW_JWT_SECRET` and `AIRFLOW_JWT_SUB`.
- Secret for the MDX PR step: `APP_PEM`.
- Vars: `STAGING_SM2A_API_URL`, `STAGING_AIRFLOW_API_VERSION`, `DATASET_DAG_NAME`, and `ARTIFACT_RETENTION_DAYS`.
- Vars for the MDX step: `SKIP_MDX_PR_STEP`, `VEDA_CONFIG_REPO_ORG`, `VEDA_CONFIG_REPO_NAME`, `VEDA_CONFIG_APP_ID`, and `GH_ACTOR_EMAIL`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific reason why "GH_ACTOR_EMAIL" needs to be a var?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm maybe it doesn't need to be a var but we made it this way to be easily configurable (and I believe it's required for the git config setup)

@jjfrench
jjfrench requested a review from a team October 1, 2026 18:55
Co-authored-by: Jamison French <50224594+jjfrench@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants