Skip to content

Add support for scheduled jobs to sgr cloud dump #577

Merged
mildbyte merged 2 commits intomasterfrom
bugfix/sgr-cloud-dump-schedules
Nov 30, 2021
Merged

Add support for scheduled jobs to sgr cloud dump #577
mildbyte merged 2 commits intomasterfrom
bugfix/sgr-cloud-dump-schedules

Conversation

@mildbyte
Copy link
Copy Markdown
Contributor

No description provided.

Change the GQL query to get the schedule/external image and use the schema from
the ingestion schedule if the image doesn't have a live image. Dump the schedule
to repositories.yml as well.
@mildbyte mildbyte merged commit 575669a into master Nov 30, 2021
@mildbyte mildbyte deleted the bugfix/sgr-cloud-dump-schedules branch November 30, 2021 14:25
mildbyte added a commit that referenced this pull request Dec 17, 2021
Fleshing out the `splitgraph.yml` (aka `repositories.yml`) format that defines a Splitgraph Cloud "project" (datasets, their sources and metadata).

Existing users of `repositories.yml` don't need to change anything, though note that `sgr cloud` commands using the YAML format will now default to `splitgraph.yml` unless explicitly set to `repositories.yml`.


New sgr cloud commands:

See #582 and #587

These let users manipulate Splitgraph Cloud and ingestion jobs from the CLI:

  * `sgr cloud status`: view the status of ingestion jobs in the current project
  * `sgr cloud logs`: view job logs
  * `sgr cloud upload`: upload a CSV file to Splitgraph Cloud (without using the engine)
  * `sgr cloud sync`: trigger a one-off load of a dataset
  * `sgr cloud stub`: generate a `splitgraph.yml` file
  * `sgr cloud seed`: generate a Splitgraph Cloud project with a `splitgraph.yml`, GitHub Actions, dbt etc
  * `sgr cloud validate`: merge multiple project files and output the result (like `docker-compose config`)
  * `sgr cloud download`: download a query result from Splitgraph Cloud as a CSV file, bypassing time/query size limits.


repositories.yml/splitgraph.yml format:

Change various commands that use `repositories.yml` to default to `splitgraph.yml` instead. Allow "mixing in" multiple `.yml` files Docker Compose-style, useful for splitting credentials (and not checking them in) and data settings.

Temporary location for the new full documentation on `splitgraph.yml`: https://github.com/splitgraph/splitgraph.com/blob/f7ac524cb5023091832e8bf51b277991c435f241/content/docs/0900_splitgraph-cloud/0500_splitgraph-yml.mdx


Miscellaneous:

  * Initial backend support for "transforming" Splitgraph plugins, including dbt (#574)
  * Dump scheduled ingestion/transformation jobs with `sgr cloud dump` (#577)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant