Commit graph

105 commits

Author SHA1 Message Date
Kay0u
d73a9d74ed
add names again 2020-03-28 23:11:07 +01:00
Kay0u
572b65a946
Redirect stdout and stderr 2020-03-10 12:09:54 +01:00
Alexandre Aubin
eb02841546 Build sometimes failing because things go too fast and the network stack isnt started yet, so adding a small delay as a quick and dirty fix 2020-02-20 20:02:50 +01:00
Alexandre Aubin
33d984b6f6 Late night copypasta 2020-02-08 17:38:38 +01:00
Alexandre Aubin
913003acb3 Add support for buster dev LXCs 2020-02-08 03:29:51 +01:00
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
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
6a0a7d1990 Use an absolute path for lxc to avoid weird PATH issues 2019-10-08 22:36:53 +02:00
Alexandre Aubin
0ab8729d70 Vagrant is madness, LXD is much easy to setup and use 2019-10-01 20:48:22 +02:00
Alexandre Aubin
6dd1a3c7c7
pytest-sugar ftw 2019-09-13 14:37:46 +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
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
Laurent Peuch
29fe543d05 [mod] refuse to run for old version of LXC 2019-02-28 22:52:57 +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
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
98d5a272a4 More reliable / simple way to list IPs 2018-09-04 02:31:28 +02:00
Alexandre Aubin
55068ff9a3 Zblerg⁴ 2018-09-04 02:28:20 +02:00
Alexandre Aubin
bb4224b8fb Rework README, integrate notes about LXC from ljf 2018-09-04 02:25:26 +02:00
Alexandre Aubin
acbf79377d Add optional name to interact with custom boxes 2018-09-04 01:17:41 +02:00
Alexandre Aubin
99cba1e489 Zblerg³ 2018-09-04 00:15:58 +02:00
Alexandre Aubin
7bff693e85 Zblerg 2018-09-03 23:01:08 +02:00
ljf
9b2dde7dd4 [enh] Add vagrant-lxc support 2018-08-10 00:45:37 +02:00
Laurent Peuch
64bff8280a [fix] support stretch for npm/gulp 2018-06-23 09:17:38 +02:00
ljf (zamentur)
ebc5ca6d1c
[fix] locales moulinette go into locale folder 2018-06-11 12:23:50 +02:00
M5oul
4e11066e40 [fix] use global symlink for 'moulinette'. (#37)
* [fix] use global symlink for 'moulinette'.

* Remove outdated message because of previous changes
2018-03-16 16:01:06 +01:00
Rafi59
9b4408505f [fix] Remove stable and testing because images do not exist anymore (#39)
* [fix] Remove stable and testing because the images do not exist anymore

*  [fix] Remove stable and testing because images do not exist anymore
2018-03-16 15:58:59 +01:00
Alexandre Aubin
1ce02a074f
Remove old warning about previous behavior (#38) 2018-02-09 01:40:08 +01:00
Pierre de La Morinerie
4d7e3182ff macOS/BSD: fix IP retrieval
`\s` for matching spaces is a GNU-sed extension.

The portable way is to use `[[:space]]` instead.
2017-10-16 11:45:01 +05:30
Pierre de La Morinerie
25c24071bc macOS/BSD: fix Vagrantfile in-place editing
* Unlike GNU-sed, BSD-sed `-i` option requires an explicit backup
  extension.
* Newlines are difficult to get right on different versions of `sed`.

This commit replaces the `sed` invocation with `perl`. It does the same
job with almost the same syntax, but avoids portability issues.
2017-10-16 11:44:53 +05:30
Alexandre Aubin
40b22fb02d Add unstable stretch box (#31) 2017-09-30 12:58:53 +02:00
M5oul
896e6a1e5c [enh] use 'root' user after ssh authentication. (#35) 2017-09-27 12:11:51 +02:00
ariasuni
0f9812d66d Error message instead of putting an invalid name in Vagrantfile (#33)
* Error message instead of putting an invalid name in Vagrantfile
* Suggested command doesn't work (#32)
2017-08-26 19:32:40 +02:00
e-lie
4750098185 Suggested command doesn't work (#32) 2017-08-26 18:34:55 +02:00
ljf (zamentur)
1cde7fabe7 [fix] Missing dependency: mock (#29) 2017-08-08 17:46:03 +02:00
Laurent Peuch
eb9b335a33 [mod] new files in moulinette 2017-08-05 12:13:21 +02:00
Laurent Peuch
51411b8d0a [fix] typo 2017-08-05 12:10:14 +02:00
Alexandre Aubin
28889a2532 [microdecision] Using IP starting at .2 instead of .1 to avoid inaccessible webadmin 2017-07-03 17:33:09 +02:00