diff options
author | Sven Gothel <[email protected]> | 2011-02-05 22:19:26 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-05 22:19:26 +0100 |
commit | b69d145dced2165759033aed6c3e6c8ae26b5a65 (patch) | |
tree | 9587cc7653de34d458684566681c3235d8d3df99 /user-templates | |
parent | 2cc9eac47fc05d8b6d7cb40d55b8121c54bc0b84 (diff) |
Added user templates to promote stuff local and via ssh
Diffstat (limited to 'user-templates')
-rwxr-xr-x | user-templates/promote-to-webstart-local.sh | 13 | ||||
-rw-r--r-- | user-templates/promote-to-webstart-ssh-on-hudson.sh | 22 | ||||
-rw-r--r-- | user-templates/relocate2-webstart-folder-local.sh | 12 | ||||
-rw-r--r-- | user-templates/relocate2-webstart-ssh-on-hudson.sh | 20 | ||||
-rw-r--r-- | user-templates/relocate2-webstart_next-ssh-on-hudson.sh | 22 | ||||
-rw-r--r-- | user-templates/update-javaws.sh | 22 |
6 files changed, 111 insertions, 0 deletions
diff --git a/user-templates/promote-to-webstart-local.sh b/user-templates/promote-to-webstart-local.sh new file mode 100755 index 0000000..002c90a --- /dev/null +++ b/user-templates/promote-to-webstart-local.sh @@ -0,0 +1,13 @@ +#! /bin/bash + +THISDIR=`pwd` + +./hudson-builds/promote-to-webstart.sh \ + v2.0-rc2 \ + /srv/www/jogamp.org/deployment/archive/jau01 \ + /srv/www/jogamp.org/deployment/test/jau01s \ + http://risa/deployment/test/jau01s \ + keystore.p12 \ + PASSWORD \ + "some tag for the key" + diff --git a/user-templates/promote-to-webstart-ssh-on-hudson.sh b/user-templates/promote-to-webstart-ssh-on-hudson.sh new file mode 100644 index 0000000..6153857 --- /dev/null +++ b/user-templates/promote-to-webstart-ssh-on-hudson.sh @@ -0,0 +1,22 @@ +#! /bin/bash + +branch=master +bname=gluegen_263-joal_113-jogl_292-jocl_268 +tag=v2.0-dev-master + +ssh [email protected] "\ + cd /home/jogl/sgothel ; \ + rm -rf jogamp-scripting ; \ + git clone file:///srv/scm/jogamp-scripting.git jogamp-scripting ; \ + cd jogamp-scripting ; \ + ls -la ; \ + ./hudson-builds/promote-to-webstart.sh \ + $tag \ + /srv/www/jogamp.org/deployment/archive/$branch/$bname \ + /srv/www/jogamp.org/deployment/archive/$branch/$bname-webstart \ + http://jogamp.org/deployment/archive/$branch/$bname-webstart \ + keystore.p12 \ + PASSWORD \ + \"some tag for the key\" ; \ +" + diff --git a/user-templates/relocate2-webstart-folder-local.sh b/user-templates/relocate2-webstart-folder-local.sh new file mode 100644 index 0000000..6a6cbae --- /dev/null +++ b/user-templates/relocate2-webstart-folder-local.sh @@ -0,0 +1,12 @@ +#! /bin/bash + +# /srv/www/jogamp.org/deployment/archive/jau00 \ +# /srv/www/jogamp.org/deployment/test/jau01 \ +# http://localhost/deployment/test/jau01 \ + +./hudson-builds/relocate-webstart-folder.sh \ + v2.0-rc2 \ + /srv/www/jogamp.org/deployment/archive/jau01 \ + /srv/www/jogamp.org/deployment/test/jau01s \ + http://risa/deployment/test/jau01s \ + diff --git a/user-templates/relocate2-webstart-ssh-on-hudson.sh b/user-templates/relocate2-webstart-ssh-on-hudson.sh new file mode 100644 index 0000000..f4c74cb --- /dev/null +++ b/user-templates/relocate2-webstart-ssh-on-hudson.sh @@ -0,0 +1,20 @@ +#! /bin/bash + +tag=v2.0-rc2 + +ssh [email protected] "\ + cd /home/jogl ; \ + rm -rf jogamp-scripting ; \ + git clone file:///srv/scm/jogamp-scripting.git jogamp-scripting ; \ + cd jogamp-scripting ; \ + ls -la ; \ + ./hudson-builds/relocate-webstart-folder.sh \ + $tag \ + /srv/www/jogamp.org/deployment/webstart-next \ + /srv/www/jogamp.org/deployment/webstart-new \ + http://jogamp.org/deployment/webstart ; \ + mv /srv/www/jogamp.org/deployment/webstart /srv/www/jogamp.org/deployment/webstart-old ; \ + mv /srv/www/jogamp.org/deployment/webstart-new /srv/www/jogamp.org/deployment/webstart ; \ + rm -rf /srv/www/jogamp.org/deployment/webstart-old ; \ +" + diff --git a/user-templates/relocate2-webstart_next-ssh-on-hudson.sh b/user-templates/relocate2-webstart_next-ssh-on-hudson.sh new file mode 100644 index 0000000..29f50bd --- /dev/null +++ b/user-templates/relocate2-webstart_next-ssh-on-hudson.sh @@ -0,0 +1,22 @@ +#! /bin/bash + +branch=master +bname=gluegen_263-joal_113-jogl_292-jocl_268 +tag=v2.0-dev-master + +ssh [email protected] "\ + cd /home/jogl ; \ + rm -rf jogamp-scripting ; \ + git clone file:///srv/scm/jogamp-scripting.git jogamp-scripting ; \ + cd jogamp-scripting ; \ + ls -la ; \ + ./hudson-builds/relocate-webstart-folder.sh \ + $tag \ + /srv/www/jogamp.org/deployment/archive/$branch/$bname-webstart \ + /srv/www/jogamp.org/deployment/webstart-next-new \ + http://jogamp.org/deployment/webstart-next ; \ + mv /srv/www/jogamp.org/deployment/webstart-next /srv/www/jogamp.org/deployment/webstart-next-old ; \ + mv /srv/www/jogamp.org/deployment/webstart-next-new /srv/www/jogamp.org/deployment/webstart-next ; \ + rm -rf /srv/www/jogamp.org/deployment/webstart-next-old ; \ +" + diff --git a/user-templates/update-javaws.sh b/user-templates/update-javaws.sh new file mode 100644 index 0000000..0f7a5a5 --- /dev/null +++ b/user-templates/update-javaws.sh @@ -0,0 +1,22 @@ +groot=/usr/local/projects/JOGL/gluegen +aroot=/usr/local/projects/JOGL/joal +jroot=/usr/local/projects/JOGL/jogl + +rm -rf /srv/www/jogamp.org/deployment/test/jau01s + +cp -av $groot/build-x86_64/gluegen-rt.jar $groot/build-x86_64/*natives*jar /srv/www/jogamp.org/deployment/archive/jau01/ +cp -av $aroot/build-x86_64/joal.jar $aroot/build-x86_64/*natives*jar /srv/www/jogamp.org/deployment/archive/jau01/ +cp -av $jroot/build-x86_64/jar/*all*jar $jroot/build-x86_64/jar/*natives*jar /srv/www/jogamp.org/deployment/archive/jau01/ + +cp -av $groot/jnlp-files/* /srv/www/jogamp.org/deployment/archive/jau01/jnlp-files/ +cp -av $aroot/jnlp-files/* /srv/www/jogamp.org/deployment/archive/jau01/jnlp-files/ +cp -av $jroot/jnlp-files/* /srv/www/jogamp.org/deployment/archive/jau01/jnlp-files/ + +cp -av /data/Incoming/windows/jogl/build-win64/jar/*natives* /srv/www/jogamp.org/deployment/archive/jau01/ +cp -av /data/Incoming/windows/jogl/build-win32/jar/*natives* /srv/www/jogamp.org/deployment/archive/jau01/ + +rm /srv/www/jogamp.org/deployment/archive/jau01/*cdc.jar + +export JOGAMP_DEPLOYMENT_NO_REPACK=1 + +sven/promote-to-webstart-local.sh |