Vlad Korolev
9a7b021eb8
Do not use ‘yes/no’ for boolean values ( #11472 )
...
Consistent boolean values in ansible playbooks
2024-08-28 06:30:56 +01:00
dependabot[bot]
1798989f99
Bump molecule from 24.7.0 to 24.8.0 ( #11460 )
...
Bumps [molecule](https://github.com/ansible-community/molecule ) from 24.7.0 to 24.8.0.
- [Release notes](https://github.com/ansible-community/molecule/releases )
- [Commits](https://github.com/ansible-community/molecule/compare/v24.7.0...v24.8.0 )
---
updated-dependencies:
- dependency-name: molecule
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 14:32:56 +01:00
dependabot[bot]
171b0e60aa
Bump tox from 4.17.1 to 4.18.0 ( #11461 )
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.17.1 to 4.18.0.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.17.1...4.18.0 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 02:35:44 -07:00
dependabot[bot]
ce9ba9a8bf
Bump tox from 4.16.0 to 4.17.1 ( #11442 )
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.16.0 to 4.17.1.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.16.0...4.17.1 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-14 04:19:37 -07:00
Bas
dd51ef6f96
Bugfix/code inspection. ( #11384 )
...
- Make ansible-galaxy collection dependencies explicit
- Reorganized requirements.yml
- Adding required collections to galaxy.yml
- Ansible 9.6.0 was yanked on Pypi
- Sync pre-commit requirements with requirements.txt
Signed-off-by: Bas Meijer <bas.meijer@enexis.nl>
2024-08-02 03:43:54 -07:00
dependabot[bot]
8022eddb55
Bump ansible-lint from 24.6.1 to 24.7.0 ( #11380 )
...
Bumps [ansible-lint](https://github.com/ansible/ansible-lint ) from 24.6.1 to 24.7.0.
- [Release notes](https://github.com/ansible/ansible-lint/releases )
- [Commits](https://github.com/ansible/ansible-lint/compare/v24.6.1...v24.7.0 )
---
updated-dependencies:
- dependency-name: ansible-lint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-25 19:06:07 -07:00
Bas
8f5f75211f
Improving yamllint configuration ( #11389 )
...
Signed-off-by: Bas Meijer <bas.meijer@enexis.nl>
2024-07-25 18:42:20 -07:00
dependabot[bot]
d993b2b8cf
Bump molecule from 24.2.1 to 24.7.0 ( #11373 )
...
Bumps [molecule](https://github.com/ansible-community/molecule ) from 24.2.1 to 24.7.0.
- [Release notes](https://github.com/ansible-community/molecule/releases )
- [Commits](https://github.com/ansible-community/molecule/compare/v24.2.1...v24.7.0 )
---
updated-dependencies:
- dependency-name: molecule
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-13 01:53:08 -07:00
dependabot[bot]
c89f901595
Bump tox from 4.15.0 to 4.16.0 ( #11363 )
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.15.0 to 4.16.0.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.15.0...4.16.0 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-11 05:25:24 -07:00
ChengHao Yang
474b259cf8
CI: Remove Debian 10 support & macvlan test move to Debian 12 ( #11347 )
...
* CI: macvlan test switch to debian 11 & default job
Signed-off-by: tico88612 <17496418+tico88612@users.noreply.github.com>
* CI: cilium-svc-proxy test switch to debian 12
Signed-off-by: tico88612 <17496418+tico88612@users.noreply.github.com>
* CI: remove debian 10 test
Signed-off-by: tico88612 <17496418+tico88612@users.noreply.github.com>
* Docs: remove debian 10 support
Signed-off-by: tico88612 <17496418+tico88612@users.noreply.github.com>
---------
Signed-off-by: tico88612 <17496418+tico88612@users.noreply.github.com>
2024-07-03 09:13:59 -07:00
dependabot[bot]
0be525c76f
Bump ansible-lint from 24.5.0 to 24.6.1 ( #11320 )
...
Bumps [ansible-lint](https://github.com/ansible/ansible-lint ) from 24.5.0 to 24.6.1.
- [Release notes](https://github.com/ansible/ansible-lint/releases )
- [Commits](https://github.com/ansible/ansible-lint/compare/v24.5.0...v24.6.1 )
---
updated-dependencies:
- dependency-name: ansible-lint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-02 07:09:59 -07:00
Antoine Legrand
a0587e0b8e
CI: rework pipeline: short/extended based on labels ( #11324 )
...
* CI: reduce VM resources requests to improve scheduling
* CI: Reduce default jobs; add labels(ci-full/extended) to run more test
* CI: use jobs dependencies instead of stages
* precommit one-job
* CI: Use Kubevirt VM to run Molecule and Vagrant jobs
2024-07-01 03:25:36 -07:00
dependabot[bot]
eff4eec8de
Bump pytest-testinfra from 10.1.0 to 10.1.1
...
Bumps [pytest-testinfra](https://github.com/pytest-dev/pytest-testinfra ) from 10.1.0 to 10.1.1.
- [Release notes](https://github.com/pytest-dev/pytest-testinfra/releases )
- [Changelog](https://github.com/pytest-dev/pytest-testinfra/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-testinfra/compare/10.1.0...10.1.1 )
---
updated-dependencies:
- dependency-name: pytest-testinfra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-30 02:38:40 +00:00
Max Gautier
19851bb07c
collection-build-install convert to pre-commit
2024-05-28 13:26:46 +02:00
Max Gautier
7f7b65d388
Convert check_typo to pre-commit + use maintained version
...
client9/misspell is unmaintained, and has been forked by the golangci
team, see https://github.com/client9/misspell/issues/197#issuecomment-1596318684 .
They haven't yet added a pre-commit config, so use my fork with the
pre-commit hook config until the pull request is merged.
2024-05-28 13:26:45 +02:00
Max Gautier
d50f61eae5
pre-commit: apply autofixes hooks and fix the rest manually
...
- markdownlint (manual fix)
- end-of-file-fixer
- requirements-txt-fixer
- trailing-whitespace
2024-05-28 13:26:44 +02:00
Max Gautier
77bfb53455
Fix ci-matrix pre-commit hook
...
- Remove dependency of pydblite which fails to setup on recent pythons
- Discard shell script and put everything into pre-commit
2024-05-28 13:26:44 +02:00
dependabot[bot]
e54e7c0e1d
Bump ansible-lint from 24.2.3 to 24.5.0
...
Bumps [ansible-lint](https://github.com/ansible/ansible-lint ) from 24.2.3 to 24.5.0.
- [Release notes](https://github.com/ansible/ansible-lint/releases )
- [Commits](https://github.com/ansible/ansible-lint/compare/v24.2.3...v24.5.0 )
---
updated-dependencies:
- dependency-name: ansible-lint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 03:23:19 +00:00
tico88612
f85111f6d4
CI: add ubuntu 24.04 support ( #11132 )
...
Signed-off-by: tico88612 <17496418+tico88612@users.noreply.github.com>
2024-05-18 00:35:20 -07:00
Payback159
5d01dfa179
add auto generate documentation sidebar script, introduce script as pre-commit-hook, adapt existing scripts to work with documentation structure
2024-05-17 15:09:54 +02:00
dependabot[bot]
f47ad82991
Bump ara[server] from 1.7.0 to 1.7.1 ( #11178 )
...
Bumps [ara[server]](https://github.com/ansible-community/ara ) from 1.7.0 to 1.7.1.
- [Commits](https://github.com/ansible-community/ara/compare/1.7.0...1.7.1 )
---
updated-dependencies:
- dependency-name: ara[server]
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-15 05:43:19 -07:00
Max Gautier
0b2533143f
Don't force python interpreter on ubuntu ( #11183 )
...
This allows local override in tasks for using virtualenvs.
2024-05-13 19:51:11 -07:00
dependabot[bot]
a8f58c244b
Bump yamllint from 1.32.0 to 1.35.1 ( #11177 )
...
Bumps [yamllint](https://github.com/adrienverge/yamllint ) from 1.32.0 to 1.35.1.
- [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/adrienverge/yamllint/compare/v1.32.0...v1.35.1 )
---
updated-dependencies:
- dependency-name: yamllint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 08:58:49 -07:00
dependabot[bot]
8a1ee990a2
Bump molecule from 6.0.2 to 24.2.1 ( #11150 )
...
Bumps [molecule](https://github.com/ansible-community/molecule ) from 6.0.2 to 24.2.1.
- [Release notes](https://github.com/ansible-community/molecule/releases )
- [Commits](https://github.com/ansible-community/molecule/compare/v6.0.2...v24.2.1 )
---
updated-dependencies:
- dependency-name: molecule
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 03:24:51 -07:00
dependabot[bot]
523d016767
Bump pytest-testinfra from 9.0.0 to 10.1.0 ( #11149 )
...
Bumps [pytest-testinfra](https://github.com/pytest-dev/pytest-testinfra ) from 9.0.0 to 10.1.0.
- [Release notes](https://github.com/pytest-dev/pytest-testinfra/releases )
- [Changelog](https://github.com/pytest-dev/pytest-testinfra/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-testinfra/compare/9.0.0...10.1.0 )
---
updated-dependencies:
- dependency-name: pytest-testinfra
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 03:24:42 -07:00
Max Gautier
d321e42d9e
CI: Factorize ansible-playbook flags ( #11173 )
...
We have inconsistent sets of options passed to the playbooks during our
CI runs.
Don't run ansible-playbook directly, instead factorize the execution in
a bash function using all the common flags.
Also remove various ENABLE_* variables and instead directly test for the
relevant conditions at execution time, as this makes it more obvious and
does not force one to go back and forth in the script.
2024-05-13 03:20:48 -07:00
dependabot[bot]
edc33888a3
Bump ansible-lint from 6.22.2 to 24.2.3 ( #11151 )
...
Bumps [ansible-lint](https://github.com/ansible/ansible-lint ) from 6.22.2 to 24.2.3.
- [Release notes](https://github.com/ansible/ansible-lint/releases )
- [Commits](https://github.com/ansible/ansible-lint/compare/v6.22.2...v24.2.3 )
---
updated-dependencies:
- dependency-name: ansible-lint
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 02:15:31 -07:00
dependabot[bot]
cf0de0904c
Bump tzdata from 2023.3 to 2024.1 ( #11121 )
...
Bumps [tzdata](https://github.com/python/tzdata ) from 2023.3 to 2024.1.
- [Release notes](https://github.com/python/tzdata/releases )
- [Changelog](https://github.com/python/tzdata/blob/master/NEWS.md )
- [Commits](https://github.com/python/tzdata/compare/2023.3...2024.1 )
---
updated-dependencies:
- dependency-name: tzdata
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 02:16:26 -07:00
dependabot[bot]
d772350b04
Bump molecule-plugins[vagrant] from 23.5.0 to 23.5.3 ( #11120 )
...
Bumps [molecule-plugins[vagrant]](https://github.com/ansible-community/molecule-plugins ) from 23.5.0 to 23.5.3.
- [Release notes](https://github.com/ansible-community/molecule-plugins/releases )
- [Commits](https://github.com/ansible-community/molecule-plugins/compare/v23.5.0...v23.5.3 )
---
updated-dependencies:
- dependency-name: molecule-plugins[vagrant]
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 01:07:08 -07:00
dependabot[bot]
ff4e572e0c
Bump tox from 4.11.3 to 4.15.0 ( #11133 )
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.11.3 to 4.15.0.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.11.3...4.15.0 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 00:20:33 -07:00
Nicolas Goudry
c6fcbf6ee0
Remove access to cluster from anonymous users ( #11016 )
...
* feat: add user facing variable with default
* feat: remove rolebinding to anonymous users after init and upgrade
* feat: use file discovery for secondary control plane nodes
* feat: use file discovery for nodes
* fix: do not fail if rolebinding does not exist
* docs: add warning about kube_api_anonymous_auth
* style: improve readability of delegate_to parameter
* refactor: rename discovery kubeconfig file
* test: enable new variable in hardening and upgrade test cases
* docs: add option to config parameters
* test: multiple instances and upgrade
2024-04-02 23:54:12 -07:00
Max Gautier
ef95eb078a
Cleanup unused CI tooling ( #11014 )
2024-03-15 03:57:27 -07:00
Max Gautier
7f6ca804a1
Upgrade ansible-core to 2.16.4 ( #10984 )
...
* upgrade ansible version
Needed for with_first_found to work correctly:
https://github.com/ansible/ansible/issues/70772 fixed in 2.16
* Remove unused google cloud cloud_playbook
* Fix dpkg_selection on non-existing packages
Needed since ansible-core>2.16, see:
f10d11bcdc
2024-03-14 02:12:45 -07:00
Kay Yan
90b0151caf
support node feature discovery ( #10861 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
2024-03-05 08:36:08 -08:00
Max Gautier
9648300994
Add test for coredns_dual in CI ( #10903 )
2024-02-08 02:52:10 -08:00
Takuya Murakami
785366c2de
[kubernetes] Support kubernetes 1.29 ( #10820 )
...
* [kubernetes] Make kubernetes 1.29.1 default
* [cri-o]: support cri-o 1.29
Use "crio status" instead of "crio-status" for cri-o >=1.29.0
* Remove GAed feature gates SecCompDefault
The SecCompDefault feature gate was removed since k8s 1.29
https://github.com/kubernetes/kubernetes/pull/121246
2024-01-31 00:57:23 -08:00
Louis Tu
a88bad7947
Add scheduler plugins support ( #10747 )
...
Signed-off-by: tu1h <lihai.tu@daocloud.io>
2024-01-23 07:42:33 +01:00
yun
13e1f33898
Correct the POLY1305 cipher suites by adding the suffix _SHA256 ( #10641 )
2024-01-22 18:00:52 +01:00
Max Gautier
a9e29a9eb2
Fix etcd client generation ( #10769 )
...
* ci: redefine multinode to node-etcd-client
This should allow to catch several class of problem rather than just
one -> from network plugin such as calico or cilium talking directly to
the etcd.
* Dynamically define etcd host range
This has two benefits:
- We don't play the etcd role twice for no reason
- We have access to the whole cluster (if needed) to use things like
group_by.
2024-01-16 15:50:41 +01:00
Max Gautier
e90cae9344
Refactor check_galaxy + fix version ( #10729 )
...
* Remove checks for docs using exact tags
Instead use a more generic documentation for installing kubespray as a
collection from git.
* Check that we upgraded galaxy.yml to next version
This is only intented to check for human error. The version in galaxy
should be the next (which does not mean the same if we're on master or a
release branch).
* Set collection version to KUBESPRAY_NEXT_VERSION
2024-01-11 15:49:31 +01:00
Kay Yan
565eab901b
remove containerd registries ( #10738 )
2023-12-21 10:01:12 +01:00
Max Gautier
243ca5d08f
Add test case for calico using etcd datastore ( #10722 )
...
* Add multinode ci layout
* Add test case for calico using etcd datastore
2023-12-20 09:59:02 +01:00
Max Gautier
7395c27932
CI: Document the 'all-in-one' layout + small refactoring ( #10725 )
...
* Rename aio to all-in-one and document it
ADTM.
Acronyms don't tell much.
* Refactor vm_count in tests provisioning
2023-12-18 11:33:13 +01:00
Max Gautier
51069223f5
Decouple kubespray-defaults from download ( #10626 )
...
* Decouple role kubespray-defaults from download
Avoids doing re-importing the download role on every invocation of
kubespray-defaults (and skipping everything).
This has a measurable effect on playbook performance.
* Update docs refering to moved download defaults
2023-12-11 16:56:17 +01:00
Max Gautier
b31afe235f
Final ipaddr deprecation cleanup ( #10675 )
...
Followup of #10518
2023-12-06 03:49:25 +01:00
Max Gautier
d2944d2813
Check jinja templates for syntax error ( #10667 )
...
Allow to fail early (pre-commit time) for jinja error, rather than
waiting until executing the playbook and the invalid template.
I could not find a simple jinja pre-commit hook in the wild.
2023-12-06 03:05:24 +01:00
Max Gautier
93724ed29c
Use non-deprecated stdout_callback ( #10647 )
...
Skippy is deprecated as its functionality has been incorporated into
the default callback plugin.
2023-12-04 09:38:20 +01:00
Lukáš Kubín
f46910eac3
Add helm support for custom_cni deployment ( #10529 )
...
* Add helm support for custom_cni deployment
* Linting correction
* Ansible linting correction
* Add test packet with values
Signed-off-by: Lukáš Kubín <lukas.kubin@gmail.com>
* Add custom_cni configuration file with comments
Signed-off-by: Lukáš Kubín <lukas.kubin@gmail.com>
* Default values cleanup
Signed-off-by: Lukáš Kubín <lukas.kubin@gmail.com>
* Add details to custom_cni configuration file
Signed-off-by: Lukáš Kubín <lukas.kubin@gmail.com>
* Set correct yaml type of helm values
Signed-off-by: Lukáš Kubín <lukas.kubin@gmail.com>
* Set CNI filesystem ownership to root
Signed-off-by: Lukáš Kubín <lukas.kubin@gmail.com>
* Update cilium example parameter name
Signed-off-by: Lukáš Kubín <lukas.kubin@gmail.com>
---------
Signed-off-by: Lukáš Kubín <lukas.kubin@gmail.com>
2023-11-16 00:32:21 +01:00
Arthur Outhenin-Chalandre
7ba85710ad
Update to ansible 2.15 ( #10481 )
...
* ansible: upgrade to version >= 2.15.5
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
* tests: update requirements
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
* contrib/openstack: fix wrong gitignore pattern
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
* tests: add missing tzdata requirement
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
* tests: remove some molecules tests
Those doesn't work in Ansible 2.15. Ansible can't load builtin now
apparently and these tests are not worth it.
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
---------
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
2023-11-15 09:39:09 +01:00
emiran-orange
e65050d3f4
Ability to define GPG key path for Docker APT ( #10513 )
2023-10-13 04:06:04 +02:00