aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-05-20 21:23:58 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-05-20 21:23:58 +1000
commit351bf946b7d52b3c480ffd80560bc277adce091f (patch)
tree5341fc5d18913db328fef3e468586517fd193470 /.gitlab-ci.yml
parent9c86dbf30863fec1db7f65d422dd07cb700f1d21 (diff)
script to compare where vicmap addr:suburb differs with osm admin boundary suburb
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8e63b3a..dbed9f3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -154,3 +154,28 @@ conflate:
name: "conflate"
paths:
- dist
+
+build compareSuburb:
+ stage: build
+ image: "registry.gitlab.com/alantgeo/vicmap2osm:build-osm"
+ before_script:
+ - ls data dist
+ cache:
+ <<: *global_cache
+ policy: pull
+ script:
+ - yarn install
+ - mkdir -p dist data
+ - mkdir -p data/vicmap/ll_gda94/sde_shape/whole/VIC/VMADD/layer
+ - touch data/VICMAP_ADDRESS.zip
+ - touch data/vicmap/ll_gda94/sde_shape/whole/VIC/VMADD/layer/address.shp
+ - touch --no-create data/vicmap.geojson
+ - time make dist/vicmap-osm.geojson
+ - time make dist/vicmapSuburbDiffersWithOSM.geojson
+ - rm -f dist/vicmap-osm.geojson
+ when: manual
+ artifacts:
+ name: "build compareSuburb"
+ paths:
+ - dist
+ - debug