Skip to content

Commit 7e30471

Browse files
committed
Update infraLinks.sql to Digiroad 2025-02 and download from Azure
1 parent 00f2938 commit 7e30471

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ jobs:
155155
matrix:
156156
containers: [1, 2, 3, 4, 5, 6, 7, 8]
157157
steps:
158+
- name: Checkout
159+
uses: actions/checkout@v6
158160
- name: Start e2e env
159161
id: start-e2e-env
160162
uses: HSLdevcom/jore4-tools/github-actions/setup-e2e-environment@setup-e2e-environment-v10
@@ -177,9 +179,7 @@ jobs:
177179
start_jore3_importer: "${{ inputs.start_jore3_importer }}"
178180

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

184184
- name: Seed municipalities and fare zones
185185
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)