aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2017-12-23Fixed SDKs management when running in xds VM.v1.0.0-rc2Sebastien Douheret4-6/+7
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-22Added SDKs management support.Sebastien Douheret9-1/+556
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-11Standardized XDS config file name and location.Sebastien Douheret2-0/+0
- config file name is : server-config.json - xds-server settings under user's home is: $HOME/.xds/server - xds-server settings under etc is: /etc/xds/server Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-30Added Copyright header.Sebastien Douheret6-0/+103
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-10Fix case where ~/.ssh/id_rsa.pub is a softlinkbrian avery1-1/+1
Some users may have the default id_rsa/id_rsa.pub be a softlink to one of a set of rsa keys. In this case, the cp would result in a dangling softlink in the container and the startup fails. Adding a -L to the cp command results in copying whatever the softlink points to into the container, which seems like the desired behaviour. Signed-off-by: brian avery <brian.avery@intel.com>
2017-10-19Fix ssh command when execited with a wget pipev0.3.3Sebastien Douheret1-3/+3
2017-10-19Support case when .ssh and default key dont exist.Sebastien Douheret1-5/+6
2017-10-19Fix warnings detected by shellcheck.Sebastien Douheret1-22/+18
2017-10-19Fix: piped execution of script failedForlot Romain [IoT.bzh]1-1/+1
2017-10-19Fixed auto detection of versionSebastien Douheret1-5/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-19Fix docker images detection on Redhat like distro.Sebastien Douheret1-2/+3
2017-10-17Improved docker creation script.Sebastien Douheret1-18/+55
- detect uid/gid conflict - add -id option - improved help - cleanup invalid container on error (unless -nc option is set)
2017-10-16Fixed xds systemd user serviceSebastien Douheret1-9/+28
2017-10-12xds-server is now start as user systemd service.Sebastien Douheret1-5/+4
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-12Add --volume option support.Sebastien Douheret1-9/+23
Also removed useless volume (residual settings of AGL SDK container)
2017-10-12Fix ssh credential copy where hostname cannot be resolvedSebastien Douheret1-3/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-14Allow to install sdks from local file when iot download site is not availableSebastien Douheret1-1/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-14Dynamically retrieve docker image name/versionSebastien Douheret1-11/+23
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-13Set same uid and gid inside and outside dockerSebastien Douheret1-16/+34
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-13Auto retrieve docker image tagSebastien Douheret1-0/+10
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-13Set install dir to /opt/AGL and move conf to $HOME/.xds-serverSebastien Douheret3-83/+15
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-30Bump docker container version to 4.0 and update doc.Sebastien Douheret1-2/+6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-30Fixed again freeze when iot.bzh website is not accessiblev0.2.2Sebastien Douheret1-7/+7
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-30Prevent script freeze when iot.bzh website is not accessible.Sebastien Douheret1-0/+7
2017-07-24Support SDK directory with spacesSebastien Douheret1-5/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-07-09Set exit codeSebastien Douheret2-0/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-27Update Readme fileRonan Le Martret2-0/+23
* Add systemd service file * Add autoconfig for ssh contener * Add http port conf to xds-server-start.sh script Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-06-26Fix FILE decoding when --file option is set with a full path.Sebastien Douheret1-0/+1
2017-06-26Intel SDK is now named corei7-64.Sebastien Douheret1-3/+9
2017-06-22Fix invalid file parameter.Sebastien Douheret1-2/+2
2017-06-22Fix args decoding and improve error detection.Sebastien Douheret1-7/+12
2017-06-20Update xds-agent tarballs by default.Sebastien Douheret1-1/+1
2017-06-20Create XDT_SDK dir when not existing.Sebastien Douheret1-0/+2
2017-06-20Add script to start AGL worker XDS docker container.Sebastien Douheret1-0/+102
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-16Bump syncthing-inotify version to 0.8.6Sebastien Douheret1-14/+40
2017-06-16Improved script and add -file option.Sebastien Douheret1-16/+37
2017-06-07Allow to not update xds-agent tarball on startup.Sebastien Douheret1-14/+17
Also set debug loglevel to info
2017-06-07Add windows and packaging build support.Sebastien Douheret1-9/+22
2017-05-28Add script to get xds-agent tarballs.Sebastien Douheret5-0/+76
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-28Set script as executableSebastien Douheret1-0/+0
2017-05-27Add doc to create & start XDS AGL docker container.Sebastien Douheret2-1/+19
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-26Fix webapp location for install and startup.Sebastien Douheret1-7/+11
2017-05-26Retrieve dynamically SDKs files list (more generic)Sebastien Douheret1-8/+27
2017-05-18Bump to Syncthing 0.14.28Sebastien Douheret1-1/+1
2017-05-18Update script now that #164 fix has been merged.Sebastien Douheret1-22/+6
2017-05-17Add AGL specfic scriptsSebastien Douheret3-38/+111
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-16Use patched version of syncthing-inotify.Sebastien Douheret1-1/+35
Bug #164 has not been properly merged yet. So patch this bug manually. See also https://github.com/syncthing/syncthing-inotify/pull/165
2017-05-13Allow to not start server (useful for debugging).Sebastien Douheret1-6/+12
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-12Add target to get Syncthing and start server script.Sebastien Douheret2-0/+90
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>