Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production profile build failing with a configured subflow #307

Closed
dmartinol opened this issue Nov 15, 2023 · 1 comment · Fixed by #310
Closed

Production profile build failing with a configured subflow #307

dmartinol opened this issue Nov 15, 2023 · 1 comment · Fixed by #310
Assignees

Comments

@dmartinol
Copy link
Contributor

Describe the bug

Steps
In OpenShift, deploy a SonataFlow instance test with prod profile and include a subflow with a user defined ConfigMap called test-subflow.
Mount the ConfigMap in the SonataFlow instance using:

spec:
  resources: 
    configMaps:
      - configMap:
          name: escalation-subflow 

Expected behavior

The Build generates an image building the test SWF and the test-subflow SWF, and all the mounted user properties (if any)

Actual behavior

The build fails with an error:

NoSuchFileException:
            /home/kogito/serverless-workflow-project/src/main/resources/specs/jira.yaml

Looking into the Pod, the expected folder structure is missing>

sh-4.4# ls /home/kogito/serverless-workflow-project/resources
ls: cannot access '/home/kogito/serverless-workflow-project/resources': No such file or directory
sh-4.4# ls /home/kogito/
ls: cannot access '/home/kogito/': No such file or directory

How to Reproduce?

No response

Output of uname -a or ver

No response

Golang version

No response

Operator-sdk version

No response

SonataFlow Operator version or git rev

No response

Additional information

No response

@ricardozanini
Copy link
Member

Depends on apache/incubator-kie-kogito-images#1711

@ricardozanini ricardozanini moved this from 📋 Backlog to ⏳ In Progress in 🦉 KIE Podling Board Nov 29, 2023
@ricardozanini ricardozanini moved this from ⏳ In Progress to 🧐 In Review in 🦉 KIE Podling Board Nov 29, 2023
@github-project-automation github-project-automation bot moved this from 🧐 In Review to 🎯 Done in 🦉 KIE Podling Board Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
2 participants