Commit graph

185 commits

Author SHA1 Message Date
Alexandre Aubin
3bdb65cd87 No need to sudo when creating symlinks, that could create a whole bunch of warning if slapd happens to be down 2019-10-14 17:22:55 +02:00
Alexandre Aubin
4eecc1059b
Merge pull request #54 from YunoHost/lxd
Vagrant is madness, LXD is much easy to setup and use
2019-10-14 17:21:15 +02:00
Alexandre Aubin
20dafd3827 Smarter ./ynh-dev start that will attach to the container if it already exists 2019-10-11 19:00:06 +02:00
Alexandre Aubin
b27bc5deea For now the LXC gotta be priviledged to be able to install pytest deps 2019-10-10 00:24:44 +02:00
Alexandre Aubin
c480666d9c Fix default working directory after attaching the container 2019-10-09 16:23:50 +02:00
Alexandre Aubin
ce7bd7e1ee More accurate test to check the existence of the link 2019-10-09 16:18:37 +02:00
Alexandre Aubin
f5a1860aec Trick + cleaning to allow to build the yunohost-admin in the container despite the lack of r/w of the shared folder 2019-10-09 00:16:43 +02:00
Alexandre Aubin
ea22e9409d Add lxc/lxd to /usr/local/bin so that it works nicely with sudo 2019-10-08 23:48:07 +02:00
Alexandre Aubin
360c25c747
Gotta sudo
Co-Authored-By: decentral1se <lukewm@riseup.net>
2019-10-08 23:13:34 +02:00
Alexandre Aubin
6a0a7d1990 Use an absolute path for lxc to avoid weird PATH issues 2019-10-08 22:36:53 +02:00
Alexandre Aubin
5748513a49
Add note about the fact that LXD may conflict with an already running dnsmasq 2019-10-08 21:24:40 +02:00
Alexandre Aubin
3b1ade01a7
Simplify introduction 2019-10-08 21:20:54 +02:00
Alexandre Aubin
0ab8729d70 Vagrant is madness, LXD is much easy to setup and use 2019-10-01 20:48:22 +02:00
frju365
d2ef67fd62
Merge pull request #53 from frju365/master
Add libvirt-dev as dependance for vagrant plugin
2019-09-30 13:32:50 +02:00
frju365
bb88e63dd9
Add libvirt-dev as dependance for vagrant plugin 2019-09-30 10:28:51 +02:00
Alexandre Aubin
6dd1a3c7c7
pytest-sugar ftw 2019-09-13 14:37:46 +02:00
ljf (zamentur)
45be4c7b3d
[enh] Note about between libvirtd and lxc-net 2019-08-11 19:34:28 +02:00
Alexandre Aubin
be9dac2cf2
Merge pull request #50 from decentral1se/docsfix/iterate-on-expectations-and-paths
Developer environment README improvements
2019-05-28 18:32:16 +02:00
Luke Murphy
3f80c88316
Mention the Virtualbox branch 2019-05-22 22:07:02 +02:00
Alexandre Aubin
a3e372d5a7
More comments on the tradeoff LXC vs Virtualbox, and local vs remote 2019-05-22 22:07:01 +02:00
Luke Murphy
ab36afb151
Revise and clarify paths for development environment
Closes https://github.com/YunoHost/issues/issues/1353.
2019-05-22 22:07:01 +02:00
Luke Murphy
383aa5dcb5
Further typo fixes
Follows from afbb3356db.
2019-05-21 13:16:48 +02:00
frju365
8b30f9acf3
Merge pull request #49 from decentral1se/docsfix/point-to-default-page
Point to default language page.
2019-05-21 12:58:38 +02:00
Luke Murphy
ad84da85b2
Point to default language page.
Closes https://github.com/YunoHost/issues/issues/1352.
2019-05-21 12:53:36 +02:00
M5oul
a98a9fc86a
Merge pull request #48 from decentral1se/docsfix/typos-misc
Docs: small spelling fixes
2019-05-19 18:05:46 +02:00
Luke Murphy
afbb3356db
Some spelling fixes 2019-05-19 17:42:08 +02:00
Alexandre Aubin
1d8185103f Somehow, need to use --provision now when rebuilding the box 2019-05-09 17:14:47 +02:00
Alexandre Aubin
dfe49ea191 This prebuild.sh ain't used anymoar 2019-04-29 21:50:54 +02:00
Alexandre Aubin
10af5d7a20 Additional note about how to configure apparmor 2019-03-11 17:56:22 +01:00
Alexandre Aubin
9b7aa14f85 Clarify some stuff + add troubleshooting note about apparmor 2019-03-08 17:46:37 +01:00
Alexandre Aubin
c2b8f459dd Global check prevented to run ynh-dev inside the LXC ... factorized stuff to a single check_lxc_setup function 2019-03-07 15:11:27 +01:00
Alexandre Aubin
6aa1a557af Bad substitution... 2019-03-07 15:00:27 +01:00
frju365
d4b7eab8d2
It need sudo or root mode : either add sudo, either a #. 2019-03-07 12:57:13 +01:00
Alexandre Aubin
f2ecdabe89
Merge pull request #47 from YunoHost/check_lxc_version
[mod] refuse to run for old version of LXC
2019-02-28 22:56:39 +01:00
Laurent Peuch
29fe543d05 [mod] refuse to run for old version of LXC 2019-02-28 22:52:57 +01:00
Bram
57b4d29d08
[doc] you need to be in the directory to do that 2019-02-27 19:22:29 +01:00
Bram
ee6848dbbc
[doc] we don't use virtualbox anymore 2019-02-27 19:16:43 +01:00
Alexandre Aubin
8074e71d8a Small tweaks to improve the rebuild process 2019-02-18 16:58:41 +01:00
Alexandre Aubin
0a989d0c56 Add misc tips to configure LXC properly 2019-02-06 23:06:15 +01:00
Alexandre Aubin
db04eb9463 Add note about install on Debian Buster 2019-01-17 20:40:10 +01:00
ljf (zamentur)
09457ad9dd
Merge pull request #46 from alexAubin/select-tests
Be able to selects which tests to run
2018-12-15 17:26:42 +01:00
ljf (zamentur)
56b5fbcaed
Update ynh-dev 2018-12-15 17:24:38 +01:00
Alexandre Aubin
19e7fae061 Be able to test specific functions 2018-12-15 16:13:47 +00:00
Jimmy Monin
488ef0325b Use --no-bin-links option for npm install to prevent from using symbolic links 2018-12-15 16:04:38 +01:00
Alexandre Aubin
12dd30d36a
Merge branch 'master' into select-tests 2018-12-12 19:49:31 +01:00
Alexandre Aubin
7b0cd76b2e Be able to selects which tests to run 2018-12-12 18:23:55 +00:00
Alexandre Aubin
2ba5f5bb3f Check postinstall has been done before running tests 2018-12-10 03:27:34 +01:00
Alexandre Aubin
480231e2c2
Merge pull request #43 from alexAubin/pr
Rewrite ynh-dev
2018-11-04 21:34:00 +01:00
Alexandre Aubin
8047f21eef
Merge branch 'master' into pr 2018-11-02 02:29:54 +01:00
Bram
749ce3b60f
Merge pull request #45 from FurryJulie/readme_typo
[doc] fix a minor typo in the README
2018-10-28 20:11:26 +01:00