Skip to content

Commit 4bf63e9

Browse files
committed
Pause for Docker build.
1 parent 0bde175 commit 4bf63e9

File tree

6 files changed

+11
-40
lines changed

6 files changed

+11
-40
lines changed

.github/workflows/build_docker.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v2
1414

15+
- name: Wait until PyPI release is available
16+
uses: actions/github-script@v3
17+
with:
18+
script: |
19+
const wait = (ms) => new Promise(resolve => setTimeout(resolve, ms));
20+
await wait(300000); // Wait for 5 minutes (300000 milliseconds)
21+
1522
- name: Login to DockerHub
1623
uses: docker/login-action@v1
1724
with:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ WORKDIR /usr/src/app
1010
COPY data /usr/src/app/data
1111
COPY webui /usr/src/app/webui
1212

13-
RUN pip install "opencv-python" "pyproj" "tifffile" "folium" "geopy" "osmnx<2.0.0" "fast-simplification" "rasterio" "trimesh" "streamlit" "maps4fs"
13+
RUN pip install "opencv-python" "pyproj" "folium" "geopy" "osmnx<2.0.0" "fast-simplification" "rasterio" "trimesh" "streamlit" "maps4fs"
1414

1515
EXPOSE 8501
1616

dev/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ folium
1212
geopy
1313
fast-simplification
1414
pyproj
15-
trimesh
16-
tifffile
15+
trimesh

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "maps4fs"
7-
version = "0.8.5"
7+
version = "0.8.6"
88
description = "Generate map templates for Farming Simulator from real places."
99
authors = [{name = "iwatkot", email = "iwatkot@gmail.com"}]
1010
license = {text = "MIT License"}
@@ -34,4 +34,4 @@ Repository = "https://github.com/iwatkot/maps4fs"
3434
[tool.setuptools.packages.find]
3535
where = ["."]
3636
include = ["maps4fs*"]
37-
exclude = ["dev*", "bot*", "*data", "*docker", "*webui", "scripts"]
37+
exclude = ["dev*", "bot*", "*data", "*docker", "*webui"]

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ geopy
77
trimesh
88
pyproj
99
fast-simplification
10-
tifffile
1110
maps4fs

scripts/converters.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)