Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-farache committed Jan 30, 2024
1 parent 4f67e96 commit c8bcaf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion move2kube/m2k.sw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ events:
- name: saveTransformationEvent
source: ''
type: save-transformation
dataOnly: false
functions:
- name: systemOut
type: custom
Expand Down Expand Up @@ -103,7 +104,7 @@ states:
nextState: WaitForSaveTransformationCompletionEvent
produceEvents:
- eventRef: saveTransformationEvent
data: '${{"gitRepo":".repositoryURL", "branch": ".targetBranch", "token": ".token", "workspaceId": ".workspaceId", "projectId": ".projectId", "transformId": ".transformId ", "workflowCallerId": "$WORKFLOW.instanceId"}}'
data: "{data: {gitRepo:.repositoryURL|sub(\"http(s)?://\";\"ssh://\"), branch: .targetBranch, token: .token, workspaceId: .workspaceId, projectId: .projectId, transformId: .transformId, workflowCallerId: $WORKFLOW.instanceId}, dataContentType:application-json}"
- name: WaitForSaveTransformationCompletionEvent
type: switch
eventConditions:
Expand Down

0 comments on commit c8bcaf0

Please sign in to comment.