Skip to content

Commit e62d4ae

Browse files
authored
Merge pull request #49 from dehume/Gitpod-Improvements
Gitpod Improvements
2 parents 5c4ed28 + 1993d40 commit e62d4ae

File tree

6 files changed

+17
-4
lines changed

6 files changed

+17
-4
lines changed

.gitpod.Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ARG PY_VERSION=3.8
2+
3+
FROM gitpod/workspace-python-${PY_VERSION}:latest
4+
5+
RUN pip install "poetry==1.1.12"
6+
7+
COPY poetry.lock pyproject.toml /
8+
9+
RUN poetry config virtualenvs.create false \
10+
&& poetry install --no-interaction --no-ansi

.gitpod.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
14
ports:
25
- port: 3000
36
onOpen: open-browser

week_2/dagster_ucr/project/week_2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def week_2_pipeline():
3838
"bucket": "dagster",
3939
"access_key": "test",
4040
"secret_key": "test",
41-
"endpoint_url": "http://host.docker.internal:4566",
41+
"endpoint_url": "http://localstack:4566",
4242
}
4343
},
4444
"redis": {

week_3/project/week_3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def week_3_pipeline():
5555
"bucket": "dagster",
5656
"access_key": "test",
5757
"secret_key": "test",
58-
"endpoint_url": "http://host.docker.internal:4566",
58+
"endpoint_url": "http://localstack:4566",
5959
}
6060
},
6161
"redis": {

week_3/tests/test_answer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def resource_config():
6767
"bucket": "dagster",
6868
"access_key": "test",
6969
"secret_key": "test",
70-
"endpoint_url": "http://host.docker.internal:4566",
70+
"endpoint_url": "http://localstack:4566",
7171
}
7272
},
7373
"redis": {

week_4/tests/test_answer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def resource_config():
4343
"bucket": "dagster",
4444
"access_key": "test",
4545
"secret_key": "test",
46-
"endpoint_url": "http://host.docker.internal:4566",
46+
"endpoint_url": "http://localstack:4566",
4747
}
4848
},
4949
"redis": {

0 commit comments

Comments
 (0)