Change in vdsm[ovirt-4.0]: Adding build-artifacts-manual.sh script
gerrit-hooks has posted comments on this change. Change subject: Adding build-artifacts-manual.sh script .. Patch Set 5: * Update tracker: IGNORE, no Bug-Url found * Set MODIFIED::IGNORE, no Bug-Url found. -- To view, visit https://gerrit.ovirt.org/62559 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I70ed044ff9c8bc89c75e6c5e3669373468fadc1c Gerrit-PatchSet: 5 Gerrit-Project: vdsm Gerrit-Branch: ovirt-4.0 Gerrit-Owner: Sharon NaftalyGerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Sharon Naftaly Gerrit-Reviewer: Yaniv Bronhaim Gerrit-Reviewer: gerrit-hooks Gerrit-HasComments: No ___ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org
Change in vdsm[ovirt-4.0]: Adding build-artifacts-manual.sh script
Yaniv Bronhaim has posted comments on this change. Change subject: Adding build-artifacts-manual.sh script .. Patch Set 4: Code-Review+2 -- To view, visit https://gerrit.ovirt.org/62559 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I70ed044ff9c8bc89c75e6c5e3669373468fadc1c Gerrit-PatchSet: 4 Gerrit-Project: vdsm Gerrit-Branch: ovirt-4.0 Gerrit-Owner: Sharon NaftalyGerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Sharon Naftaly Gerrit-Reviewer: Yaniv Bronhaim Gerrit-Reviewer: gerrit-hooks Gerrit-HasComments: No ___ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org
Change in vdsm[ovirt-4.0]: Adding build-artifacts-manual.sh script
Yaniv Bronhaim has submitted this change and it was merged. Change subject: Adding build-artifacts-manual.sh script .. Adding build-artifacts-manual.sh script Adding build-artifacts-manual.sh script and related packages and repos files. build-artifacts-manual.sh is used for creating rpms from an existing tarball. It assumes that the tarball already exists in the projects directory and builds srpms and rpms, and moves the files to exported_artifacts directory. See more info here: https://gerrit.ovirt.org/#/c/62811/ Change-Id: I70ed044ff9c8bc89c75e6c5e3669373468fadc1c Signed-off-by: Sharon NaftalyReviewed-on: https://gerrit.ovirt.org/62559 Continuous-Integration: Jenkins CI Reviewed-by: Yaniv Bronhaim --- A automation/build-artifacts-manual.packages.el7 A automation/build-artifacts-manual.packages.fc23 A automation/build-artifacts-manual.repos.el7 A automation/build-artifacts-manual.repos.fc23 A automation/build-artifacts-manual.sh 5 files changed, 40 insertions(+), 0 deletions(-) Approvals: Sharon Naftaly: Verified Yaniv Bronhaim: Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/62559 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I70ed044ff9c8bc89c75e6c5e3669373468fadc1c Gerrit-PatchSet: 5 Gerrit-Project: vdsm Gerrit-Branch: ovirt-4.0 Gerrit-Owner: Sharon Naftaly Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Sharon Naftaly Gerrit-Reviewer: Yaniv Bronhaim ___ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org
Change in vdsm[ovirt-4.0]: Adding build-artifacts-manual.sh script
Sharon Naftaly has posted comments on this change. Change subject: Adding build-artifacts-manual.sh script .. Patch Set 4: Verified+1 Verified with a tarball created from the following patch: https://gerrit.ovirt.org/#/c/63129/ -- To view, visit https://gerrit.ovirt.org/62559 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I70ed044ff9c8bc89c75e6c5e3669373468fadc1c Gerrit-PatchSet: 4 Gerrit-Project: vdsm Gerrit-Branch: ovirt-4.0 Gerrit-Owner: Sharon NaftalyGerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Sharon Naftaly Gerrit-Reviewer: gerrit-hooks Gerrit-HasComments: No ___ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org
Change in vdsm[ovirt-4.0]: Adding build-artifacts-manual.sh script
gerrit-hooks has posted comments on this change. Change subject: Adding build-artifacts-manual.sh script .. Patch Set 4: Verified-1 * Update tracker: IGNORE, no Bug-Url found * Check Bug-Url::ERROR, At least one bug-url is required for the stable branch * Check merged to previous::WARN, Still missing on branches master -- To view, visit https://gerrit.ovirt.org/62559 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I70ed044ff9c8bc89c75e6c5e3669373468fadc1c Gerrit-PatchSet: 4 Gerrit-Project: vdsm Gerrit-Branch: ovirt-4.0 Gerrit-Owner: Sharon NaftalyGerrit-Reviewer: Jenkins CI Gerrit-Reviewer: gerrit-hooks Gerrit-HasComments: No ___ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org
Change in vdsm[ovirt-4.0]: Adding build-artifacts-manual.sh script
gerrit-hooks has posted comments on this change. Change subject: Adding build-artifacts-manual.sh script .. Patch Set 3: Verified-1 * Update tracker: IGNORE, no Bug-Url found * Check Bug-Url::ERROR, At least one bug-url is required for the stable branch * Check merged to previous::WARN, Still missing on branches master -- To view, visit https://gerrit.ovirt.org/62559 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I70ed044ff9c8bc89c75e6c5e3669373468fadc1c Gerrit-PatchSet: 3 Gerrit-Project: vdsm Gerrit-Branch: ovirt-4.0 Gerrit-Owner: Sharon NaftalyGerrit-Reviewer: Jenkins CI Gerrit-Reviewer: gerrit-hooks Gerrit-HasComments: No ___ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org
Change in vdsm[ovirt-4.0]: Adding build-artifacts-manual.sh script
gerrit-hooks has posted comments on this change. Change subject: Adding build-artifacts-manual.sh script .. Patch Set 2: * Update tracker: IGNORE, no Bug-Url found * Check Bug-Url::ERROR, At least one bug-url is required for the stable branch * Check merged to previous::WARN, Still missing on branches master -- To view, visit https://gerrit.ovirt.org/62559 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I70ed044ff9c8bc89c75e6c5e3669373468fadc1c Gerrit-PatchSet: 2 Gerrit-Project: vdsm Gerrit-Branch: ovirt-4.0 Gerrit-Owner: Sharon NaftalyGerrit-Reviewer: Jenkins CI Gerrit-Reviewer: gerrit-hooks Gerrit-HasComments: No ___ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org
Change in vdsm[ovirt-4.0]: Adding build-artifacts-manual.sh script
gerrit-hooks has posted comments on this change. Change subject: Adding build-artifacts-manual.sh script .. Patch Set 1: Verified-1 * Update tracker: IGNORE, no Bug-Url found * Check Bug-Url::ERROR, At least one bug-url is required for the stable branch * Check merged to previous::WARN, Still missing on branches master -- To view, visit https://gerrit.ovirt.org/62559 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I70ed044ff9c8bc89c75e6c5e3669373468fadc1c Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: ovirt-4.0 Gerrit-Owner: Sharon NaftalyGerrit-Reviewer: gerrit-hooks Gerrit-HasComments: No ___ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org
Change in vdsm[ovirt-4.0]: Adding build-artifacts-manual.sh script
Sharon Naftaly has uploaded a new change for review. Change subject: Adding build-artifacts-manual.sh script .. Adding build-artifacts-manual.sh script Adding build-artifacts-manual.sh script and related packages and repos files. Change-Id: I70ed044ff9c8bc89c75e6c5e3669373468fadc1c Signed-off-by: Sharon Naftaly--- A automation/build-artifacts-manual.packages.el7 A automation/build-artifacts-manual.packages.fc23 A automation/build-artifacts-manual.repos.el7 A automation/build-artifacts-manual.repos.fc23 A automation/build-artifacts-manual.sh 5 files changed, 44 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/59/62559/1 diff --git a/automation/build-artifacts-manual.packages.el7 b/automation/build-artifacts-manual.packages.el7 new file mode 12 index 000..0e2d82a --- /dev/null +++ b/automation/build-artifacts-manual.packages.el7 @@ -0,0 +1 @@ +build-artifacts.packages.el7 \ No newline at end of file diff --git a/automation/build-artifacts-manual.packages.fc23 b/automation/build-artifacts-manual.packages.fc23 new file mode 12 index 000..9a05cd6 --- /dev/null +++ b/automation/build-artifacts-manual.packages.fc23 @@ -0,0 +1 @@ +build-artifacts.packages.fc23 \ No newline at end of file diff --git a/automation/build-artifacts-manual.repos.el7 b/automation/build-artifacts-manual.repos.el7 new file mode 12 index 000..2551420 --- /dev/null +++ b/automation/build-artifacts-manual.repos.el7 @@ -0,0 +1 @@ +build-artifacts.repos.el7 \ No newline at end of file diff --git a/automation/build-artifacts-manual.repos.fc23 b/automation/build-artifacts-manual.repos.fc23 new file mode 12 index 000..9ba9a01 --- /dev/null +++ b/automation/build-artifacts-manual.repos.fc23 @@ -0,0 +1 @@ +build-artifacts.repos.fc23 \ No newline at end of file diff --git a/automation/build-artifacts-manual.sh b/automation/build-artifacts-manual.sh new file mode 100755 index 000..345af3e --- /dev/null +++ b/automation/build-artifacts-manual.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +set -xe + +# prepare env +BUILDS=$PWD/rpmbuild +EXPORTS=$PWD/exported-artifacts +OUTPUT=$PWD/output +mkdir -p "$EXPORTS" +cp $PWD/automation/index.html "$EXPORTS" + +# autogen may already have been executed by check-patch.sh +if [ ! -f Makefile ]; then + ./autogen.sh --system --enable-hooks --enable-vhostmd +fi + +rm -rf $OUTPUT + +# create the src.rpm, assuming the tarball is in the directory +rpmbuild \ +-D "_srcrpmdir $OUTPUT" \ +-D "_topmdir $BUILDS" \ +-ts ./*.gz + +# install any build requirements +yum-builddep output/*src.rpm + +# create the rpms +rpmbuild \ +-D "_rpmdir $OUTPUT" \ +-D "_topmdir $BUILDS" \ +--rebuild output/*.src.rpm + +find "$OUTPUT" \ +-iname \*.rpm \ +-exec mv {} "$EXPORTS/" \; +find "$PWD" \ +-maxdepth 1 \ +-iname vdsm\*.tar.gz \ +-exec mv {} "$EXPORTS/" \; -- To view, visit https://gerrit.ovirt.org/62559 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I70ed044ff9c8bc89c75e6c5e3669373468fadc1c Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: ovirt-4.0 Gerrit-Owner: Sharon Naftaly ___ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org