Skip to content

Commit 42e7ffd

Browse files
committed
add custom key to config
1 parent 7b7ab50 commit 42e7ffd

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/git-bob.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
GITLAB_API_KEY: "${{ secrets.GITLAB_API_KEY }}"
6262
E_INFRA_CZ_API_KEY: "${{ secrets.E_INFRA_CZ_API_KEY }}"
6363
SCADS_API_KEY: "${{ secrets.SCADS_API_KEY }}"
64+
CUSTOM_LLM_SERVER: "${{ secrets.CUSTOM_LLM_SERVER }}"
65+
CUSTOM_API_KEY: "${{ secrets.CUSTOM_API_KEY }}"
6466
GITHUB_RUN_ID: "${{ github.run_id }}"
6567
TWINE_USERNAME: "${{ secrets.TWINE_USERNAME }}"
6668
TWINE_PASSWORD: "${{ secrets.TWINE_PASSWORD }}"

.gitlab/.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ respond:
4141
KISSKI_API_KEY: "$KISSKI_API_KEY"
4242
BLABLADOR_API_KEY: "$BLABLADOR_API_KEY"
4343
DEEPSEEK_API_KEY: "$DEEPSEEK_API_KEY"
44+
CUSTOM_LLM_SERVER: "$CUSTOM_LLM_SERVER"
45+
CUSTOM_API_KEY: "$CUSTOM_API_KEY"
4446
GITLAB_API_KEY: "$GITLAB_API_TOKEN"
4547
E_INFRA_CZ_API_KEY: "$E_INFRA_CZ_API_KEY"
4648
GITLAB_PIPELINE_ID: "$CI_PIPELINE_ID"

src/git_bob/_utilities.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,9 @@ def clean_output(repository, text):
552552
"TWINE_PASSWORD",
553553
"HF_TOKEN",
554554
"DEEPSEEK_API_KEY",
555-
"CODECOV_TOKEN"]
555+
"CODECOV_TOKEN",
556+
"CUSTOM_API_KEY",
557+
"CUSTOM_LLM_SERVER"]
556558

557559
def save_and_clear_environment():
558560
"""Clear all environment variables and store the entire env in a dictionary for restoration later"""

0 commit comments

Comments
 (0)