Skip to content

Commit 5e8d9dc

Browse files
committed
MPT-16824 Rename report portal launch and move to use attributes
1 parent 5e7fa5a commit 5e8d9dc

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

.github/workflows/pull-request.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ jobs:
3636
- name: "Run validation & test"
3737
run: make check-all
3838

39+
- name: "Run E2E test"
40+
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\""
41+
env:
42+
RP_LAUNCH: mpt-api-client-e2e
43+
RP_ENDPOINT: ${{ secrets.RP_ENDPOINT }}
44+
RP_API_KEY: ${{ secrets.RP_API_KEY }}
45+
RP_LAUNCH_ATTR: ref:${{ github.ref }} event_name:${{ github.event_name }}
46+
3947
- name: "Run SonarCloud Scan"
4048
uses: SonarSource/sonarqube-scan-action@master
4149
env:

.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)