-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create unified storage configuration for
dagster.yaml
(#7283)
* Add legacy stubs, unified storage configuration * lint * lint * fix legacy * add scheme to pg config
- Loading branch information
Showing
41 changed files
with
1,524 additions
and
1,065 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
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
44 changes: 44 additions & 0 deletions
44
examples/docs_snippets/docs_snippets/deploying/dagster-mysql-legacy.yaml
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,44 @@ | ||
# start_marker_runs | ||
|
||
run_storage: | ||
module: dagster_mysql.run_storage | ||
class: MySQLRunStorage | ||
config: | ||
mysql_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { database } | ||
port: { port } | ||
|
||
# end_marker_runs | ||
|
||
# start_marker_event_log | ||
|
||
event_log_storage: | ||
module: dagster_mysql.event_log | ||
class: MySQLEventLogStorage | ||
config: | ||
mysql_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { db_name } | ||
port: { port } | ||
|
||
# end_marker_event_log | ||
|
||
# start_marker_schedules | ||
|
||
schedule_storage: | ||
module: dagster_mysql.schedule_storage | ||
class: MySQLScheduleStorage | ||
config: | ||
mysql_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { db_name } | ||
port: { port } | ||
|
||
# end_marker_schedules |
52 changes: 8 additions & 44 deletions
52
examples/docs_snippets/docs_snippets/deploying/dagster-mysql.yaml
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,44 +1,8 @@ | ||
# start_marker_runs | ||
|
||
run_storage: | ||
module: dagster_mysql.run_storage | ||
class: MySQLRunStorage | ||
config: | ||
mysql_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { database } | ||
port: { port } | ||
|
||
# end_marker_runs | ||
|
||
# start_marker_event_log | ||
|
||
event_log_storage: | ||
module: dagster_mysql.event_log | ||
class: MySQLEventLogStorage | ||
config: | ||
mysql_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { db_name } | ||
port: { port } | ||
|
||
# end_marker_event_log | ||
|
||
# start_marker_schedules | ||
|
||
schedule_storage: | ||
module: dagster_mysql.schedule_storage | ||
class: MySQLScheduleStorage | ||
config: | ||
mysql_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { db_name } | ||
port: { port } | ||
|
||
# end_marker_schedules | ||
storage: | ||
mysql: | ||
mysql_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { database } | ||
port: { port } |
32 changes: 32 additions & 0 deletions
32
examples/docs_snippets/docs_snippets/deploying/dagster-pg-legacy.yaml
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,32 @@ | ||
run_storage: | ||
module: dagster_postgres.run_storage | ||
class: PostgresRunStorage | ||
config: | ||
postgres_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { db_name } | ||
port: { port } | ||
|
||
event_log_storage: | ||
module: dagster_postgres.event_log | ||
class: PostgresEventLogStorage | ||
config: | ||
postgres_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { db_name } | ||
port: { port } | ||
|
||
schedule_storage: | ||
module: dagster_postgres.event_log | ||
class: PostgresScheduleStorage | ||
config: | ||
postgres_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { db_name } | ||
port: { port } |
38 changes: 7 additions & 31 deletions
38
examples/docs_snippets/docs_snippets/deploying/dagster-pg.yaml
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,32 +1,8 @@ | ||
run_storage: | ||
module: dagster_postgres.run_storage | ||
class: PostgresRunStorage | ||
config: | ||
storage: | ||
postgres: | ||
postgres_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { database } | ||
port: { port } | ||
|
||
event_log_storage: | ||
module: dagster_postgres.event_log | ||
class: PostgresEventLogStorage | ||
config: | ||
postgres_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { db_name } | ||
port: { port } | ||
|
||
schedule_storage: | ||
module: dagster_postgres.schedule_storage | ||
class: PostgresScheduleStorage | ||
config: | ||
postgres_db: | ||
username: { username } | ||
password: { password } | ||
hostname: { hostname } | ||
db_name: { db_name } | ||
port: { port } | ||
username: my_username | ||
password: my_password | ||
hostname: my_hostname | ||
db_name: my_database | ||
port: 5432 |
Oops, something went wrong.
a5a1c0b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
dagster – ./docs/next
new-docs.dagster.io
dagster-git-master-elementl.vercel.app
dagster.vercel.app
docs.dagster.io
dagster-elementl.vercel.app