18 Commits

Author SHA1 Message Date
5c8142fa04 Update prerequisite for running playbook 2024-08-18 22:35:57 +00:00
f806a44369 i-27: Fixes failing molecule scenario (#28)
1. Generate and inject random ssh admin password prior to running the tests.
2. Add having a ssh client and `sshpass` installed on the local machine as a prerequisite in `README.md`.

Co-authored-by: emil <emil@theliberatededge.org>
Reviewed-on: #28
2024-08-18 22:28:04 +00:00
51585e8db4 i-25: Fix dependency issues (#26)
1. A development dependency in `Pipfile` named `install` had to be removed.
2. `yamllint` had to be added as a development dependency in `Pipfile`.
3. The required Python version for Pipenv has been bumped to 3.12.

Co-authored-by: emil <emil@theliberatededge.org>
Reviewed-on: #26
2024-08-18 21:19:36 +00:00
dff665ba36 i-8 Implements image creation and publishing in playbook (#22)
# Issue

This PR implements the-liberated-edge/test_linux_containers#8

# Acceptance criteria

- [x] The existing playbook has been amended, so that it creates and publishes container images to an incus server running locally.
- [x] Container image name has been parameterised and provided as an Ansible variable.

Co-authored-by: Emil <emil@theliberatededge.org>
Reviewed-on: #22
2024-03-07 01:41:39 +00:00
511ecc510b i-20 Fixes the default Ansible Molecule scenario (#21)
# Issue

This PR fixes the-liberated-edge/test_linux_containers#20.

Reviewed-on: #21
2024-03-06 00:12:44 +00:00
de8b33b1b0 i-18 Fix linting errors (#19)
# Context

This PR implements the-liberated-edge/test_linux_containers#18.

# Acceptance criteria

- [x] All linting errors (including the ones above) have been fixed.
- [x] No linting errors after the YAML code has been formatted.

Reviewed-on: #19
2024-03-05 00:30:52 +00:00
48ac6c0651 Automate the execution of all molecule scenarios (#17)
# Context

This PR implements the following [issue](#12).

# Acceptance criteria

- [ ] A Task task for running all Ansible Molecule scenarios has been introduced.
- [ ] A Task task for running selected Ansible Molecule scenarios has been introduced.
- [ ] `README.md` has been updated to provide correct guidance on executing Ansible Molecule scenarios.

Co-authored-by: emo <esimeonov@gmail.com>
Reviewed-on: #17
2024-03-04 23:59:02 +00:00
7d6f05e201 i-15 Automate project initialisation (#16)
# Context

This PR implements the following [issue](#15).

# Acceptance criteria

- [x] A task for project initialisation that eventually switches to a newly created Python virtual environment has been introduced.
- [x] `README.md` has been updated to reflect the changes.

Co-authored-by: emo <esimeonov@gmail.com>
Reviewed-on: #16
2024-03-04 22:36:51 +00:00
9dec516467 i-3 Introduce a new task to automate linting from command line (#14)
Co-authored-by: emo <esimeonov@gmail.com>
Reviewed-on: #14
2024-03-02 01:37:00 +00:00
cb0bdd5670 i-11 Added task for formating the yaml code base (#13)
# Context

This PR implements the following [issue](#11).

# Acceptance criteria
- [x] A build automation rule for formatting YAML code via `yamlfix` has been introduced.
- [x] `README.md` has been updated with the correct command for formatting code.

Co-authored-by: emo <esimeonov@gmail.com>
Reviewed-on: #13
2024-03-02 01:05:50 +00:00
28848d4e76 Merge pull request 'i-9 Removed branch from installation instructions' (#10) from i-9-document-correct-installation into main
Reviewed-on: #10
2024-03-02 00:13:22 +00:00
emo
72045125ab Removed branch from installation instructions 2024-03-02 01:11:32 +01:00
6cd54972d2 i-6 Migration from LXD to incus
Reviewed-on: #7
2024-01-19 00:39:31 +01:00
emo
74f955cc3d Migrate code base from lxd to incus 2024-01-19 00:27:49 +01:00
emo
07bbef3c81 replace lxd with incus in README.md 2024-01-18 23:35:21 +01:00
emo
0fb9c88890 i-1 Introduces an Ansible playbook for linux-container with SSH access
# Issue

This PR implements the following [issue](the-liberated-edge/test-linux-containers#1).

# Acceptance criteria

- [x] A playbook for launching LXD Debian container with parameterized container name and OS version has been implemented.
- [x] The newly launched Linux containers can be connected to and administered via SSH.
- [x] The playbook has been part of an Ansible collection named theliberatededge.test_linux_containers.
- [x] Setup and getting started technical documentation has been added to README.md.

Co-authored-by: emo <esimeonov@gmail.com>
Reviewed-on: #2
2024-01-07 00:48:19 +00:00
emo
d55df8a7d0 Update README.md 2023-11-21 22:23:25 +00:00
emo
024a79f0c5 Initial commit 2023-11-21 22:19:13 +00:00