generated from broomva/databricks_session
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
229 additions
and
376 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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
from vortex import entrypoint | ||
|
||
if __name__ == "__main__": | ||
entrypoint() | ||
print("Vortex is installed!") |
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
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 |
---|---|---|
|
@@ -4,5 +4,4 @@ | |
|
||
|
||
def entrypoint(): | ||
# init() | ||
... | ||
print("Vortex is installed!") |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Dagster libraries to run both dagster-webserver and the dagster-daemon. Does not | ||
# need to have access to any pipeline code. | ||
|
||
FROM --platform=linux/amd64 python:3.11 | ||
|
||
RUN pip install \ | ||
dagster \ | ||
dagster-graphql \ | ||
dagster-webserver \ | ||
dagster-postgres \ | ||
dagster-docker | ||
|
||
# Set $DAGSTER_HOME and copy dagster instance and workspace YAML there | ||
ENV DAGSTER_HOME=/opt/dagster/dagster_home/ | ||
|
||
RUN mkdir -p $DAGSTER_HOME | ||
|
||
COPY dagster.yaml workspace.yaml $DAGSTER_HOME | ||
|
||
WORKDIR $DAGSTER_HOME |
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 @@ | ||
FROM --platform=linux/amd64 python:3.11 | ||
|
||
# Checkout and install dagster libraries needed to run the gRPC server | ||
# exposing your repository to dagster-webserver and dagster-daemon, and to load the DagsterInstance | ||
|
||
RUN pip install \ | ||
dagster \ | ||
dagster-postgres \ | ||
dagster-docker | ||
|
||
# Add repository code | ||
|
||
WORKDIR /opt/dagster/app | ||
|
||
COPY vortex /opt/dagster/app/ | ||
|
||
# Run dagster gRPC server on port 4000 | ||
|
||
EXPOSE 4000 | ||
|
||
# CMD allows this to be overridden from run launchers or executors that want | ||
# to run other commands against your repository | ||
CMD ["dagster", "api", "grpc", "-h", "0.0.0.0", "-p", "4000", "-f", "vorte/__init__.py"] |
Oops, something went wrong.