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

Rename Index env vars #562

Closed
josecelano opened this issue May 22, 2024 · 0 comments · Fixed by #564
Closed

Rename Index env vars #562

josecelano opened this issue May 22, 2024 · 0 comments · Fixed by #564
Assignees
Labels
Code Cleanup / Refactoring Tidying and Making Neat
Milestone

Comments

@josecelano
Copy link
Member

Related to: torrust/torrust-index#596

Index env vars have been renamed. We have to update them here.

TORRUST_INDEX_CONFIG             -> TORRUST_INDEX_CONFIG_TOML
TORRUST_INDEX_PATH_CONFIG        -> TORRUST_INDEX_CONFIG_TOML_PATH
TORRUST_INDEX_TRACKER_API_TOKEN  -> TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN
TORRUST_INDEX_AUTH_SECRET_KEY    -> TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY
@josecelano josecelano added the Code Cleanup / Refactoring Tidying and Making Neat label May 22, 2024
@josecelano josecelano added this to the v3.0.0 milestone May 22, 2024
@josecelano josecelano self-assigned this May 22, 2024
josecelano added a commit to josecelano/torrust-index-gui that referenced this issue May 24, 2024
```
TORRUST_INDEX_CONFIG             -> TORRUST_INDEX_CONFIG_TOML
TORRUST_INDEX_PATH_CONFIG        -> TORRUST_INDEX_CONFIG_TOML_PATH
TORRUST_INDEX_TRACKER_API_TOKEN  -> TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN
TORRUST_INDEX_AUTH_SECRET_KEY    -> TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY
```
@josecelano josecelano linked a pull request May 24, 2024 that will close this issue
josecelano added a commit that referenced this issue May 24, 2024
2c21ed9 rrefactor: [#562] rename index env vars (Jose Celano)

Pull request description:

  Rename Index env vars.

  ```
  TORRUST_INDEX_CONFIG             -> TORRUST_INDEX_CONFIG_TOML
  TORRUST_INDEX_PATH_CONFIG        -> TORRUST_INDEX_CONFIG_TOML_PATH
  TORRUST_INDEX_TRACKER_API_TOKEN  -> TORRUST_INDEX_CONFIG_OVERRIDE_TRACKER__TOKEN
  TORRUST_INDEX_AUTH_SECRET_KEY    -> TORRUST_INDEX_CONFIG_OVERRIDE_AUTH__SECRET_KEY
  ```

ACKs for top commit:
  josecelano:
    ACK 2c21ed9

Tree-SHA512: 8ab49e936e1297a32cb3b624497ff24fc00acaacbacf8b8026360afbe3f900597c9991a9cabf34c64712bd884fd336444eb7b31bff61fdb67b970e2c7540bbdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Cleanup / Refactoring Tidying and Making Neat
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant