Compare commits

...

2 Commits

Author SHA1 Message Date
nobohan
7d636bc777 drone: add step for importing
Some checks failed
continuous-integration/drone/tag Build is failing
2023-07-03 15:53:12 +02:00
nobohan
0a9fb88da2 drone: remove destination for downloading pbf
All checks were successful
continuous-integration/drone/tag Build is passing
2023-07-03 15:20:08 +02:00
2 changed files with 19 additions and 2 deletions

View File

@@ -20,4 +20,21 @@ steps:
image: plugins/download image: plugins/download
settings: settings:
source: https://download.geofabrik.de/europe/luxembourg-latest.osm.pbf source: https://download.geofabrik.de/europe/luxembourg-latest.osm.pbf
destination: /drone/src/pbf #destination: /drone/src/
- name: import_pbf
image: plugins/docker
settings:
context: .
dockerfile: Dockerfile
pull_image: true
username:
from_secret: docker_username
password:
from_secret: docker_password
registry: h3m6q87t.gra7.container-registry.ovh.net
repo: h3m6q87t.gra7.container-registry.ovh.net/osm_tile_server/map
tag:
- ${DRONE_TAG:=latest}
commands:
- sh run.sh import

View File

@@ -169,6 +169,6 @@ COPY --from=compiler-stylesheet /root/openstreetmap-carto /home/renderer/src/ope
# Start running # Start running
COPY run.sh / COPY run.sh /
ENTRYPOINT ["/run.sh"] #ENTRYPOINT ["/run.sh"]
CMD [] CMD []
EXPOSE 80 5432 EXPOSE 80 5432