Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-farache authored and masayag committed Aug 28, 2024
1 parent 09ea17a commit f71126b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 57 deletions.
2 changes: 1 addition & 1 deletion charts/mta-v7.x/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.31
version: 0.2.32

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
59 changes: 3 additions & 56 deletions charts/mta-v7.x/templates/04-sonataflow_mta-analysis-v7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -395,44 +395,18 @@ spec:
type: operation
- dataConditions:
- condition: (.trackerProjectIssueTypes != null)
transition:
nextState: GetMigrationWaves
defaultCondition:
transition:
nextState: NotifyFailureBackstage
name: TrackerProjectIssueTypesExist
type: switch
- actionMode: sequential
actions:
- actionDataFilter:
toStateData: .migrationWaves
useResults: true
condition: .trackerProjectIssueTypes != null
functionRef:
invoke: sync
refName: getMigrationwaves
name: GetMigrationWaves
transition:
nextState: MigrationWavesExist
type: operation
- dataConditions:
- condition: (.migrationWaves != null)
transition:
nextState: GetJiraTickets
- condition: (.migrationWaves == null)
transition:
nextState: CreateMigrationWave
defaultCondition:
transition:
nextState: NotifyFailureBackstage
name: MigrationWavesExist
name: TrackerProjectIssueTypesExist
type: switch
- actionMode: sequential
actions:
- actionDataFilter:
toStateData: .createdMigrationWave
useResults: true
condition: .migrationWaves == null
functionRef:
arguments:
applications:
Expand All @@ -445,35 +419,8 @@ spec:
refName: createMigrationwave
name: CreateMigrationWave
transition:
nextState: GetJiraTickets
nextState: CreateJira
type: operation
- actionMode: sequential
actions:
- actionDataFilter:
toStateData: .jiraTickets
useResults: true
functionRef:
invoke: sync
refName: getTickets
name: getTickets
name: GetJiraTickets
stateDataFilter:
output: '{recipients: .recipients, repositoryURL: .repositoryURL, tracker: .tracker, trackerProject: .trackerProject, trackerProjectIssueTypes: .trackerProjectIssueTypes, application: .application, migrationWaveJiraTicket: .repositoryURL as $r| if .jiraTickets == null then null else .jiraTickets|map(select(.application.name == $r))[0] end}'
transition:
nextState: MigrationWaveJiraTicketExists
type: operation
- dataConditions:
- condition: (.migrationWaveJiraTicket != null)
transition:
nextState: NotifyCompletion
- condition: (.migrationWaveJiraTicket == null)
transition:
nextState: CreateJira
defaultCondition:
transition:
nextState: NotifyFailureBackstage
name: MigrationWaveJiraTicketExists
type: switch
- actionMode: sequential
actions:
- actionDataFilter:
Expand Down Expand Up @@ -601,7 +548,7 @@ spec:
podTemplate:
container:
resources: {}
image: quay.io/orchestrator/serverless-workflow-mta-v7.x:63d67980dcb0349d846a90401619a94e6d90ec67
image: quay.io/orchestrator/serverless-workflow-mta-v7.x:7a96f585800832583f0c04df19dee2c6c3faa0d8
envFrom:
- secretRef:
name: mta-analysis-v7-creds
Expand Down

0 comments on commit f71126b

Please sign in to comment.