Skip to content

Commit 3f35b70

Browse files
committed
Debug
1 parent 0aa455e commit 3f35b70

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/actions/generate-jira-release/action.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ runs:
5454
id: release-candidate
5555
shell: bash
5656
env:
57+
JIRA_BASE_URL: ${{ inputs.jira-base-url }}
5758
JIRA_USERNAME: ${{ inputs.jira-username }}
5859
JIRA_API_TOKEN: ${{ inputs.jira-api-token }}
5960
run: |
@@ -98,6 +99,10 @@ runs:
9899
- name: Add trail to jira release
99100
if: ${{ steps.release-candidate.outputs.release-was-created == 'true' }}
100101
shell: bash
102+
env:
103+
JIRA_BASE_URL: ${{ inputs.jira-base-url }}
104+
JIRA_USERNAME: ${{ inputs.jira-username }}
105+
JIRA_API_TOKEN: ${{ inputs.jira-api-token }}
101106
run: |
102107
echo "STEP: Add trail to jira release"
103108
source scripts/lib-jira.sh
@@ -107,6 +112,10 @@ runs:
107112
- name: Report current prod SW
108113
if: ${{ steps.release-candidate.outputs.release-was-created == 'true' }}
109114
shell: bash
115+
env:
116+
KOSLI_ORG: ${{ inputs.kosli-org }}
117+
KOSLI_FLOW: ${{ inputs.kosli-flow }}
118+
KOSLI_API_TOKEN: ${{ inputs.kosli-api-token }}
110119
run: |
111120
echo "STEP: Report current prod SW"
112121
source scripts/lib-kosli.sh
@@ -123,6 +132,10 @@ runs:
123132
124133
- name: Report current staging SW
125134
shell: bash
135+
env:
136+
KOSLI_ORG: ${{ inputs.kosli-org }}
137+
KOSLI_FLOW: ${{ inputs.kosli-flow }}
138+
KOSLI_API_TOKEN: ${{ inputs.kosli-api-token }}
126139
run: |
127140
echo "STEP: Report current staging SW"
128141
source scripts/lib-kosli.sh
@@ -139,13 +152,20 @@ runs:
139152
140153
- name: Add Jira issues to release
141154
shell: bash
155+
env:
156+
KOSLI_ORG: ${{ inputs.kosli-org }}
157+
KOSLI_FLOW: ${{ inputs.kosli-flow }}
158+
KOSLI_API_TOKEN: ${{ inputs.kosli-api-token }}
159+
JIRA_BASE_URL: ${{ inputs.jira-base-url }}
160+
JIRA_USERNAME: ${{ inputs.jira-username }}
161+
JIRA_API_TOKEN: ${{ inputs.jira-api-token }}
142162
run: |
143163
echo "STEP: Add Jira issues to release"
144164
source scripts/lib-jira.sh
145165
source scripts/lib-kosli.sh
146166
147167
JIRA_KEYS_IN_REL=($(get_issue_keys_in_release ${{ env.RELEASE_ID }}))
148-
JIRA_KEYS_IN_KOSLI=($(get_issue_keys_between_staging_and_prod ${KOSLI_ENV_STAGING} ${KOSLI_ENV_PROD} ${KOSLI_FLOW_SOURCE}))
168+
JIRA_KEYS_IN_KOSLI=($(get_issue_keys_between_staging_and_prod ${{ inputs.kosli-env-staging }} ${{ inputs.kosli-env-prod }} ${{ inputs.kosli-flow-source }}))
149169
150170
# Add all new jira issues between prod and staging
151171
echo "Adding Jira issues:" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)