Closed michaelsauter closed 4 years ago
9I Love it.. pull over my jenkins File.. and then close my pr.. whats up in the tip?
Did you also try deploy to qa?
Lets Touch Base monday to talk about the tip... in case of wip the branch is ok.. in case of Version it needs to contain the tag i believe
@clemensutschig Okay, let's talk on Monday ... I'm done for the day.
Tests are fixed now except one, however that is purely a test setup issue.
Yes I deployed to QA, documents get generated but the tag is wrong as you saw too ...
WARNING: I also changed the target to be master
since now the feature/refactor-leva-docs
has been merged to master
!
Another wording fix in the templates: https://github.com/opendevstack/ods-document-generation-templates/commit/2b10cf6.
@clemensutschig @metmajer @martsec This is ready from my point of view. Documents generate - as far as I can tell - correctly for D/WIP, D/version, Q and P.
Related are fixes in the templates: opendevstack/ods-document-generation-templates@8135adc and opendevstack/ods-document-generation-templates@3be0ba8.
I've added your template changes to our internal repo so we can check-it out when merging this pr.
@michaelsauter can't wait to have this in master. Can you please squash and merge asap (tomorrow morning)? Cheers!
@michaelsauter - found one more - please do NOT merge ...
in case a quickstarter of type ods-test
is added ... looks like the branch / tags are created in assembly mode, but appearently not, as the promotion fails
assemble:
spock::::
To ...... odsst-release-m.git
* [new branch] release/6 -> release/6
* [new tag] v6-UNDEFINED-0-D -> v6-UNDEFINED-0-D
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
looks like the component is treated wrongly ... I looked at the logic below ..
and I don't get it ... we could tag and push in phase test ... maybe the directory we are in is wrong?
Found it - we don't wrap the steps with dir
.. same for type shell script..
@clemensutschig With this, I can generate the documents now. I don't like it - but anything else I tried was blocked by some Jenkins bug eventually.
I also noticed that the TIP seems to contain wrong refs in terms of which Git ref is used for related repos. This does not use the actual value from repo.data, but seems to get what is in metadata.yml. I will look into this on Monday.