Johannes Zellner
b718c8d044
Cleanup config before and after apps tests
2016-01-29 14:30:40 +01:00
girish@cloudron.io
b9d4b8f6e8
Remove docker images by tag
...
docker pull previously used to pull down all tags.
docker pull tag1 # might pull down tag2, tag3 if they are all same!
docker rm tag1 # oops, tag2 and tag3 still hold on to the image
However, the above feature was not possible with registry v2 (some
technical stuff to do with each tag being separately signed). As a result,
this feature was removed from v1 as well - https://github.com/docker/docker/pull/10571
This means we can now do:
docker pull tag1 # nice
docker rm tag1 # image goes away if no one else is using it
references:
https://github.com/docker/docker/issues/8689
https://github.com/docker/docker/pull/8193 (added this feature to v1)
https://github.com/docker/docker/issues/8141 (the request)
https://github.com/docker/docker/pull/10571 (removes the v1 feature)
Fixes #563
2016-01-21 15:53:51 -08:00
Johannes Zellner
5a8a023039
Fixup all the route tests with new password requirement
2016-01-20 16:06:51 +01:00
Johannes Zellner
77e5d3f4bb
Retry checking for app start state in test
2016-01-19 16:45:58 +01:00
Johannes Zellner
44e4f53827
Change user creation api to require the invite flag
2016-01-18 16:53:51 +01:00
Girish Ramakrishnan
a4ea693c3c
update superagent
...
the latest superchanged changed the meaning of 'error'. Previously,
error implied a network error. With the latest superagent, error means
a REST api error i.e 4xx, 5xx are flagged as errors.
error && !error.response means network error
2015-12-15 09:53:37 -08:00
Girish Ramakrishnan
9d91340223
add settings.setTlsConfig
2015-12-11 22:39:13 -08:00
Girish Ramakrishnan
6b30d65e05
add backupConfig in test
2015-11-09 21:08:23 -08:00
Girish Ramakrishnan
13d3f506b0
always add dns config in tests
2015-11-08 23:05:55 -08:00
Girish Ramakrishnan
a99e7c2783
disable logstream testing (since it requires journald)
2015-11-02 14:08:34 -08:00
Johannes Zellner
0b59281dbb
Remove leftover console.log()
2015-10-30 21:30:57 +01:00
Johannes Zellner
7798111af1
Ensure the test certs match domain and the folder is created
2015-10-28 16:33:45 +01:00
Johannes Zellner
21a604814c
Add tests for app cert upload
2015-10-28 12:13:37 +01:00
Johannes Zellner
a892de5c2d
Ensure cert and key are strings
2015-10-28 11:50:50 +01:00
Girish Ramakrishnan
80b9d4be50
awscredentials route is not called anymore
2015-10-27 10:24:42 -07:00
Girish Ramakrishnan
ef06836804
make apps-test partially work
2015-10-27 10:14:51 -07:00
Johannes Zellner
fa12e7bd97
Add cert and key to app configure route
2015-10-27 15:44:47 +01:00
Johannes Zellner
920f04aab3
Use test-app image 10.0.0
2015-10-27 14:20:19 +01:00
Girish Ramakrishnan
697699bd5f
test the new env vars APP_*
2015-10-23 16:27:40 -07:00
Girish Ramakrishnan
edc90ccc00
bump test image
2015-10-20 14:40:27 -07:00
Girish Ramakrishnan
3688602d16
test the scheduler
2015-10-20 14:30:50 -07:00
Girish Ramakrishnan
0deadc5cf2
autodetect image id
2015-10-20 13:07:25 -07:00
Girish Ramakrishnan
6671b211e0
export a connection property from docker.js
2015-10-19 11:24:21 -07:00
Girish Ramakrishnan
c7d5115a56
Remove vbox.js
...
... and all related mac code. It's totally untested at this point and
most likely doesn't work
2015-10-19 10:54:36 -07:00
Johannes Zellner
fa193276c9
Require exactly one user in accessRestriction for singleUser app installations
2015-10-16 20:01:45 +02:00
Johannes Zellner
b5cfdcf875
Fixup the unit tests for accessRestriction format change
2015-10-16 16:06:13 +02:00
Girish Ramakrishnan
9c157246b7
add type field to clients table
2015-10-15 17:35:47 -07:00
Girish Ramakrishnan
a3ca5a36e8
update test image
2015-10-15 11:11:54 -07:00
Johannes Zellner
0aedff4fec
roleAdmin is gone
2015-10-15 12:37:42 +02:00
Johannes Zellner
ca461057e7
Also update the test image id
2015-10-13 14:24:53 +02:00
Johannes Zellner
b1c5c2468a
Fix test to support docker api up to 1.19 and v1.20
2015-10-13 14:24:41 +02:00
Johannes Zellner
0eec693a85
Update TEST_IMAGE_TAG
2015-10-13 12:30:02 +02:00
Johannes Zellner
44291b842a
Fix apps-test.js
2015-10-13 10:41:57 +02:00
Girish Ramakrishnan
5e1487d12a
appId format has changed in clientdb
2015-10-11 14:16:38 -07:00
Girish Ramakrishnan
39e0c13701
apptest: remove mail addon
2015-10-11 13:53:50 -07:00
Girish Ramakrishnan
b3c40e1ba7
test image is now 5.0.0
2015-10-11 10:03:42 -07:00
Girish Ramakrishnan
43e1e4829f
new test image 3.0.0
2015-10-08 16:07:14 -07:00
Girish Ramakrishnan
b1ca577be7
use newer test image that dies immediately on stop/term
2015-09-29 14:33:07 -07:00
Girish Ramakrishnan
9b484f5ac9
new version of mysql prints error with -p
2015-09-29 14:13:58 -07:00
Girish Ramakrishnan
b6a9fd81da
refactor our test docker image details
2015-09-29 13:59:17 -07:00
Girish Ramakrishnan
f19113f88e
rename test iamge under cloudron/
2015-09-29 12:52:54 -07:00
Girish Ramakrishnan
c88591489d
make apps test work
2015-09-09 15:51:56 -07:00
Girish Ramakrishnan
7e83f2dd4a
intercept delete calls to test image
2015-09-09 11:32:09 -07:00
Girish Ramakrishnan
ed48f84355
give taskmanager couple of seconds to kill all processes
2015-09-09 10:39:38 -07:00
Girish Ramakrishnan
f3d15cd4a5
fix initialization of apps-test
2015-09-09 10:22:17 -07:00
Girish Ramakrishnan
8c270269db
remove dead code
2015-09-09 09:28:06 -07:00
Girish Ramakrishnan
f6df4cab67
Remove ADMIN_ORIGIN
2015-08-05 17:27:55 -07:00
Johannes Zellner
58cf712e71
Fix apps-test to use settings developerMode
2015-07-23 12:59:47 +02:00
Girish Ramakrishnan
df9d321ac3
app.portBindings and newManifest.tcpPorts may be null
2015-07-20 00:10:36 -07:00