Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/ef5333672435c094c6088da8052838b43020c66e
...commit
http://git.netsurf-browser.org/netsurf.git/commit/ef5333672435c094c6088da8052838b43020c66e
...tree
http://git.netsurf-browser.org/netsurf.git/tree/ef5333672435c094c6088da8052838b43020c66e
The branch, master has been updated
via ef5333672435c094c6088da8052838b43020c66e (commit)
from 7e08cf4352d41c372584db69fc59c928f63c324f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=ef5333672435c094c6088da8052838b43020c66e
commit ef5333672435c094c6088da8052838b43020c66e
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
update the deployment script to add sha and md5 checksums
diff --git a/utils/jenkins-build.sh b/utils/jenkins-build.sh
index d18cac3..be71d89 100755
--- a/utils/jenkins-build.sh
+++ b/utils/jenkins-build.sh
@@ -442,27 +442,29 @@ if [ ! -f "${PKG_SRC}${PKG_SFX}" ]; then
exit 1
fi
+# create package checksum files
+md5sum "${PKG_SRC}${PKG_SFX}" > ${PKG_SRC}.md5
+sha256sum "${PKG_SRC}${PKG_SFX}" > ${PKG_SRC}.sha
+
############ Package artifact deployment ################
#destination for package artifacts
DESTDIR=/srv/ci.netsurf-browser.org/html/builds/${TARGET}/
-NEW_ARTIFACT_TARGET="NetSurf-${IDENTIFIER}${PKG_SFX}"
-
-# copy the file into the output - always use scp as it works local or remote
-scp "${PKG_SRC}${PKG_SFX}"
[email protected]:${DESTDIR}/${NEW_ARTIFACT_TARGET}
-
-# remove the local package file artifact
-rm -f "${PKG_SRC}${PKG_SFX}"
+NEW_ARTIFACT_TARGET="NetSurf-${IDENTIFIER}"
-# setup latest link
-ssh [email protected] "rm -f ${DESTDIR}/LATEST && echo
"${NEW_ARTIFACT_TARGET}" > ${DESTDIR}/LATEST"
+for SUFFIX in "${PKG_SFX}" .md5 .sha;do
+ # copy the file to the output - always use scp as it works local or remote
+ scp "${PKG_SRC}${SUFFIX}"
[email protected]:${DESTDIR}/${NEW_ARTIFACT_TARGET}${SUFFIX}
+ # remove the local file artifact
+ rm -f "${PKG_SRC}${SUFFIX}"
+done
-############ Package artifact cleanup ################
+############ Expired package artifact removal and latest linking ##############
OLD_ARTIFACT_TARGET="NetSurf-${OLD_IDENTIFIER}${PKG_SFX}"
-ssh [email protected] "rm -f ${DESTDIR}/${OLD_ARTIFACT_TARGET}"
+ssh [email protected] "rm -f ${DESTDIR}/${OLD_ARTIFACT_TARGET}
${DESTDIR}/LATEST && echo "${NEW_ARTIFACT_TARGET}${PKG_SFX}" >
${DESTDIR}/LATEST"
-----------------------------------------------------------------------
Summary of changes:
utils/jenkins-build.sh | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/utils/jenkins-build.sh b/utils/jenkins-build.sh
index d18cac3..be71d89 100755
--- a/utils/jenkins-build.sh
+++ b/utils/jenkins-build.sh
@@ -442,27 +442,29 @@ if [ ! -f "${PKG_SRC}${PKG_SFX}" ]; then
exit 1
fi
+# create package checksum files
+md5sum "${PKG_SRC}${PKG_SFX}" > ${PKG_SRC}.md5
+sha256sum "${PKG_SRC}${PKG_SFX}" > ${PKG_SRC}.sha
+
############ Package artifact deployment ################
#destination for package artifacts
DESTDIR=/srv/ci.netsurf-browser.org/html/builds/${TARGET}/
-NEW_ARTIFACT_TARGET="NetSurf-${IDENTIFIER}${PKG_SFX}"
-
-# copy the file into the output - always use scp as it works local or remote
-scp "${PKG_SRC}${PKG_SFX}"
[email protected]:${DESTDIR}/${NEW_ARTIFACT_TARGET}
-
-# remove the local package file artifact
-rm -f "${PKG_SRC}${PKG_SFX}"
+NEW_ARTIFACT_TARGET="NetSurf-${IDENTIFIER}"
-# setup latest link
-ssh [email protected] "rm -f ${DESTDIR}/LATEST && echo
"${NEW_ARTIFACT_TARGET}" > ${DESTDIR}/LATEST"
+for SUFFIX in "${PKG_SFX}" .md5 .sha;do
+ # copy the file to the output - always use scp as it works local or remote
+ scp "${PKG_SRC}${SUFFIX}"
[email protected]:${DESTDIR}/${NEW_ARTIFACT_TARGET}${SUFFIX}
+ # remove the local file artifact
+ rm -f "${PKG_SRC}${SUFFIX}"
+done
-############ Package artifact cleanup ################
+############ Expired package artifact removal and latest linking ##############
OLD_ARTIFACT_TARGET="NetSurf-${OLD_IDENTIFIER}${PKG_SFX}"
-ssh [email protected] "rm -f ${DESTDIR}/${OLD_ARTIFACT_TARGET}"
+ssh [email protected] "rm -f ${DESTDIR}/${OLD_ARTIFACT_TARGET}
${DESTDIR}/LATEST && echo "${NEW_ARTIFACT_TARGET}${PKG_SFX}" >
${DESTDIR}/LATEST"
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org