Skip to content

Commit 300398d

Browse files
committed
Update infraLinks.sql to Digiroad 2025-02 and download from Azure
1 parent 29458e8 commit 300398d

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/shared-run-e2e.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ jobs:
153153
matrix:
154154
containers: [1, 2, 3, 4, 5, 6, 7, 8]
155155
steps:
156+
- name: Checkout
157+
uses: actions/checkout@v5
156158
- name: Start e2e env
157159
id: start-e2e-env
158160
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v9
@@ -175,9 +177,7 @@ jobs:
175177
start_jore3_importer: "${{ inputs.start_jore3_importer }}"
176178

177179
- name: Seed infrastructure links
178-
uses: HSLdevcom/jore4-tools/github-actions/seed-infrastructure-links@seed-infrastructure-links-v3
179-
with:
180-
seed_data_commit_sha: "${{ steps.start-e2e-env.outputs.e2e_source_commit_sha }}"
180+
uses: HSLdevcom/jore4-tools/github-actions/seed-infrastructure-links@seed-infrastructure-links-v4
181181

182182
- name: Seed municipalities and fare zones
183183
uses: HSLdevcom/jore4-tools/github-actions/seed-municipalities-and-fare-zones@seed-municipalities-and-fare-zones-v2

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
test_users.json
2+
infraLinks.sql

github-actions/seed-infrastructure-links/action.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,15 @@ inputs:
66
description: Database connection string
77
required: false
88
default: "postgresql://dbadmin:adminpassword@localhost:5432/jore4e2e"
9-
seed_data_commit_sha:
10-
description: The commit SHA of jore4-ui repository from which infrastructure links seed data is read from
11-
required: true
129

1310
runs:
1411
using: "composite"
1512
steps:
1613
- name: Fetch infrastructure link dump
1714
shell: bash
1815
run: |
19-
curl https://raw.githubusercontent.com/HSLdevcom/jore4-ui/${{ inputs.seed_data_commit_sha }}/test-db-manager/src/dumps/infraLinks/infraLinks.sql \
20-
-o infraLinks.sql
16+
curl https://stjore4dev001.blob.core.windows.net/jore4-ui/2025-09-24-infraLinks.sql -o infraLinks.sql
17+
2118
2219
- name: Verify that testdb is up, running and migrated
2320
uses: HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1

0 commit comments

Comments
 (0)