Skip to content

Commit 13359ca

Browse files
authored
test: cleanup of e2e workflow (#1865)
1 parent fca31d6 commit 13359ca

File tree

1 file changed

+1
-75
lines changed

1 file changed

+1
-75
lines changed

.github/workflows/e2e-tests-linux-split.yml

Lines changed: 1 addition & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ on:
1515
type: choice
1616
options:
1717
- chrome
18-
- edge
1918
- firefox
2019
network:
2120
description: 'network to use'
@@ -49,64 +48,6 @@ on:
4948
description: 'Tags(optional)'
5049
required: false
5150
default: ''
52-
cardano_mainnet_url:
53-
type: choice
54-
required: true
55-
default: dev-mainnet.lw.iog.io
56-
description: 'cardano mainnet url to use'
57-
options:
58-
- dev-mainnet.lw.iog.io
59-
- dev-mainnet.eu-central-1.lw.iog.io
60-
- dev-mainnet.eu-west-1.lw.iog.io
61-
- dev-mainnet.us-east-1.lw.iog.io
62-
- dev-mainnet.us-east-2.lw.iog.io
63-
- live-mainnet.lw.iog.io
64-
- live-mainnet.eu-central-1.lw.iog.io
65-
- live-mainnet.eu-west-1.lw.iog.io
66-
- live-mainnet.us-east-1.lw.iog.io
67-
- live-mainnet.us-east-2.lw.iog.io
68-
- staging-mainnet.lw.iog.io
69-
- staging-mainnet.eu-central-1.lw.iog.io
70-
- staging-mainnet.eu-west-1.lw.iog.io
71-
- staging-mainnet.us-east-1.lw.iog.io
72-
- staging-mainnet.us-east-2.lw.iog.io
73-
cardano_preprod_url:
74-
type: choice
75-
required: true
76-
default: dev-preprod.lw.iog.io
77-
description: 'cardano preprod url to use'
78-
options:
79-
- dev-preprod.lw.iog.io
80-
- dev-preprod.eu-central-1.lw.iog.io
81-
- dev-preprod.eu-west-1.lw.iog.io
82-
- dev-preprod.us-east-1.lw.iog.io
83-
- dev-preprod.us-east-2.lw.iog.io
84-
- live-preprod.lw.iog.io
85-
- live-preprod.eu-central-1.lw.iog.io
86-
- live-preprod.eu-west-1.lw.iog.io
87-
- live-preprod.us-east-1.lw.iog.io
88-
- live-preprod.us-east-2.lw.iog.io
89-
- staging-preprod.lw.iog.io
90-
- staging-preprod.eu-central-1.lw.iog.io
91-
- staging-preprod.eu-west-1.lw.iog.io
92-
- staging-preprod.us-east-1.lw.iog.io
93-
- staging-preprod.us-east-2.lw.iog.io
94-
cardano_preview_url:
95-
type: choice
96-
required: true
97-
default: dev-preview.lw.iog.io
98-
description: 'cardano preview url to use'
99-
options:
100-
- dev-preview.lw.iog.io
101-
- dev-preview.eu-central-1.lw.iog.io
102-
- dev-preview.eu-west-1.lw.iog.io
103-
- dev-preview.us-east-1.lw.iog.io
104-
- dev-preview.us-east-2.lw.iog.io
105-
- live-preview.lw.iog.io
106-
- live-preview.eu-central-1.lw.iog.io
107-
- live-preview.eu-west-1.lw.iog.io
108-
- live-preview.us-east-1.lw.iog.io
109-
- live-preview.us-east-2.lw.iog.io
11051

11152
run-name: "E2E | os: Linux | browser: ${{ github.event.inputs.browser || 'chrome' }} | network: ${{ github.event.inputs.network || 'preprod' }} | #${{ github.run_number }} | tags: ${{ github.event.inputs.tags || '' }} | smoke only: ${{ github.event.inputs.smoke_only || 'false' }}"
11253

@@ -117,10 +58,7 @@ env:
11758
DISPLAY: ':99.0'
11859
NODE_OPTIONS: --max-old-space-size=16384
11960
BRANCH: ${{ github.ref_name }}
120-
CARDANO_MAINNET_URL: ${{ startsWith(github.ref_name, 'release/') && 'live-mainnet.lw.iog.io' || (github.event.inputs.cardano_mainnet_url || 'dev-mainnet.lw.iog.io') }}
121-
CARDANO_PREPROD_URL: ${{ startsWith(github.ref_name, 'release/') && 'live-preprod.lw.iog.io' || (github.event.inputs.cardano_preprod_url || 'dev-preprod.lw.iog.io') }}
122-
CARDANO_PREVIEW_URL: ${{ startsWith(github.ref_name, 'release/') && 'live-preview.lw.iog.io' || (github.event.inputs.cardano_preview_url || 'dev-preview.lw.iog.io') }}
123-
BUILD_ARTIFACT_NAME: lace-${{ startsWith(github.ref_name, 'release/') && 'live-preprod.lw.iog.io' || (github.event.inputs.cardano_preprod_url || 'dev-preprod.lw.iog.io') }}-${{ github.sha }}-${{ github.event.inputs.browser || 'chrome' }}
61+
BUILD_ARTIFACT_NAME: lace-${{ startsWith(github.ref_name, 'release/') && 'release' || 'dev' }}-${{ github.sha }}-${{ github.event.inputs.browser || 'chrome' }}
12462

12563
jobs:
12664
setup:
@@ -153,9 +91,6 @@ jobs:
15391
echo "Runner: ${{ github.event.inputs.runner || 'ubuntu-22.04' }}"
15492
echo "Smoke only: ${{ github.event.inputs.smoke_only || 'false' }}"
15593
echo "Tags(optional): ${{ github.event.inputs.tags || '' }}"
156-
echo "Cardano mainnet url: ${{ env.CARDANO_MAINNET_URL }}"
157-
echo "Cardano preprod url: ${{ env.CARDANO_PREPROD_URL }}"
158-
echo "Cardano preview url: ${{ env.CARDANO_PREVIEW_URL }}"
15994
echo "Build artifact name: ${{ env.BUILD_ARTIFACT_NAME }}"
16095
outputs:
16196
runner: ${{ github.event.inputs.runner || 'ubuntu-22.04' }}
@@ -175,12 +110,6 @@ jobs:
175110
if: needs.setup.outputs.build_exists == 'false'
176111
uses: ./.github/shared/build
177112
with:
178-
CARDANO_SERVICES_URL_MAINNET: 'https://${{ env.CARDANO_MAINNET_URL }}'
179-
CARDANO_SERVICES_URL_PREPROD: 'https://${{ env.CARDANO_PREPROD_URL }}'
180-
CARDANO_SERVICES_URL_PREVIEW: 'https://${{ env.CARDANO_PREVIEW_URL }}'
181-
CARDANO_WS_SERVER_URL_MAINNET: 'wss://${{ env.CARDANO_MAINNET_URL }}'
182-
CARDANO_WS_SERVER_URL_PREPROD: 'wss://${{ env.CARDANO_PREPROD_URL }}'
183-
CARDANO_WS_SERVER_URL_PREVIEW: 'wss://${{ env.CARDANO_PREVIEW_URL }}'
184113
BLOCKFROST_PROJECT_ID_MAINNET: ${{ secrets.BLOCKFROST_PROJECT_ID_MAINNET }}
185114
BLOCKFROST_PROJECT_ID_PREPROD: ${{ secrets.BLOCKFROST_PROJECT_ID_PREPROD }}
186115
BLOCKFROST_PROJECT_ID_PREVIEW: ${{ secrets.BLOCKFROST_PROJECT_ID_PREVIEW }}
@@ -281,9 +210,6 @@ jobs:
281210
platform=Linux
282211
smoke_only=${{ needs.setup.outputs.smoke_only }}
283212
tags=${{ needs.setup.outputs.tags }}
284-
cardano_mainnet_url=${CARDANO_MAINNET_URL}
285-
cardano_preprod_url=${CARDANO_PREPROD_URL}
286-
cardano_preview_url=${CARDANO_PREVIEW_URL}
287213
" > environment.properties
288214
289215
- name: Publish allure report to S3

0 commit comments

Comments
 (0)