-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from earthcube/dev
Merge in Dave's work in earthcube scheduler, dev to dev
- Loading branch information
Showing
1,062 changed files
with
6,621 additions
and
189,281 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is a place where dagster.yamls can be kept for runs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
local_artifact_storage: | ||
module: dagster.core.storage.root | ||
class: LocalArtifactStorage | ||
config: | ||
base_dir: /Users/valentin/development/dev_earthcube/scheduler/dagster/dagster_home/ | ||
run_coordinator: | ||
module: dagster.core.run_coordinator | ||
class: QueuedRunCoordinator | ||
config: | ||
max_concurrent_runs: 6 | ||
# getting tags by copying from UI | ||
tag_concurrency_limits: | ||
- key: "ingest" | ||
value: "docker" | ||
limit: 3 | ||
- key: "ingest" | ||
value: "report" | ||
limit: 2 | ||
- key: "tenant_load" | ||
value: "graph" | ||
limit: 1 | ||
telemetry: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.0.67 | ||
0.1.0 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
FROM python:3.11-slim | ||
|
||
|
||
# this file no longer needs to generate code. It will just include the base | ||
# it will run ingest by default | ||
# we may want to get an unreleased version of code, so this is needed | ||
|
||
RUN apt-get update && apt-get install -y git | ||
RUN pip install --upgrade pip | ||
RUN apt-get install -y gcc musl-dev python3-dev | ||
#RUN apt-get install libffi-dev | ||
# Read the ARG implnet to set who to build for. | ||
|
||
# docker buildandpush pulls the repo, so we need to put the code at a different location | ||
# this fails becaus the dagster/implnets files are not in the docker | ||
ARG implnet=eco | ||
|
||
RUN mkdir -p /usr/src/app/workflows | ||
|
||
|
||
## this is a base for the project. Build this 'layer' first | ||
COPY ./requirements.txt requirements.txt | ||
RUN pip install -r requirements.txt | ||
|
||
# this add the code | ||
COPY . scheduler | ||
#COPY ./configs/${implnet}/gleanerconfig.yaml scheduler/gleanerconfig.yaml | ||
|
||
COPY ./deployment/dagster.yaml /usr/src/app/ | ||
|
||
WORKDIR scheduler | ||
|
||
|
||
COPY ./workflows/ /usr/src/app/workflows | ||
|
||
|
||
|
||
# Change working directory | ||
WORKDIR /usr/src/app | ||
ENV DAGSTER_HOME=/usr/src/app | ||
|
||
|
||
CMD [ "dagster", "api","grpc", "-h", "0.0.0.0", "-p", "4000", "-m", "workflows.tasks.tasks", "-d", "/usr/src/app/"] |
Empty file.
Oops, something went wrong.