Replies: 1 comment
-
@YannickRe |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My goal is to setup a generic deployment pipeline that can handle both the import of a new solution (not pre-existing in the target environment) and upgrading of an existing solution with a new version.
Currently, I can't seem to figure it out and wonder if there is guidance around this.
Example 1
Result: this works for existing solutions (if version is higher). This fails for new solutions with the message it can't import as a holding when there isn't an existing solution installed.
Example 2
Result: on existing solutions it doesn't do the upgrade (but an update). On new solutions it does the import but fails the upgrade (of course, because there is no upgradeable layer).
Example 3
Result: fails on new solutions (see also Import solution with the flag SkipLowerVersion set true, where solution isn't present in the environment #499). Works on existing solutions with a higher version number. Solutions with a lower version number than installed are not imported, BUT the subsequent upgrade step fails.
As you can see, I can't seem to figure out a combination of settings that will ALWAYS work (regardless if a solution is new or pre-existing and with a higher or lower version number). There is always a step that fails.
How should I configure this pipeline? And if not possible, can you build something in the actions to make this possible?
Beta Was this translation helpful? Give feedback.
All reactions