From f71126bd01884992c5bc84c928536bac166446e0 Mon Sep 17 00:00:00 2001 From: gabriel-farache Date: Wed, 28 Aug 2024 09:30:57 +0000 Subject: [PATCH] Automated PR from https://github.com/parodos-dev/serverless-workflows/pull/353 --- charts/mta-v7.x/Chart.yaml | 2 +- .../04-sonataflow_mta-analysis-v7.yaml | 59 +------------------ 2 files changed, 4 insertions(+), 57 deletions(-) diff --git a/charts/mta-v7.x/Chart.yaml b/charts/mta-v7.x/Chart.yaml index 6bab3972..6dcfd629 100644 --- a/charts/mta-v7.x/Chart.yaml +++ b/charts/mta-v7.x/Chart.yaml @@ -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 diff --git a/charts/mta-v7.x/templates/04-sonataflow_mta-analysis-v7.yaml b/charts/mta-v7.x/templates/04-sonataflow_mta-analysis-v7.yaml index 522be66c..8a44809d 100755 --- a/charts/mta-v7.x/templates/04-sonataflow_mta-analysis-v7.yaml +++ b/charts/mta-v7.x/templates/04-sonataflow_mta-analysis-v7.yaml @@ -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: @@ -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: @@ -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