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

cli: test and publish Debian package #452

Closed
FedericoCeratto opened this issue Sep 25, 2020 · 6 comments
Closed

cli: test and publish Debian package #452

FedericoCeratto opened this issue Sep 25, 2020 · 6 comments

Comments

@FedericoCeratto
Copy link
Contributor

FedericoCeratto commented Sep 25, 2020

Upload a package in Debian contrib/non-free that:

  • ask users for permission
  • pull and install the probe
  • check signatures!
  • run weekly checks and install updates automatically. (Stagger checks to do rolling deployments)
  • support some EOL flag to disable unsupported hosts permanently?

When asking for updates, send basic info about the host so we can deploy updates only where supported.

Reuse the same update protocol for other OSes?

@FedericoCeratto
Copy link
Contributor Author

ooni/probe-cli#117

@bassosimone bassosimone added the interrupt Task not planned during planning label Nov 13, 2020
@bassosimone
Copy link
Member

Making good progress. We've just merged ooni/probe-cli#117, which creates the package and publishes it on bintray. Now I am going to add this new package to the e2etesting suite such that it runs every day.

bassosimone added a commit to ooni/probe-cli that referenced this issue Nov 13, 2020
bassosimone added a commit to ooni/probe-cli that referenced this issue Nov 13, 2020
bassosimone added a commit to ooni/e2etesting that referenced this issue Nov 13, 2020
While there relax the testing policy and test three times per
day, which is enough given we've flipped the API now.

This counts as progress for ooni/backend#452

Future commits will further improve the tests we're running here.
bassosimone added a commit to ooni/e2etesting that referenced this issue Nov 13, 2020
* feat: add e2etest for debian package

While there relax the testing policy and test three times per
day, which is enough given we've flipped the API now.

This counts as progress for ooni/backend#452

Future commits will further improve the tests we're running here.

* fix: remember to onboard

* fix: install the right package name

* fix: use correct run command
@bassosimone
Copy link
Member

With ooni/e2etesting#27 merged, we periodically ensure the debian package is WAI.

@bassosimone
Copy link
Member

bassosimone commented Nov 20, 2020

We've made good progress with @FedericoCeratto in Sprint 26. There is more work to do in Sprint 27.

@bassosimone bassosimone removed the interrupt Task not planned during planning label Nov 23, 2020
@bassosimone bassosimone changed the title Create probe installer/updater for Debian cli: test and publish Debian package Dec 7, 2020
@bassosimone
Copy link
Member

We have further improved the package with @FedericoCeratto here: ooni/probe-cli#162. We now have a package that can be installed and can in the background. The package is triggered by a timer that fires off daily. The user needs to accept data collection while the package is being installed, otherwise there's not running in background.

@bassosimone
Copy link
Member

I suppose we can call this done! 🎉🎉🎉

ainghazal pushed a commit to ainghazal/probe-cli that referenced this issue Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants