Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kitchen] initial confirmation with some service and socket tests #60

Open
wants to merge 5 commits into
base: buster-experimental
from

Conversation

@arthurlutz
Copy link

arthurlutz commented Nov 24, 2019

No description provided.

@arthurlutz

This comment has been minimized.

Copy link
Author

arthurlutz commented Nov 24, 2019

I'm not sure this is right repo to add this sort of testing. It might be more appropriate on https://github.com/yunohost/ynh-dev but then again if a CI is enabled on this, the install script is here...

```
kitchen login
```

This comment has been minimized.

Copy link
@arthurlutz

arthurlutz Nov 24, 2019

Author

Unfortunately for now you can't access the instance https://localhost:8443 - it gets redirected to https://localhost/yunohost/admin (there is probably a trick somewhere to fix this...)

- name: debian/buster64

suites:
- name: default

This comment has been minimized.

Copy link
@arthurlutz

arthurlutz Nov 24, 2019

Author

We could imagine replicating the ('stable', 'testing', 'unstable') targets here.

assert metronome.is_enabled

def test_metronome_sockets(host):
# FIXME TODO - no ipv6 ?

This comment has been minimized.

Copy link
@arthurlutz

arthurlutz Nov 24, 2019

Author

haven't found any ticket about this ? Is it a known issue that metronome only listens on ipv4 ?

@arthurlutz

This comment has been minimized.

Copy link
Author

arthurlutz commented Nov 24, 2019

Screenshot from 2019-11-24 23-34-49

tests are green on my machine... Which CI do you usually use ?

* install Vagrant https://www.vagrantup.com/
* install Kitchen https://kitchen.ci/
* install testinfra with paramiko https://testinfra.readthedocs.io/

This comment has been minimized.

Copy link
@arthurlutz

arthurlutz Nov 24, 2019

Author

For debian, after reading and installing

sudo apt install vagrant
sudo apt install python-pip virtualenvwrapper
mkvirtualenv testinfra
pip install testinfra paramiko
@alexAubin alexAubin force-pushed the YunoHost:buster-experimental branch from be8439b to eac4d0d Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.