diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2023-11-29 14:17:18 +0100 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2023-12-14 10:29:03 +0100 |
| commit | c3d64a9fbd4c8280a5cc822d68b671c8205f9511 (patch) | |
| tree | 7190fcce52b442b5d49f4ed6a752a6c7fec81da7 | |
| parent | 6aa8629b4318b6cb86837f64d23d9119427ad449 (diff) | |
| download | mullvadvpn-c3d64a9fbd4c8280a5cc822d68b671c8205f9511.tar.xz mullvadvpn-c3d64a9fbd4c8280a5cc822d68b671c8205f9511.zip | |
Add documentation on how to add new VM images to Github actions
| -rw-r--r-- | test/docs/GITHUB_ACTIONS.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/docs/GITHUB_ACTIONS.md b/test/docs/GITHUB_ACTIONS.md new file mode 100644 index 0000000000..86c052a208 --- /dev/null +++ b/test/docs/GITHUB_ACTIONS.md @@ -0,0 +1,14 @@ +# `test-manager` in Github Actions + +There exists a Workflow for running `test-manager` on a selection of different +platforms. The Workflow file can be found +[here](https://github.com/mullvad/mullvadvpn-app/blob/main/.github/workflows/desktop-e2e.yml). + +## Adding a new platform + +Basically everything related to adding a new virtual machine (VM) to the Workflow is a manual process, but it is fairly straightforward. Most steps (1-3) are performed outside of git, on both your local machine (1) as well as the GitHub runner (2-3). The last step (4) warrants a pull request, as it will make change(s) to the Workflow file. + +1. Create a new VM based on [these instructions](./BUILD_OS_IMAGE.md) +2. Upload the newly-assembled VM to the GitHub Actions runner +3. Add an entry for the VM in the [test-manager config file](../test-manager/docs/config.md) on the GitHub runner +4. Update [this Workflow](https://github.com/mullvad/mullvadvpn-app/blob/main/.github/workflows/desktop-e2e.yml) in the [Mullvad App repository](https://github.com/mullvad/mullvadvpn-app/). This will enable GitHub Actions to trigger the `test-manager` with the new VM! |
