-
-
Notifications
You must be signed in to change notification settings - Fork 266
[FIX] wkhtmltox build arg #451
base: master
Are you sure you want to change the base?
Conversation
travis/travis_install_nightly
Outdated
@@ -82,7 +84,7 @@ if [ "$clone_result" != "0" ]; then | |||
exit $clone_result | |||
fi; | |||
|
|||
if [ "${WKHTMLTOPDF_VERSION}" != "" ]; then | |||
if [ "${WKHTMLTOPDF_VERSION}" != "SKIP" ]; then | |||
echo "Install webkit (wkhtmltopdf) patched version ${WKHTMLTOPDF_VERSION}" | |||
(cd ${HOME}/maintainer-quality-tools/travis/ && wget -qO- -t 1 --timeout=240 https://downloads.wkhtmltopdf.org/0.12/${WKHTMLTOPDF_VERSION}/wkhtmltox-${WKHTMLTOPDF_VERSION}_linux-generic-amd64.tar.xz | tar -xJ --strip-components=2 wkhtmltox/bin/wkhtmltopdf) |
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.
Should we change the url to use github here? (without checksum process)
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 thought you said to leave that in #450? That's the only thing that PR consists of now
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.
The diffs should align I think regardless of merge order due to not editing the same or bordering lines?
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.
The travis is red IMHO we need change the url to use the new github URL (if we are forcing a installation by default)
1d19277
to
fd21163
Compare
Alright this should be 🍏 now |
* Add missing WKHTMLTOPDF_VERSION declaration and use a SKIP arg instead of blank
fd21163
to
7f6bd3b
Compare
Rebased to solve conflicts. |
This env var was introduced in #449, but doesn't exist anywhere.
Additionally - In order to avoid having to change all our Travis files, I propose that we skip the installation with the value
SKIP
, otherwise we install the version we have defined (0.12.4
)