-
Notifications
You must be signed in to change notification settings - Fork 47
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
[incubator-kie-issues#828] Create zip files for source code #1202
Conversation
|
||
#Creating ZIP | ||
pushd ${SOURCES_DIRECTORY_NAME} | ||
ZIP_FILE_NAME="${REPO_NAME}-sources-${VERSION}.zip" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create one zip file instead of a zip file for each repository. There should be one big zip file with all sources. Filename should be in the format of incubator-kie-${params.VERSION_NUMBER}.zip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please come to an agreement with Alex @porcelli
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That screenshot is from February. Please see the release document here https://docs.google.com/document/d/1t-08b970i9PMBy-TSM64x0RUH46pzwnIhEi-LVeL0lg/edit. (I edited the version template for the file name based on that in my previous comment). More specifically, please see "AUTOMATION D: Release candidate job on Jenkins", section with Artifacts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's from february but since I gathered the information noone notified me about changes in the requirements. There was very few information about it.
apache/incubator-kie-issues#828
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was presented multiple times on the KIE weekly call and also on the dev mailing list (the release procedure was discussed there).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw: the list of repos is already on the jenkinsfile that I shared
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll adjust the list. I had the script long done already by the time jenkinsfile got to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my comments.
6e6edf1
to
ef3bd22
Compare
@baldimir I have several questions based on the document you sent
|
@cimbalek please see Alex's reply here #1202 (comment) The sources zip should be 1 zip with those 7 repositories. I would say, just clone those repositories and zip them. I don't think there is any need to delete anything from those repositories. |
@baldimir I saw it. It got answered in the meantime. I understand it that packing container sources separately (or copying them into separate folder inside the zip) is not needed then. |
086b284
to
88e568b
Compare
Add bash script that creates zip files with sources as required by Apache
Should be ready now. Summary of the whole PR now:
Seed jobs cascade[0][1] that generates zipping sources pipeline was successfully ran in my fork:
Actual pipeline run can be found here [2]. Resulting zip is available as archived artifacts [3]. Job failed because there was no signature to archive as the signing and uploading functionality is currently disabled.
Unless there are another change requests, I consider this PR ready from my side. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong library reference and a few minor things.
Updated according to the discussion above. Test run is here: |
Co-authored-by: Jan Stastny <[email protected]>
Co-authored-by: Jan Stastny <[email protected]>
Add bash script that creates zip files with sources as required by Apache
This is being tested here (in queue):
https://ci-builds.apache.org/job/KIE/job/tools/job/zip-sources/