Closed MortenRa closed 3 years ago
Hi Morten,
How is this an ALOps issue? ALOps get the "18.0.*.0" from yaml, so it acts according that. It's yaml-template-parameters that gets the value in there .. which clearly goes wrong at some point in devops/yaml. But that's too far for me to figure out where it goes wrong.. .
I do see your hardcoded "appversiontemplate: '18.3.[yyyyWW].*'"
, but the value "18.0.*.0"
ALSO comes from somewhere. This isn't something default that we have set up or something. So I guess you'll need to search for that value somewhere in your system/variables/groups/templates/scripts/.. in your pipeline.
May be best is to go back to basics: start with a non-template approach, and build it up to a template?
What I find strange is that it doesn't seem to take the hardcode value - so I really doubt this is the actual template that is being executed.. . Where does the 18.0.*.0 come from?
Hi Waldo,
Yes I find it strange aswell as this is setup on a new organization that has not been running any pipelines any configuration I have only 2 yaml files in the repo and I took the AlopsAppCompiler@2
Pretty simple example I took from the example site.
But if it must be there somewhere I will delete everything and start form scratch to be sure
It would be awesome if you could figure out where that 18.0.*.0
comes from .. that really is strange 🤔.
Or may be just delete the template and see how it reacts?
also - may be you're in the wrong branch? yaml-files are files in a repo that might be branches as well .. ? Just guessing...
I got it figured out was updating changes in a repo called template and the reference was to a project called Templates with a repo Templates so I was updating the wrong repo yaml, I have now cleaned up and everything work as expected.
Describe the bug appversiontemplate does not to take the version from the yaml
the used yaml please provide the yaml that you used. It helps you put the yaml like this:
the output Also the complete output is necessary for us to see what is going on. Also use backtics:
Expected behavior expect to take the appversiontemplate from the yaml. Seems to be taken som default value.