Skip to content

Commit

Permalink
user [email protected] initiated a sync from Lightning
Browse files Browse the repository at this point in the history
  • Loading branch information
openfn-staging[bot] authored and github-actions[bot] committed Sep 5, 2024
1 parent 412a631 commit a2ded49
Show file tree
Hide file tree
Showing 2 changed files with 100 additions and 0 deletions.
40 changes: 40 additions & 0 deletions openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-spec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: regression-testing
description: null
credentials: null
workflows:
test-with-dangling-node:
name: test with dangling node
jobs:
New-job:
name: New job
adaptor: '@openfn/language-common@latest'
credential: null
body: |
// Check out the Job Writing Guide for help getting started:
// https://docs.openfn.org/documentation/jobs/job-writing-guide
Do-something-new:
name: Do something new
adaptor: '@openfn/language-common@latest'
credential: null
body: |
// Check out the Job Writing Guide for help getting started:
// https://docs.openfn.org/documentation/jobs/job-writing-guide
triggers:
webhook:
type: webhook
enabled: true
edges:
webhook->New-job:
source_trigger: webhook
target_job: New-job
condition_type: always
enabled: true
New-job->Do-something-new:
source_job: New-job
target_job: Do-something-new
condition_type: on_job_success
enabled: true
60 changes: 60 additions & 0 deletions openfn-49c3c9be-dd0e-440a-b271-122f44f064a5-state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"id": "49c3c9be-dd0e-440a-b271-122f44f064a5",
"name": "regression-testing",
"description": null,
"inserted_at": "2024-09-05T16:03:07Z",
"updated_at": "2024-09-05T16:03:07Z",
"project_credentials": {},
"scheduled_deletion": null,
"history_retention_period": null,
"dataclip_retention_period": null,
"retention_policy": "retain_all",
"requires_mfa": false,
"workflows": {
"test-with-dangling-node": {
"id": "6aef35fa-1f2d-4ca0-b0d7-1e696e1c58ad",
"name": "test with dangling node",
"inserted_at": "2024-09-05T16:03:50.552947Z",
"lock_version": 2,
"triggers": {
"webhook": {
"enabled": true,
"id": "fea38a01-e8e5-4bd8-88b0-c47e66e6e65a",
"type": "webhook"
}
},
"jobs": {
"New-job": {
"id": "abb99c8f-3dc0-45ef-8c12-14a173a22db4",
"name": "New job",
"body": "\n// Check out the Job Writing Guide for help getting started:\n// https://docs.openfn.org/documentation/jobs/job-writing-guide\n",
"adaptor": "@openfn/language-common@latest",
"project_credential_id": null
},
"Do-something-new": {
"id": "887ac6c9-7640-4f66-8f7d-55cb151a163b",
"name": "Do something new",
"body": "\n// Check out the Job Writing Guide for help getting started:\n// https://docs.openfn.org/documentation/jobs/job-writing-guide\n",
"adaptor": "@openfn/language-common@latest",
"project_credential_id": null
}
},
"edges": {
"webhook->New-job": {
"enabled": true,
"id": "4390223a-0ef3-4bb1-8fc3-c81d998b01c9",
"source_trigger_id": "fea38a01-e8e5-4bd8-88b0-c47e66e6e65a",
"condition_type": "always",
"target_job_id": "abb99c8f-3dc0-45ef-8c12-14a173a22db4"
},
"New-job->Do-something-new": {
"enabled": true,
"id": "b1282999-771d-4043-86cc-bbb43f7ed37d",
"source_job_id": "abb99c8f-3dc0-45ef-8c12-14a173a22db4",
"condition_type": "on_job_success",
"target_job_id": "887ac6c9-7640-4f66-8f7d-55cb151a163b"
}
}
}
}
}

0 comments on commit a2ded49

Please sign in to comment.