-
Notifications
You must be signed in to change notification settings - Fork 3
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 #359 from datayoga-io/358-jobs-should-be-scaffolde…
…d-as-dyyamldyyml Changed jobs to *.dy.yaml
- Loading branch information
Showing
36 changed files
with
677 additions
and
669 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,6 +76,7 @@ jobs: | |
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git pull | ||
git add . | ||
git diff --cached --exit-code || git commit -m "update autogenerated docs" | ||
git push |
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 |
---|---|---|
|
@@ -48,5 +48,7 @@ jobs: | |
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add . | ||
git diff --cached --exit-code || git commit -m "update json schemas" | ||
git push --force | ||
if ! git diff --cached --exit-code; then | ||
git commit -m "update json schemas" | ||
git push | ||
fi |
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
File renamed without changes.
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
File renamed without changes.
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,27 @@ | ||
input: | ||
uses: files.read_csv | ||
with: | ||
file: examples/test.csv | ||
steps: | ||
- uses: add_field | ||
with: | ||
fields: | ||
- field: full_name | ||
language: jmespath | ||
expression: concat([fname, ' ' , lname]) | ||
- uses: map | ||
with: | ||
expression: | ||
{ | ||
first_name: fname, | ||
last_name: lname, | ||
country: country_code || ' - ' || UPPER(country_name), | ||
full_name: full_name, | ||
greeting: "'Hello ' || CASE WHEN gender = 'F' THEN 'Ms.' WHEN gender = 'M' THEN 'Mr.' ELSE 'N/A' END || ' ' || full_name" | ||
} | ||
language: sql | ||
- uses: relational.write | ||
with: | ||
connection: hr | ||
schema: hr | ||
table: emp |
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,28 @@ | ||
input: | ||
uses: redis.read_stream | ||
with: | ||
connection: cache | ||
stream_name: emp | ||
steps: | ||
- uses: add_field | ||
with: | ||
fields: | ||
- field: full_name | ||
language: jmespath | ||
expression: concat([fname, ' ' , lname]) | ||
- uses: map | ||
with: | ||
expression: | ||
{ | ||
first_name: fname, | ||
last_name: lname, | ||
country: country_code || ' - ' || UPPER(country_name), | ||
full_name: full_name, | ||
greeting: "'Hello ' || CASE WHEN gender = 'F' THEN 'Ms.' WHEN gender = 'M' THEN 'Mr.' ELSE 'N/A' END || ' ' || full_name" | ||
} | ||
language: sql | ||
- uses: relational.write | ||
with: | ||
connection: hr | ||
schema: hr | ||
table: emp |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.