Commit graph

45 commits

Author SHA1 Message Date
Xan Manning
8410d2c402
WIP(molecule): snapshotter defaulted 2022-09-04 14:31:17 +01:00
Xan Manning
a6b209abdb
fix(molecule): skip post checks for now 2022-09-02 18:59:19 +01:00
Xan Manning
25a17b8511
fix(linting): ensure tests pass 2022-09-01 20:39:17 +01:00
Xan Manning
910b611058 WIP(alpine): trying to find a container image that supports openrc 2022-06-15 15:14:59 +01:00
Xan Manning
f3640e5c9f WIP(molecule): default image no longer prebuilt to support alpine 2022-06-15 15:14:59 +01:00
Xan Manning
1eaeba67b5 feat(validate): package check for iptables on debian 2021-12-19 21:41:59 +00:00
Xan Manning
80f591cba4 fix(molecule): fix rockylinux test, add debian11 fix snapshotter 2021-12-18 23:04:24 +00:00
Xan Manning
f220fce08f Version-compare test 2021-05-13 17:43:29 +01:00
Xan Manning
f4fcd2897d Update test sequence for check mode, fixed check mode on cgroup test 2021-04-18 20:39:06 +01:00
Xan Manning
7e4a16e167 Pre-documentation work
- Restructured when and asserts
  - Standardise molecule call, add systemd config
2021-02-16 16:53:49 +00:00
Xan Manning
1d40c4d2c9 Migration from Travis-CI to GitHub Actions 2020-12-12 16:21:17 +00:00
Xan Manning
34e2af3d47 Set embedded Etcd as stable, deprecate docker 2020-12-12 14:27:59 +00:00
Xan Manning
4afc2c8a5a Fixed data-dir configuration and draining of nodes. Added documentation. 2020-12-05 21:56:28 +00:00
Xan Manning
976fe8c0ca Resolve merge conflict 2020-11-29 20:31:22 +00:00
Xan Manning
ebf32dbd99 v2 pre-release 2020-11-29 20:10:42 +00:00
Xan Manning
a2075a7a76 Fix travis, removed wireguard due to external dependency issue 2020-11-11 20:49:26 +00:00
Xan Manning
35b037c7ee Pre-FQCN breakage 2020-10-23 16:31:21 +01:00
Xan Manning
3d2b74c816 Slight tidy up of playbooks in default molecule test 2020-10-22 19:30:40 +01:00
Xan Manning
57b9a2a0be Moved to file based config, pre-FQCN, pre-update to documentation 2020-10-22 19:26:15 +01:00
Xan Manning
45a41f895b Restructure for validation checks 2020-10-17 18:27:52 +01:00
Xan Manning
c63d984301 Refactoring tests for Molecule v3. 2020-10-17 16:31:04 +01:00
Xan Manning
57f9631265 Converting molecule tests to v3 2020-09-26 15:51:41 +01:00
Xan Manning
c743df868b Fixing ansible-linting, exclude name check for Travis-CI
This release also fixes:

  - #38 : removing the --disable-agent option. Please use node taints.
  - #39 : clarified where jmespath should be installed in README.md
2020-09-15 18:20:23 +01:00
Xan Manning
809e9cd73c Releasable feature for hardlinks 2020-07-25 14:03:53 +01:00
Xan Manning
aa1a0a9620 Added option to provision multiple standalone k3s
Fixes #21
2020-05-16 20:18:20 +01:00
Xan Manning
f709caf371 Skip final checks when no-flannel option is used.
Fixes #16

This is because without a CNI, nodes will never be ready and the task
will fail. You need to deploy your choice of CNI manually (such as
Calico) then check the state of the cluster using `kubectl get nodes`.
2020-03-07 14:23:09 +00:00
Xan Manning
12d01c2a60 Added tests and variable validation 2020-02-27 18:46:59 +00:00
Xan Manning
75fd17aac8 Slightly updated tasks and added validation checks
1. Now does not remove prerequisite packages, lvm2 was included in
these packages (not good when you use LVM2 for real).
  2. Added a bit more idempotency to the shell scripts - only delete if
it exists.
  3. Check that the process isn't running and binaries are gone.
2020-02-26 20:56:05 +00:00
Devin Buhl
c4547306ce
add option to specify local storage path (#10) 2020-02-25 08:48:09 +00:00
Xan Manning
31debb2f5d Fix Travis-CI build 2020-02-22 14:33:12 +00:00
Xan Manning
3ef36b841f
Merge branch 'multi_master_support' into feature/add_manifests 2020-01-13 19:09:45 +00:00
Xan Manning
7e7cf2b97d Moved HA testing to a new scenario 2020-01-12 12:50:03 +00:00
nolte
5331e22425 fix path, missing prefix 2020-01-11 23:51:52 +01:00
Xan Manning
09fc37e6ec Fixed provisioning of multi-master, need to test LB with k3s_control_node_address 2020-01-11 22:42:29 +00:00
Xan Manning
c3ae2b79eb Added database container and proved connectivity. Logic needs to be changed for HA. 2020-01-11 19:20:52 +00:00
nolte
2d0dc8db69
Update molecule/default/templates/00-ns-monitoring.yml.j2
Co-Authored-By: Xan Manning <xan.manning@gmail.com>
2020-01-11 20:04:26 +01:00
nolte
1dd9297de4 change template path for molecule test 2020-01-11 19:39:11 +01:00
nolte
2aedce0359 add first draft for running molecule test with auto manifests deployments 2020-01-11 18:03:47 +01:00
Xan Manning
da427f1518 Added new state "downloaded" - improved getting latest version 2019-12-28 15:50:17 +00:00
Xan Manning
f2a3f75f08 Added some validation steps, fixed issue with checksum, introducing rootless
as an option, however this is experimental in both K3s and this role.
2019-12-22 18:54:25 +00:00
Xan Manning
717de81c7f Build-operate workflow trial - allow for stop-starting cluster. 2019-12-20 19:41:20 +00:00
Xan Manning
ec61e0b4ce Improved Docker support for SUSE/openSUSE. Notes about control host requirements 2019-12-09 13:53:42 +00:00
Xan Manning
26a3b2eef0 Added extra no-deploy options for v1.0.0 2019-12-04 19:10:05 +00:00
Xan Manning
5e39160ed9 Added a number of extra options to configure K3s in systemd unit file.
Testing:
  - Added docker networking, ensure that test output is verbose.
  - Fix build for AmazonLinux 2
  - No-deploy flag test added
2019-11-02 22:19:33 +00:00
Xan Manning
efc703541c Updated for 0.10.0, adding molecule testing with Travis-CI 2019-10-26 22:23:17 +01:00