Skip to content

Commit

Permalink
Merge pull request #24 from anludke/FLPATH-857
Browse files Browse the repository at this point in the history
Update  mta workflow to be an assessment
  • Loading branch information
rgolangh authored Jan 18, 2024
2 parents 8e81b51 + 2f63a53 commit 07d799a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mta/mta.sw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ specVersion: "0.8"
id: MTAAnalysis
name: MTA Analysis
annotations:
- "workflow-type/infrastructure"
- "workflow-type/assessment"
version: "1.0"
timeouts:
workflowExecTimeout:
Expand All @@ -27,7 +27,6 @@ functions:
operation: specs/mta.json#getTaskgroup
- name: createNotification
operation: 'specs/notifications.yaml#createNotification'

states:
- name: GetApplication
type: operation
Expand All @@ -48,7 +47,6 @@ states:
nextState: CreateTaskgroup
defaultCondition:
transition: CreateApplication

- name: CreateApplication
type: operation
actions:
Expand Down Expand Up @@ -97,7 +95,6 @@ states:
sources: [ ]
targets:
- cloud-readiness

transition: SubmitAnalysis
- name: SubmitAnalysis
type: operation
Expand All @@ -112,7 +109,6 @@ states:
tasks: ".taskgroup.tasks"
addon: windup
createUser: admin.noauth

transition: GetAnalysis
- name: GetAnalysis
type: operation
Expand Down Expand Up @@ -145,7 +141,6 @@ states:
transition: NotifyBackstage
defaultCondition:
transition: poll

- name: NotifyBackstage
type: operation
actions:
Expand All @@ -165,6 +160,11 @@ states:
type: operation
stateDataFilter:
output: '{result: (.taskgroup.tasks[0]| "report will be ready here -> " + $SECRET.mta_url + "/hub/applications/" + (.application.id|tostring) + "/bucket" + .data.output)}'
transition: GetWorkflowOptions
- name: GetWorkflowOptions
type: operation
stateDataFilter:
output: '. +={workflowOptions: {migrationOptions: [{id: "move2kube", name: "Move2Kube workflow"}]}}'
end: true


0 comments on commit 07d799a

Please sign in to comment.