Skip to content

Commit

Permalink
Adds support for Jira to configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
  • Loading branch information
phracek committed Mar 13, 2023
1 parent 60cfbe3 commit d59874c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion container_workflow_tool/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import os

import yaml
from typing import IO


class Loader(yaml.SafeLoader):
Expand Down Expand Up @@ -70,6 +69,9 @@ def __init__(self, yaml_file, release="current"):
self["packager_util"] = config["packager_utils"]
self["hostname_url"] = config.get("hostname_url", "")
self["product"] = config.get("product", "")
self["jira_project"] = config.get("jira_project", "")
self["jira_label"] = config.get("jira_label", "")
self["jira_url"] = config.get("jira_url", "")
self["image_names"] = config.get("image_names", "")
self["rebuild_reason"] = config.get("rebuild_reason", "")
self["ignore_files"] = config["ignore_files"]
Expand Down

0 comments on commit d59874c

Please sign in to comment.