Skip to content

Commit 6512735

Browse files
Merge pull request #44 from mozilla/ev-update
EnvVar Naming Updates
2 parents f2e68fe + d9dfad9 commit 6512735

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/test-build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
run: |-
2424
docker run --rm \
2525
-e JIRA_USERNAME \
26-
-e JIRA_PASSWORD \
26+
-e JIRA_API_KEY \
2727
-e BUGZILLA_API_KEY \
2828
ghcr.io/${{ github.repository }}:${{ github.sha }}
2929
env:
3030
JIRA_USERNAME: "fake_username"
31-
JIRA_PASSWORD: "fake_password"
31+
JIRA_API_KEY: "fake_api_key"
3232
BUGZILLA_API_KEY: "fake_api_key"

infra/config/local_dev.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Jira API Secrets
44
JIRA_USERNAME="fake_jira_username"
5-
JIRA_PASSWORD="fake_jira_password"
5+
JIRA_API_KEY="fake_jira_api_key"
66

77
# Bugzilla API Secrets
88
BUGZILLA_API_KEY="fake_bugzilla_api_key"

src/app/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Settings(BaseSettings):
2525
jira_base_url: str = "https://mozit-test.atlassian.net/"
2626
jira_issue_url: str = f"{jira_base_url}browse/%s"
2727
jira_username: str
28-
jira_password: str
28+
jira_api_key: str
2929

3030
# Bugzilla
3131
bugzilla_base_url: str = "https://bugzilla-dev.allizom.org"

src/jbi/services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_jira():
1616
return Jira(
1717
url=settings.jira_base_url,
1818
username=settings.jira_username,
19-
password=settings.jira_password,
19+
password=settings.jira_api_key, # package calls this param 'password' but actually expects an api key
2020
)
2121

2222

0 commit comments

Comments
 (0)