Kubernetes Prow Robot
739e5e1c6b
Merge pull request #12199 from tmurakam/feature/kubernetes-1.33
...
[kubernetes] Support kubernetes 1.33
2025-06-05 20:20:38 -07:00
ChengHao Yang
0d5e18053e
Test: remove bin_dir from other tasks move to common_vars.yml
...
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2025-05-29 12:43:38 +08:00
Max Gautier
2fbbf2e1e4
CI/kubevirt: Configure ignition provisioning
...
Flatcar does not support cloud-init
2025-05-27 23:29:56 +08:00
ant31
3597b8d7fe
Kubevirt: use Ignition cloud config
2025-05-27 23:29:55 +08:00
ChengHao Yang
32675695d7
Add flatcar 4081 CI packet test
...
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2025-05-27 23:29:55 +08:00
Takuya Murakami
c1e3f3120c
CI: Use ubuntu-2204 for crio test
2025-05-22 08:59:52 +09:00
Takuya Murakami
cee065920f
fix: The 'AppArmor' feature gate is removed from kubernetes 1.33
...
Signed-off-by: Takuya Murakami <murakami_da@nec.com >
2025-05-21 23:56:47 +09:00
ChengHao Yang
af62570110
Change cilium_kube_proxy_replacement to true for CI tests
...
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2025-05-19 08:48:14 +08:00
ChengHao Yang
bebba47eb4
Change kube_owner to root for cilium CI test
...
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2025-05-19 08:48:14 +08:00
ERIK
e4c0c427a3
improve NTP package conflict handling ( #12212 )
...
Signed-off-by: bo.jiang <bo.jiang@daocloud.io >
2025-05-16 03:55:14 -07:00
Max Gautier
2d3bd8686f
Add testcase separate ha-etcd
...
Also use a distinct node to test certificate distribution.
2025-05-15 18:20:13 +02:00
Max Gautier
373b952a0c
Cleanup CI scripts ( #12205 )
...
* Delete unused scripts
- gen_tags.sh: not the right file, produce garbage even if path is fixed
- premoderator.sh: not used since ef6d24a49 (CI require a 'lgtm' or
'ok-to-test' labels to pass (#11251 ), 2024-05-31)
- gitlab-branch-cleanup: unused AFAICT
* CI: inline molecule logs
Single use site -> less indirection makes it easier to read.
2025-05-12 05:53:15 -07:00
Max Gautier
7db2aa1cba
Rename kubespray-defaults to kubespray_defaults
...
Role names in ansible collection should not contains hyphens.
2025-05-10 10:04:37 +02:00
ChengHao Yang
1374a97787
Test: ubuntu22-calico-all-in-one-upgrade disable dns autoscaler
...
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2025-05-04 00:23:05 +08:00
Kubernetes Prow Robot
2f404de77c
Merge pull request #12037 from VannTen/ci/convert_vagrant_to_kubevirt_2
...
CI: convert remaining vagrant jobs (except IPv6) to kubevirt + cleanups
2025-04-09 01:16:42 -07:00
dependabot[bot]
e47eb4bc7f
build(deps): bump pytest-testinfra from 10.1.1 to 10.2.2 ( #12096 )
...
Bumps [pytest-testinfra](https://github.com/pytest-dev/pytest-testinfra ) from 10.1.1 to 10.2.2.
- [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.1...10.2.2 )
---
updated-dependencies:
- dependency-name: pytest-testinfra
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>
2025-03-31 01:10:35 -07:00
Max Gautier
0fc56ed344
CI: fix terraform
...
- add default testcase
- fix ansible ssh connection
2025-03-26 20:05:26 +01:00
Max Gautier
ef133fd93d
CI: cleanups leftovers things
...
include_vars is redundant as the file is already included by extra_vars
2025-03-26 20:05:25 +01:00
Max Gautier
b9e251ac7a
CI: cleanup terraform + deduplicate and simplify
2025-03-26 20:05:23 +01:00
Max Gautier
43fceebdd3
CI: convert vagrant jobs to kubevirt
...
Vagrant jobs needs a big cache which makes them slow / sometimes stuck
completely. Using the kubevirt provisionning playbook is now
significantly faster, so do just that.
Having only one provisionner in CI will also allows us to remove some of
the custom runners executors we use for vagrant, and more generally
reduce the CI maintenance.
Our kubevirt CI platform does not support ivp6 yet, so we keep the
relevant jobs in vagrant, but we'll migrate them as well as soon as
possible.
2025-03-26 20:05:21 +01:00
Max Gautier
862aec4dc6
CI: remove 'packet' from jobs name + rename to kubevirt
...
This is more accurate, the name 'packet' being an aterfact of history
(the Kubevirt jobs used to run on Packet, the previous name of Equinix)
2025-03-26 14:32:26 +01:00
Max Gautier
4f3b214ef5
CI: streamline packet jobs definition
...
- Take advantage of `parallel:matrix` to make the jobs definition shorter
and more readable.
- Remove helper scripts which are no longer needed
- Remove redundant indirection in the gitlab-ci pipelines definitions
(only one user)
2025-03-26 14:32:24 +01:00
Kay Yan
0f9f9fb569
support kube-proxy nftables ( #12060 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
2025-03-26 01:32:33 -07:00
Kay Yan
b38312d007
Upgrade CI for openSuse 15.6 ( #12074 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
2025-03-25 03:52:33 -07:00
Kubernetes Prow Robot
02438442b9
Merge pull request #12050 from VannTen/cleanup/next_version_auto
...
Auto compute previous tag in CI
2025-03-18 03:09:50 -07:00
Max Gautier
03b40e71a3
Cleanup unneeded vagrant python packages from test deps ( #12051 )
2025-03-18 02:19:50 -07:00
Max Gautier
e0920b33d7
vagrant: allow to config vagrant with separate etcd ( #12045 )
...
This should help test separate etcd configuration locally more easily.
2025-03-18 02:15:49 -07:00
Max Gautier
fffc1b4ac0
CI: remove KUBESPRAY_VERSION
2025-03-17 18:13:11 +01:00
Max Gautier
c79b3ce46b
CI: convert galaxy version check to pre-commit + autodetect
2025-03-17 18:13:10 +01:00
Max Gautier
0c59cc84dd
CI: simplify rebase.sh
...
With the base ref (aka: target branch) available, we don't need to guess
stuff from the branch name
2025-03-17 18:13:09 +01:00
Kubernetes Prow Robot
986f461ef1
Merge pull request #12026 from VannTen/ci/convert_vagrant_to_kubevirt
...
CI: use kubevirt for molecule provisionning instead of vagrant
2025-03-13 08:57:48 -07:00
Max Gautier
96aadc3614
CI: only define mode in tests if needeed ( #12030 )
...
All tests have a mode actually, so changing the default is no big deal
(and makes more sense to have `default` as the default
2025-03-13 03:47:46 -07:00
Max Gautier
71ae3c78e2
CI: ensure kubevirt VMs are available as part of provisionning
...
Allow to use the provisionning playbook from multiples users without
duplicating the ssh check.
2025-03-13 10:14:49 +01:00
Max Gautier
315313dd10
CI: convert molecule jobs to parallel:matrix
...
With the new provisionning using kubevirt this should be faster.
2025-03-13 10:14:48 +01:00
Max Gautier
ac4c41e4e6
CI: use OS name in VMs
...
Allows an easier log reading on multi-OS test runs (such as molecule
tests)
2025-03-13 10:14:47 +01:00
Max Gautier
611f645907
CI: Generate ssh key pair on the fly
...
There is litte reason to share an ssh key common to all CI jobs, so
generate one for each on the fly.
Also use plain-text cloud-init config instead of base64 for readability
2025-03-13 10:14:46 +01:00
Max Gautier
e62bbe0c76
CI: adapt packet-ci role to act as a molecule provisioner
...
To work with molecule, we need to use the name provided by molecule_yml
in inventory.
Inject the name in the VirtualMachineInstance (with a default to handle
non-molecule scenario) and get it back as part of inventory).
Account for no ansible groups
2025-03-13 10:14:45 +01:00
Max Gautier
d0f91adde4
CI: allow cluster layout to be fully defined by individual test
2025-03-13 10:14:44 +01:00
Max Gautier
a8d494fb95
CI/kubevirt: allow every vars in kubevirt template to be overriden
...
The current templating of kubevirt VirtualMachine relies on global
ansible variables, except for the group the nodes are meant to be in.
In order to have more flexibility (in particular, mixed OS cluster for
instances), expect now an abitrary dict to be passed to the template ;
this allows to embed directly in the nodes definition any variable used
by the template.
2025-03-13 10:14:44 +01:00
Max Gautier
119fa5b0c0
CI: Remove cruft
...
Remove unused variables, and intermediary ones.
2025-03-13 10:14:43 +01:00
Boris
a51e7dd07d
refact ip stack ( #11953 )
2025-02-11 03:37:58 -08:00
Antoine Legrand
4373c1be1d
Revert "Add support for ipv6 only cluster via "enable_ipv6only_stack_networks…" ( #11941 )
...
This reverts commit 76c0a3aa75 .
2025-02-03 07:06:58 -08:00
dependabot[bot]
6af849089e
build(deps): bump the molecule group with 2 updates ( #11933 )
...
Bumps the molecule group with 2 updates: [molecule](https://github.com/ansible-community/molecule ) and [molecule-plugins[vagrant]](https://github.com/ansible-community/molecule-plugins ).
Updates `molecule` from 24.12.0 to 25.1.0
- [Release notes](https://github.com/ansible-community/molecule/releases )
- [Commits](https://github.com/ansible-community/molecule/compare/v24.12.0...v25.1.0 )
Updates `molecule-plugins[vagrant]` from 23.6.0 to 23.7.0
- [Release notes](https://github.com/ansible-community/molecule-plugins/releases )
- [Commits](https://github.com/ansible-community/molecule-plugins/compare/v23.6.0...v23.7.0 )
---
updated-dependencies:
- dependency-name: molecule
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: molecule
- dependency-name: molecule-plugins[vagrant]
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: molecule
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 07:05:26 -08:00
Boris
76c0a3aa75
Add support for ipv6 only cluster via "enable_ipv6only_stack_networks" ( #11831 )
2025-01-27 04:15:22 -08:00
Max Gautier
d23c1464c9
Remove krew support ( #11824 )
...
* Remove krew installation support
Krew is fundamentally to install kubectl plugins, which are eminently a
client side things.
It's also not difficult to install on a client machine.
* Remove krew cleanup
2025-01-23 20:45:21 -08:00
Max Gautier
191f71afea
Drop explicit k8s_cluster group in CI inventory ( #11858 )
...
This removes compatibility with releases below 2.27.0, now that it has
been released and that we're testing upgrades against it.
2025-01-23 02:34:58 -08:00
Max Gautier
bfe858ba06
CI: cleanup dependencies, pre-commit autoupdate ( #11904 )
...
ansible-lint and yamllint are run as pre-commit hooks, which are
installed by pre-commit directly. So there is no need to put them in
tests/requirements.txt.
So remove them and make it leaner.
2025-01-23 01:56:59 -08:00
Kubernetes Prow Robot
5a7e1be070
Merge pull request #11905 from VannTen/feat/readme_template_version
...
Update README.md versions automatically in pre-commit
2025-01-22 19:42:37 -08:00
Max Gautier
d2e51e777c
CI: cleanup vars identical to kubespray defaults ( #11903 )
2025-01-21 05:46:37 -08:00
Max Gautier
a142f40e25
Update versions in README.md with pre-commit
...
Currently, versions in README.md need to be manually updated, and we
check it's done with a bash script.
Add a small utility playbook to add versions in README.md from their
actual default values, automatically.
This is done in pre-commit, and replace the scripted check ; instead it
will autofix the README.md, and fails in CI if needed.
We switch markdownlint behind the local hooks to gave it the opportunity
to catch a problem with the rendering.
2025-01-21 12:10:21 +01:00