File tree Expand file tree Collapse file tree 5 files changed +32
-3
lines changed Expand file tree Collapse file tree 5 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 8
8
- master
9
9
jobs :
10
10
test :
11
- runs-on : ubuntu-18 .04
11
+ runs-on : ubuntu-22 .04
12
12
strategy :
13
13
matrix :
14
14
node-version : [10.x]
27
27
if : github.ref == 'refs/heads/master'
28
28
needs :
29
29
- test
30
- runs-on : ubuntu-18 .04
30
+ runs-on : ubuntu-22 .04
31
31
steps :
32
32
- name : Checkout
33
33
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 5
5
- published
6
6
jobs :
7
7
prod-push :
8
- runs-on : ubuntu-18 .04
8
+ runs-on : ubuntu-22 .04
9
9
steps :
10
10
- name : Checkout
11
11
uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -290,6 +290,32 @@ location /out/kajaani.mattersoft.fi/ {
290
290
proxy_set_header Authorization KAJAANI_BASIC_AUTH;
291
291
}
292
292
293
+ #rauma gtfs rt (https://rauma.mattersoft.fi/api/gtfsrealtime/v1.0/feed/tripupdate, servicealert and vehicleposition)
294
+ location /out/rauma.mattersoft.fi/ {
295
+ proxy_pass https://rauma.mattersoft.fi/;
296
+ include allowed-ips.conf;
297
+ proxy_cache ext_cache;
298
+ proxy_cache_valid 200 30s;
299
+ proxy_cache_lock on;
300
+ add_header X-Proxy-Cache $upstream_cache_status;
301
+ proxy_ignore_headers X-Accel-Expires Expires Cache-Control Set-Cookie;
302
+ proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
303
+ proxy_set_header Authorization RAUMA_RT_BASIC_AUTH;
304
+ }
305
+
306
+ #rauma gtfs (https://raumaadmin.mattersoft.fi/feeds/233.zip)
307
+ location /out/raumaadmin.mattersoft.fi/ {
308
+ proxy_pass https://raumaadmin.mattersoft.fi/;
309
+ include allowed-ips.conf;
310
+ proxy_cache ext_cache;
311
+ proxy_cache_valid 200 30s;
312
+ proxy_cache_lock on;
313
+ add_header X-Proxy-Cache $upstream_cache_status;
314
+ proxy_ignore_headers X-Accel-Expires Expires Cache-Control Set-Cookie;
315
+ proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
316
+ proxy_set_header Authorization RAUMA_STATIC_BASIC_AUTH;
317
+ }
318
+
293
319
#perille gtfs
294
320
location /out/gtfs.perille.fi/ {
295
321
proxy_pass https://gtfs.perille.fi/;
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ sed -i "s/ROVANIEMI_BASIC_AUTH/${ROVANIEMI_BASIC_AUTH}/" /etc/nginx/external.con
26
26
sed -i " s/KAJAANI_BASIC_AUTH/${KAJAANI_BASIC_AUTH} /" /etc/nginx/external.conf
27
27
sed -i " s/GIRAVOLTA_VANTAA_AUTH/${GIRAVOLTA_VANTAA_AUTH} /" /etc/nginx/external.conf
28
28
sed -i " s/VARELY_BASIC_AUTH/${VARELY_BASIC_AUTH} /" /etc/nginx/external.conf
29
+ sed -i " s/RAUMA_RT_BASIC_AUTH/${RAUMA_RT_BASIC_AUTH} /" /etc/nginx/external.conf
30
+ sed -i " s/RAUMA_STATIC_BASIC_AUTH/${RAUMA_STATIC_BASIC_AUTH} /" /etc/nginx/external.conf
29
31
30
32
# start nginx
31
33
nginx
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ CONTAINER_ID=$(docker run -d -p 9000:8080 $ADDHOSTS -e VILKKU_BASIC_AUTH="\"test
23
23
-e KOUVOLA_BASIC_AUTH=" \" test\" " -e PERILLE_BASIC_AUTH=" \" test\" " -e KAJAANI_BASIC_AUTH=" \" test\" " \
24
24
-e GIRAVOLTA_TAMPERE_AUTH=" \" test\" " -e KOTKA_BASIC_AUTH=" \" test\" " \
25
25
-e GIRAVOLTA_VANTAA_AUTH=" \" test\" " -e VARELY_BASIC_AUTH=" \" test\" " \
26
+ -e RAUMA_RT_BASIC_AUTH=" \" test\" " -e RAUMA_STATIC_BASIC_AUTH=" \" test\" " \
26
27
hsldevcom/digitransit-proxy:integrationtest)
27
28
28
29
curl -v http://127.0.0.1:9000
You can’t perform that action at this time.
0 commit comments