Skip to content

Commit cf7ca43

Browse files
author
Kelvin Oghenerhoro Omereshone
authored
Merge branch 'main' into add-playwright-workflow
2 parents e87deed + cb07017 commit cf7ca43

11 files changed

Lines changed: 493 additions & 1 deletion

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ To test a workflow within Warp before submitting, you can use it as a local work
6565
To do this:
6666
1) Copy the workflow to your local `~/.warp/workflows` directory:
6767
```bash
68-
mkdir -p ~/.warp/workflows && cp {{workflow}}.yaml; ~/.warp/workflows/
68+
mkdir -p ~/.warp/workflows && cp {{workflow}}.yaml ~/.warp/workflows/
6969
```
7070
2) Open Warp and open workflows by pressing `ctrl-shift-r` or using the command palette.
7171
3) Click on "My Workflows" on the left to filter for local workflows.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
# The name of the workflow.
3+
name: Add a Google BigQuery resource to the Meroxa Platform
4+
# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
5+
command: |-
6+
meroxa resources create {{resource_name}} --type bigquery --url "bigquery://{{gcp_project_id}}/{{gcp_dataset_name}}" --client-key "$(cat {{gcp_service_account_json_file}})"
7+
# Any tags that the workflow should be categorized with.
8+
tags:
9+
- meroxa
10+
# A description of the workflow.
11+
description: Add a Google BigQuery resource to the Meroxa Platform
12+
# List of arguments within the command.
13+
arguments:
14+
# Name of the argument within the command. This must exactly match the name of the argument
15+
# within the command (without the curly braces).
16+
- name: resource_name
17+
# The description of the argument.
18+
description: Name you want to use to identify this Google BigQuery resource
19+
# The default value for the argument.
20+
default_value: ~
21+
- name: gcp_project_id
22+
# The description of the argument.
23+
description: Google Cloud Project ID
24+
# The default value for the argument.
25+
default_value: ~
26+
- name: gcp_dataset_name
27+
# The description of the argument.
28+
description: Your BigQuery dataset name. GCP console will indicate your dataset ID as "project_id.dataset_name". Just include your dataset name here
29+
# The default value for the argument.
30+
default_value: ~
31+
- name: gcp_service_account_json_file
32+
# The description of the argument.
33+
description: Google BigQuery Valid Service Account credentials with access to BigQuery in JSON format
34+
# The default value for the argument.
35+
default_value: ~
36+
# The source URL for where the workflow was generated from, if any.
37+
source_url: "https://docs.meroxa.com/platform/resources/google-bigquery#resource-configuration"
38+
# The author of the workflow.
39+
author: Meroxa
40+
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
41+
author_url: "https://github.com/meroxa"
42+
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
43+
# See FORMAT.md for the full list of accepted values.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
# The name of the workflow.
3+
name: Add an Elasticsearch resource to the Meroxa Platform
4+
# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
5+
command: |-
6+
meroxa resources create {{resource_name}} --type elasticsearch --url "https://{{es_username}}:{{es_password}}@{{es_url}}:{{es_port}}" --metadata '{"index.prefix": "{{es_index}}","incrementing.field.name": "{{es_incrementing_field}}"}'
7+
# Any tags that the workflow should be categorized with.
8+
tags:
9+
- meroxa
10+
# A description of the workflow.
11+
description: Add an Elasticsearch resource to the Meroxa Platform
12+
# List of arguments within the command.
13+
arguments:
14+
# Name of the argument within the command. This must exactly match the name of the argument
15+
# within the command (without the curly braces).
16+
- name: resource_name
17+
# The description of the argument.
18+
description: Name you want to use to identify this resource
19+
# The default value for the argument.
20+
default_value: ~
21+
- name: es_username
22+
description: Elasticsearch Username
23+
default_value: ~
24+
- name: es_password
25+
description: Elasticsearch Password
26+
default_value: ~
27+
- name: es_url
28+
# The description of the argument.
29+
description: Elasticsearch URL
30+
default_value: ~
31+
- name: es_port
32+
# The description of the argument.
33+
description: "Elasticsearch port (e.g.: 9200)"
34+
# The default value for the argument.
35+
default_value: 9200
36+
- name: es_index
37+
# The description of the argument.
38+
description: Elasticsearch Index
39+
# The default value for the argument.
40+
default_value: ~
41+
- name: es_incrementing_field
42+
# The description of the argument.
43+
description: Elasticsearch Incremental Field (See View Context for more information)
44+
# The default value for the argument.
45+
default_value: ~
46+
# The source URL for where the workflow was generated from, if any.
47+
source_url: "https://docs.meroxa.com/platform/resources/elasticsearch#setup"
48+
# The author of the workflow.
49+
author: Meroxa
50+
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
51+
author_url: "https://github.com/meroxa"
52+
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
53+
# See FORMAT.md for the full list of accepted values.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
# The name of the workflow.
3+
name: Add a MongoDB resource to the Meroxa Platform
4+
# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
5+
command: |-
6+
meroxa resources create {{resource_name}} --type mongodb -u "mongodb://{{mongodb_username}}:{{mongodb_password}}@{{mongodb_url}}:{{mongodb_port}}"
7+
# Any tags that the workflow should be categorized with.
8+
tags:
9+
- meroxa
10+
# A description of the workflow.
11+
description: Add a MongoDB resource to the Meroxa Platform
12+
# List of arguments within the command.
13+
arguments:
14+
# Name of the argument within the command. This must exactly match the name of the argument
15+
# within the command (without the curly braces).
16+
- name: resource_name
17+
# The description of the argument.
18+
description: Name you want to use to identify this resource
19+
# The default value for the argument.
20+
default_value: ~
21+
- name: mongodb_username
22+
# The description of the argument.
23+
description: MongoDB Username
24+
default_value: ~
25+
- name: mongodb_password
26+
# The description of the argument.
27+
description: MongoDB Password
28+
default_value: ~
29+
- name: mongodb_url
30+
# The description of the argument.
31+
description: MongoDB URL
32+
default_value: ~
33+
- name: mongodb_port
34+
# The description of the argument.
35+
description: "MongoDB Port (e.g.: 27017)"
36+
default_value: 27017
37+
# The source URL for where the workflow was generated from, if any.
38+
source_url: "https://docs.meroxa.com/platform/resources/mongodb#setup"
39+
# The author of the workflow.
40+
author: Meroxa
41+
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
42+
author_url: "https://github.com/meroxa"
43+
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
44+
# See FORMAT.md for the full list of accepted values.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
# The name of the workflow.
3+
name: Add a MySQL resource to the Meroxa Platform
4+
# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
5+
command: |-
6+
meroxa resources create {{resource_name}} --type mysql -u "mysql://{{mysql_username}}:{{mysql_password}}@{{mysql_url}}:{{mysql_port}}/{{mysql_database_name}}"
7+
# Any tags that the workflow should be categorized with.
8+
tags:
9+
- meroxa
10+
# A description of the workflow.
11+
description: Add a MySQL resource to the Meroxa Platform
12+
# List of arguments within the command.
13+
arguments:
14+
# Name of the argument within the command. This must exactly match the name of the argument
15+
# within the command (without the curly braces).
16+
- name: resource_name
17+
# The description of the argument.
18+
description: Name you want to use to identify this resource
19+
# The default value for the argument.
20+
default_value: ~
21+
- name: mysql_username
22+
# The description of the argument.
23+
description: MySQL Username
24+
# The default value for the argument.
25+
default_value: ~
26+
- name: mysql_password
27+
# The description of the argument.
28+
description: MySQL Password
29+
# The default value for the argument.
30+
default_value: ~
31+
- name: mysql_url
32+
# The description of the argument.
33+
description: MySQL URL
34+
# The default value for the argument.
35+
default_value: ~
36+
- name: mysql_port
37+
# The description of the argument.
38+
description: "MySQL Port (e.g.:3306)"
39+
# The default value for the argument.
40+
default_value: 3306
41+
- name: mysql_database_name
42+
# The description of the argument.
43+
description: MySQL database name
44+
# The default value for the argument.
45+
default_value: ~
46+
# The source URL for where the workflow was generated from, if any.
47+
source_url: "https://docs.meroxa.com/platform/resources/mysql/setup#resource-configuration"
48+
# The author of the workflow.
49+
author: Meroxa
50+
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
51+
author_url: "https://github.com/meroxa"
52+
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
53+
# See FORMAT.md for the full list of accepted values.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
# The name of the workflow.
3+
name: Add a Postgres resource with logical replication to the Meroxa Platform
4+
# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
5+
command: |-
6+
meroxa resources create {{resource_name}} --type postgres --url "postgres://{{pg_username}}:{{pg_password}}@{{pg_url}}:{{pg_port}}/{{pg_database_name}}" --metadata '{"logical_replication":"true"}'
7+
# Any tags that the workflow should be categorized with.
8+
tags:
9+
- meroxa
10+
# A description of the workflow.
11+
description: Add a Postgres resource with logical replication to the Meroxa Platform
12+
# List of arguments within the command.
13+
arguments:
14+
# Name of the argument within the command. This must exactly match the name of the argument
15+
# within the command (without the curly braces).
16+
- name: resource_name
17+
# The description of the argument.
18+
description: Name you want to use to identify this resource
19+
# The default value for the argument.
20+
default_value: ~
21+
- name: pg_username
22+
# The description of the argument.
23+
description: Postgres Username
24+
# The default value for the argument.
25+
default_value: ~
26+
- name: pg_password
27+
# The description of the argument.
28+
description: Postgres Password
29+
# The default value for the argument.
30+
default_value: ~
31+
- name: pg_url
32+
# The description of the argument.
33+
description: Postgres URL
34+
# The default value for the argument.
35+
default_value: ~
36+
- name: pg_port
37+
# The description of the argument.
38+
description: "Postgres Port (e.g.: 5432)"
39+
# The default value for the argument.
40+
default_value: 5432
41+
- name: pg_database_name
42+
# The description of the argument.
43+
description: Postgres Database name
44+
# The default value for the argument.
45+
default_value: ~
46+
# The source URL for where the workflow was generated from, if any.
47+
source_url: "https://docs.meroxa.com/platform/resources/postgresql/setup#resource-configuration"
48+
# The author of the workflow.
49+
author: Meroxa
50+
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
51+
author_url: "https://github.com/meroxa"
52+
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
53+
# See FORMAT.md for the full list of accepted values.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
# The name of the workflow.
3+
name: Add a Postgres resource without logical replication to the Meroxa Platform
4+
# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
5+
command: |-
6+
meroxa resources create {{resource_name}} --type postgres --url "postgres://{{pg_username}}:{{pg_password}}@{{pg_url}}:{{pg_port}}/{{pg_database_name}}"
7+
# Any tags that the workflow should be categorized with.
8+
tags:
9+
- meroxa
10+
# A description of the workflow.
11+
description: Add a Postgres resource without logical replication to the Meroxa Platform
12+
# List of arguments within the command.
13+
arguments:
14+
# Name of the argument within the command. This must exactly match the name of the argument
15+
# within the command (without the curly braces).
16+
- name: resource_name
17+
# The description of the argument.
18+
description: Name you want to use to identify this resource
19+
# The default value for the argument.
20+
default_value: ~
21+
- name: pg_username
22+
# The description of the argument.
23+
description: Postgres Username
24+
# The default value for the argument.
25+
default_value: ~
26+
- name: pg_password
27+
# The description of the argument.
28+
description: Postgres Password
29+
# The default value for the argument.
30+
default_value: ~
31+
- name: pg_url
32+
# The description of the argument.
33+
description: Postgres URL
34+
# The default value for the argument.
35+
default_value: ~
36+
- name: pg_port
37+
# The description of the argument.
38+
description: "Postgres Port (e.g.: 5432)"
39+
# The default value for the argument.
40+
default_value: 5432
41+
- name: pg_database_name
42+
# The description of the argument.
43+
description: Postgres Database name
44+
# The default value for the argument.
45+
default_value: ~
46+
47+
# The source URL for where the workflow was generated from, if any.
48+
source_url: "https://docs.meroxa.com/platform/resources/postgresql/setup#resource-configuration"
49+
# The author of the workflow.
50+
author: Meroxa
51+
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
52+
author_url: "https://github.com/meroxa"
53+
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
54+
# See FORMAT.md for the full list of accepted values.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
# The name of the workflow.
3+
name: Add an Amazon Redshift resource to the Meroxa Platform
4+
# The corresponding command for the workflow. Any arguments should be surrounded with two curly braces. E.g `command {{arg}}`.
5+
command: |-
6+
meroxa resources create {{resource_name}} --type redshift --url "redshift://{{redshift_username}}:{{redshift_password}}@{{redshift_url}}:{{redshift_port}}/{{redshift_db_name}}"
7+
# Any tags that the workflow should be categorized with.
8+
tags:
9+
- meroxa
10+
# A description of the workflow.
11+
description: Add an Amazon Redshift resource to the Meroxa Platform
12+
# List of arguments within the command.
13+
arguments:
14+
# Name of the argument within the command. This must exactly match the name of the argument
15+
# within the command (without the curly braces).
16+
- name: resource_name
17+
# The description of the argument.
18+
description: Name you want to use to identify this resource
19+
# The default value for the argument.
20+
default_value: ~
21+
- name: redshift_username
22+
# The description of the argument.
23+
description: Redshift username
24+
# The default value for the argument.
25+
default_value: ~
26+
- name: redshift_password
27+
# The description of the argument.
28+
description: Redshift password
29+
# The default value for the argument.
30+
default_value: ~
31+
- name: redshift_url
32+
# The description of the argument.
33+
description: Redshift URL
34+
# The default value for the argument.
35+
default_value: ~
36+
- name: redshift_port
37+
# The description of the argument.
38+
description: "Redshift Port (e.g.: 5439)"
39+
# The default value for the argument.
40+
default_value: 5439
41+
- name: redshift_db_name
42+
# The description of the argument.
43+
description: "Redshift Database name"
44+
# The default value for the argument.
45+
default_value: ~
46+
# The source URL for where the workflow was generated from, if any.
47+
source_url: "https://docs.meroxa.com/platform/resources/amazon-redshift#setup"
48+
# The author of the workflow.
49+
author: Meroxa
50+
# The URL of original author of the Workflow. For example, if this workflow was generated from StackOverflow, the `author_url` would be the StackOverflow author's profile page.
51+
author_url: "https://github.com/meroxa"
52+
# The valid shells where this workflow should be active. If valid for all shells, this can be left empty.
53+
# See FORMAT.md for the full list of accepted values.

0 commit comments

Comments
 (0)