Skip to content

Commit

Permalink
Merge pull request #854 from eclipse-tractusx/chore/fix-jira-secrets
Browse files Browse the repository at this point in the history
chore(workflows):[#828] fix secret names and executionFilter
  • Loading branch information
ds-jhartmann authored Jul 26, 2024
2 parents 88be739 + 7bdeb38 commit f0098f4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cucumber-integration-test-INT-association.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
executionFilter:
description: 'Execution filter'
required: false
default: '!Ignore & !INACTIVE & INTEGRATION_TEST & DEV'
default: '!Ignore& !INACTIVE & IRS & INT'
exportFilter:
description: 'Jira export filter'
required: false
Expand Down Expand Up @@ -41,15 +41,15 @@ jobs:
exit 1
fi
shell: bash
- name: Check if is defined jiraUser is defined
- name: Check if is defined IRS_XRAY_JIRA_USER is defined
run: |
if [[ -z "${{ secrets.ASSOCIATION_TX_JIRA_USERNAME }}" ]]; then
if [[ -z "${{ secrets.IRS_XRAY_JIRA_USER }}" ]]; then
echo "Error: Missing secret: Please configure IRS_XRAY_JIRA_USER."
exit 1
fi
- name: Check if is defined jiraUser is defined
- name: Check if is defined IRS_XRAY_JIRA_SECRET is defined
run: |
if [[ -z "${{ secrets.ASSOCIATION_TX_JIRA_PASSWORD }}" ]]; then
if [[ -z "${{ secrets.IRS_XRAY_JIRA_SECRET }}" ]]; then
echo "Error: Missing secret: Please configure IRS_XRAY_JIRA_SECRET."
exit 1
fi
Expand All @@ -61,10 +61,10 @@ jobs:
regularUserApiKey: ${{ secrets.INT_REGULAR_USER_API_KEY }}
adminUserApiKey: ${{ secrets.INT_ADMIN_USER_API_KEY }}
cucumberPublishToken: ${{ secrets.IRS_CUCUMBER_PUBLISH_TOKEN }}
jiraUser: ${{ secrets.ASSOCIATION_TX_JIRA_USERNAME }}
jiraPassword: ${{ secrets.ASSOCIATION_TX_JIRA_PASSWORD }}
jiraUser: ${{ secrets.IRS_XRAY_JIRA_USER }}
jiraPassword: ${{ secrets.IRS_XRAY_JIRA_SECRET }}
with:
executionFilter: ${{ github.event.inputs.executionFilter || '!Ignore& !INACTIVE & IRS & INT & POLICY_STORE' }}
executionFilter: ${{ github.event.inputs.executionFilter || '!Ignore& !INACTIVE & IRS & INT' }}
# JIRA filter 10001: project = CXTM AND labels = "INT" AND labels = "IRS" AND status = Ready AND testType = Cucumber
exportFilter: ${{ github.event.inputs.exportFilter || '10001' }}

0 comments on commit f0098f4

Please sign in to comment.