-
Notifications
You must be signed in to change notification settings - Fork 75
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
build refactor #80
build refactor #80
Conversation
@RackHD/corecommitters @RackHD/rackhd_dev @heckj please review |
.dockerignore updated |
…build-refactor
👍 |
1 similar comment
👍 |
test this please |
|
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )" | ||
cd $SCRIPT_DIR/.. | ||
|
||
export DEBEMAIL="hwimo robots <hwimo@hwimo.lab.emc.com>" |
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.
Minor : Shall we use some public email address instead of internal here ?
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.
Yes, that needs to be changed. And the FULLNAME as well, I think.
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 made these to mimic HWIMO-BUILD. Hopefully you'll be able to have jenkins
run make-cicd instead of HWIMO-BUILD as well (and deprecate HWIMO-BUILD).
If you want a different email address, let me know and I can add it to the
PR. However, a couple similar PRs have been accepted with the lab email, so
we would probably want to do it across the collection of projects.
On Tue, Apr 19, 2016 at 8:13 AM, david d zuhn notifications@github.com
wrote:
In extra/make-cicd.sh
#80 (comment):@@ -0,0 +1,28 @@
+#!/bin/bash
+
+# This creates a package in a manner similar to
+# HWIMO-BUILD: datestring package version, apidoc
+# no coveralls. But it also utilizes build-package.bash
+# similar to how travis-ci does.
+
+# Ensure we're always in the right directory.
+SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
+cd $SCRIPT_DIR/..
+
+export DEBEMAIL="hwimo robots hwimo@hwimo.lab.emc.com"Yes, that needs to be changed.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/RackHD/on-taskgraph/pull/80/files/80418370126621d13da1d7652881234c1d75e132#r60219016
jenkins: test this please |
rm -rf packagebuild | ||
fi | ||
|
||
git clone . packagebuild |
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 would be good, for the manifest based builds, to include the recent modification from HWIMO-BUILD to copy the local package.json file from . rather than from the git clone. The manifest build process goes through the package.json dependencies and changes the references from within RackHD git repos to the versions specified in the manifest. That info is kept in $PWD/package.json, but not checked in via git.
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'm going go through the open and recent build refactor PRs and change git clone to an rsync. We found that the builds from travis are doing some form of shallow clone, and the git clone .
doesn't seem to work anymore.
Added fixes the travis-ci shallow clone related issues we saw in RackHD/on-dhcp-proxy#35 and RackHD/on-dhcp-proxy#34 |
|
Modified lsscsi command parser to combine phrases correctly
Performing a build refactor similar to on-http#181. This brings both on-http and on-taskgraph onto the same pattern. It also ensures that people building their own packages can use the same process that travis uses.