aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-03Run CPU2006 gather tests, then submit for realfakespecBernard Ogden
Change-Id: Iad9dccb0529ce1d186985d2e09fa7c23a0f17faa
2015-08-11invoke_session_oe: reference count sessions before stop_hackingHEADmasterAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2015-08-11.gitreview: change to correct host: review.linaro.orgAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2015-05-08invoke_session_debian: reference count sessions before stop_hackingAnders Roxell
Change-Id: I0b8d433bbdd6837382bdc61cd70fb10b4db22efd Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2015-05-01Update documentation on hacking sessionsNeil Williams
LAVA-1987 - set out the changes after HKG15 for inactivity timeouts and logout termination. Change-Id: I0b305359c893d02eb65113d962c7620221757191
2015-02-19hacking-session: close session in case of inactivityMilosz Wasilewski
If user doesn't log in to hacking session within 60 minutes, the session is terminated. Also default behavior is changed and the session is terminated upon logging out. When user would like to continue hacking session the 'continue_hacking' command is provided. Android multinode hacking session was fixed and it closes both nodes properly. Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org> Change-Id: I2936067fcdc17616a2dd85bf8dd58c1d76b6f26c
2015-01-19Add NOTIFY_URL feature for pingbackRiku Voipio
New parameter NOTIFY_URL allows pushing the ip of the device to an HTTP server. The HTTP service or a script polling the server can then trigger opening the hacking session automatically, avoiding the need of watching IRC and copypasting commands. Change-Id: Id3ba767ef66a03cb540e8d517b43fa6c3548b735 Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2014-11-20debian hacking session: move irc package into scriptAlex Bennée
It seems the IRC script is only available in some distro versions. By removing it as a hard dependency we can fail more gracefully. Also if IRC_USER is not specified we won't even try. Change-Id: Ibe9b61392d210745930d589392cf6577b6a0565e Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2014-07-22Only output the ssh command to IRCNeil Williams
The hostname part is confusing and putting the ssh command on one line is easier to copy and paste. Strip trailing spaces. Change-Id: Iddb1d81ac9b37a47e6282282feeddf94e2f06c45
2014-07-18Merge "Add hacking session for Fedora"Remi Duraffort
2014-07-17Add hacking session for FedoraTimothy.Anzaku
Change-Id: I1bcff3b0e6550022cb7a98ab393aca5c37fb01d7
2014-07-10invoke_session_debian: set REAL_USER depending on SUDO_USERAlex Bennée
This allows us to report the correct user to login as in cases such as ubuntu rootfs setups where root login is disabled to start with. Change-Id: I18877b86c4e75893f893282bed1f60ec202c8748 Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2014-07-10hacking_session_debian: optional ping of user on IRCAlex Bennée
If the IRC_USER environment variable is set we ping the user once the hacking session is up and running to let them know it's ready for them. The IRC_SERVER defaults to irc.freenode.net. Change-Id: I77a7e642f7f3defcbdb5079b13ac523f3a0f0149 Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2014-07-10setup_session_debian: ensure .ssh permissions are correctAlex Bennée
There are two potential failure modes being guarded against. - buggy NFS mounts which squash 0600 perms - running setup under sudo -s for a "real" user Change-Id: Icd6725424b75c6a365cf7d0f7b69f7deeca6179a Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2014-07-10hacking-session-debian: auto-detect gateway if $GATEWAY not setAlex Bennée
This attempts to make the hacking session scripts do the right thing if no gateway is specified. This is marginally easier than relying on the user knowing the correct gateway address for non LAVA lab boxen. Change-Id: I4d76c334d9769bb04ebad7268084532b4e43076a Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2014-06-23Do not write into the user know host fileRémi Duraffort
This will generate huge warnings if the server is then changed Change-Id: Ic9f895a9c51350832facff55ecce34380faf70d8
2014-04-18sshd => sshTyler Baker
Change-Id: I43a05ca3156e443911b89e2f07a65bd433568d31
2014-04-16Re-start sshd during setupRémi Duraffort
Also use the init scripts to stop sshd when leaving hacking session. Change-Id: I3b256b2cb176a64915dae86a9aeeb35bb514b77d
2014-03-21Add an ReST README describing how to use LAVA hack sessionsAlan Bennett
...based on the previous documentation... Change-Id: If9b8a106c175a248846144d378565653d8bc38a7
2014-02-13display parameterized variablesTyler Baker
Change-Id: I166e3a6fa97e8cea63789865cad19f38d4b66c12
2014-02-13Merge "Fix for oe environments that don't support bash"Tyler Baker
2014-02-13Example script which find lava_mac in the kernel command line and updates ↵matthew.hart@linaro.org
/etc/network/interfaces to bring it up. Needs to be run by init before networking is brought up by the OS. Change-Id: I11038057de70424775ea331af1ac02b19251b36d
2014-02-12Fix for oe environments that don't support bashDave Pigott
Change-Id: Id02a853d96dafb4874301fc60399616dd824be14
2014-02-06Change gateway address to new lab gatewayDave Pigott
Change-Id: Id84c60835601fbd6740195d78993816c55a53656
2014-02-06add .gitreview fileTyler Baker
Change-Id: I3e0b00aad07d8db2e47964e2a4ce6c8e597a3fad Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2014-01-17oe: fix up some commentsTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2013-12-06oe: add example jsonTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2013-12-06oe: add definition for oeTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2013-12-06debian: update yaml formatTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2013-12-06oe: add oe specificsTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2013-12-06debian: remove dashesTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2013-12-06debian: update yaml formatTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2013-12-06debian: remove indentationTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2013-12-06debian: updates for latest bundle formatTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2013-12-05debian: more formattingTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2013-12-05debian: better formattingTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2013-12-05debian: update default parametersTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
2013-12-05debian: initial commitTyler Baker
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>