Files
website-v2/docs/env_vars.md
Lacey Williams Henschel 330d53426d Fix JFrog Artifactory download link and add docs
- Remove extra slash
- Add setting for the minimum Artifactory version
- Document Artifactory environment variables and download process
- Update tests
2024-01-10 12:14:10 -08:00

3.2 KiB

Environment Variables

This project uses environment variables to configure certain aspects of the application.

GITHUB_TOKEN

  • Used to authenticate with the GitHub API when making requests.
  • For local development, you should set this variable to a valid personal access token that has the necessary permissions to access the relevant repositories. Generate a new personal access token and replace the value for GITHUB_TOKEN in your .env file in order to connect to certain parts of the GitHub API.
  • In deployed environments, this should be set to a valid access token associated with the GitHub organization. Edit kube/boost/values.yaml (or the environment-specific yaml file) to change this value.

ENVIRONMENT_NAME

  • Used to indicate the name of the environment where the application is running.
  • For local development, set this to whatever you want.
  • In deployed environments, change the value by editing kube/boost/values.yaml (or the environment-specific yaml file).

STATIC_CONTENT_AWS_ACCESS_KEY_ID

  • Used to authenticate with the Amazon Web Services (AWS) API when accessing static content from a specified bucket.
  • For local development, obtain valid value from the Boost team.
  • In deployed environments, the valid value is set as a kube secret and is defined in kube/boost/values.yaml (or the environment-specific yaml file).

STATIC_CONTENT_AWS_SECRET_ACCESS_KEY

  • Used to authenticate with the Amazon Web Services (AWS) API when accessing static content from a specified bucket.
  • For local development, obtain valid value from the Boost team.
  • In deployed environments, the valid value is set as a kube secret and is defined in kube/boost/values.yaml (or the environment-specific yaml file).

STATIC_CONTENT_BUCKET_NAME

  • Specifies the name of the Amazon S3 bucket where static content is stored
  • For local development, obtain valid value from the Boost team.
  • In deployed environments, the valid value is set in kube/boost/values.yaml (or the environment-specific yaml file).

Boost Release Downloads Settings

ARTIFACTORY_URL

  • Base API endpoint for accessing the JFrog Artifactory release downloads. This is NOT the base URL for the downloads themselves.
  • For local development, there is a default value in config/settings.py
  • In deployed environments, the valid value is set in kube/boost/values.yaml (or the environment-specific yaml file).

MIN_ARTIFACTORY_RELEASE

  • The lowest version of Boost with its downloads stored in JFrog Artifactory
  • Hard-coded in config/settings.py in all environments

Boost Google Calendar settings

BOOST_CALENDAR

  • Address for the Boost Google Calendar
  • Hard-coded in settings.py in all environments

CALENDAR_API_KEY

  • API key for the Boost Google calendar
  • For local development, obtain valid value from the Boost team.
  • In deployed environments, the valid value is set in kube/boost/values.yaml (or the environment-specific yaml file).

EVENTS_CACHE_KEY and EVENTS_CACHE_TIMEOUT

  • The cache key and timeout length for the Google Calendar events
  • Hard-coded in settings.py in all environments