Skip to content

Commit

Permalink
Only support one component
Browse files Browse the repository at this point in the history
  • Loading branch information
chanchiwai-ray committed Oct 8, 2024
1 parent 89ce602 commit 7dded2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ templates = {
gitignore = {
source = "./templates/github/gitignore.tftpl"
destination = ".gitignore"
vars = {}
vars = {}
}
codeowners = {
source = "./templates/github/CODEOWNERS.tftpl"
Expand All @@ -20,15 +20,15 @@ templates = {
release = {
source = "./templates/github/snap_release.yaml.tftpl"
destination = ".github/workflows/release.yaml"
vars = {
vars = {
runs_on = "[[ubuntu-22.04]]",
}
}
jira_sync_config = {
source = "./templates/github/jira_sync_config.yaml.tftpl"
destination = ".github/.jira_sync_config.yaml"
vars = {
components = ["openstack-upgrader"],
component = "openstack-upgrader",
epic_key = "SOLENG-172"
}
}
Expand Down
2 changes: 0 additions & 2 deletions terraform-plans/templates/github/jira_sync_config.yaml.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ settings:
# (Optional) Jira project components that should be attached to the created issue
# Component names are case-sensitive
components:
%{ for component in components ~}
- ${component}
%{ endfor ~}

# (Optional) (Default: false) Add a new comment in GitHub with a link to Jira created issue
add_gh_comment: false
Expand Down

0 comments on commit 7dded2f

Please sign in to comment.