Skip to content
tunnsy
Menu

Use casesAutomatic tests

Tests inside, database closed.

Each time the service that tests your code runs, it joins your network as a temporary device. When the job ends, that device is removed on its own. A rule lets it reach only the test server. You don't have to open your database to the internet.

No database open to the internet. No changing addresses to list. No lasting key left behind.

The old way and tunnsy

Until now

  • Opening the database to the internet
  • Adding the test service's ever-changing addresses to an allow list
  • Or running your own test machine and maintaining it
  • Handing out broad, lasting access

With tunnsy

  1. 01Creating a reusable key with a time limit
  2. 02Adding one step to your test setup
  3. 03Rule: tests reach only the test server

01 /Key

Add the key to your test service

On the Keys page, just create a reusable and ephemeral key and give it a label. Once you add the key to your test service's secret settings, the wizard hands you the step to add.

  • Each test run joins as its own temporary device.
  • When the job ends, the device is removed within 30 minutes.
  • You choose how long the key is valid, from 1 to 90 days.
The wizard's key step: a ready-made step for the test service.

02 /Rule

Limit tests to that server

The wizard shows the rule that lets labelled devices reach only the test server, and adds it once you approve. If you like, you can open just the database on that server. The tests can't see anything else on your network.

  • A rule only adds permission.
  • Every addition shows in the log.
  • Only administrators can give labels.
The wizard's rule step: labelled devices reach only the test server.
The wizard's key step: a ready-made step for the test service.
The wizard's rule step: labelled devices reach only the test server.

Frequently asked questions

Which test services does it work with?

Any that run on Linux: GitHub Actions, GitLab, Jenkins, CircleCI. The steps are the same for all of them. It just needs to install tunnsy and join with the key.

What if someone gets hold of the key?

A device that joins with it can only reach what your rule allows. You can cancel the key from the panel right away, and its lifetime is limited anyway.

Do temporary devices pile up in the panel?

No. A temporary device that stays disconnected for 30 minutes is removed from your network on its own.

Stop opening your test server to the internet

Open a free account and the panel greets you with the first step of this example.