Skip to content

Commit 8398818

Browse files
authored
MPT-16824 Rename report portal launch and move to use attributes (#199)
2 parents 5e7fa5a + 8fe745b commit 8398818

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/push-release-branch.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ jobs:
3939
run: make check-all
4040

4141
- name: "Run E2E test"
42-
run: make e2e args="--reportportal --rp-launch=$RP_LAUNCH --rp-api-key=$RP_API_KEY --rp-endpoint=$RP_ENDPOINT"
42+
run: make e2e args="--reportportal --rp-launch=$RP_LAUNCH --rp-api-key=$RP_API_KEY --rp-endpoint=$RP_ENDPOINT -o rp_launch_attributes=\"$RP_LAUNCH_ATTR\""
4343
env:
44-
RP_LAUNCH: github-e2e-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_number }}
44+
RP_LAUNCH: mpt-api-client-e2e
4545
RP_ENDPOINT: ${{ secrets.RP_ENDPOINT }}
4646
RP_API_KEY: ${{ secrets.RP_API_KEY }}
47+
RP_LAUNCH_ATTR: ref:${{ github.ref }} event_name:${{ github.event_name }}
4748

4849
- name: "Run SonarCloud Scan"
4950
uses: SonarSource/sonarqube-scan-action@master

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ jobs:
3535
MPT_API_TOKEN_VENDOR: ${{ secrets.MPT_API_TOKEN_VENDOR }}
3636

3737
- name: "Run E2E test"
38-
run: make e2e args="--reportportal --rp-launch=$RP_LAUNCH --rp-api-key=$RP_API_KEY --rp-endpoint=$RP_ENDPOINT"
38+
run: make e2e args="--reportportal --rp-launch=$RP_LAUNCH --rp-api-key=$RP_API_KEY --rp-endpoint=$RP_ENDPOINT -o rp_launch_attributes=\"$RP_LAUNCH_ATTR\""
3939
env:
40-
RP_LAUNCH: github-e2e-release-${{ github.ref_name }}
40+
RP_LAUNCH: mpt-api-client-e2e
4141
RP_ENDPOINT: ${{ secrets.RP_ENDPOINT }}
4242
RP_API_KEY: ${{ secrets.RP_API_KEY }}
43+
RP_LAUNCH_ATTR: ref:${{ github.ref }} event_name:${{ github.event_name }}
4344

4445
- name: "Set up Python"
4546
uses: actions/setup-python@v6

0 commit comments

Comments
 (0)