Max Gautier
e0018268d6
CI: Add a test for scale.yml ( #12285 )
2025-06-28 01:16:29 -07:00
Max Gautier
f55de03fa6
CI: update sonobuoy url (heptio is now part of VMware)
...
Suggested-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2025-06-27 14:32:21 +02:00
Max Gautier
7b6ff769f0
CI: 020_check_pods -> more readable output
...
Filter pod to describe / logs only the broken ones.
2025-06-27 14:32:20 +02:00
Max Gautier
e369ac2f24
CI: more readable loop
...
Avoids putting whole pod spec in loop label
2025-06-27 14:32:19 +02:00
Max Gautier
4a0a73b307
CI: fix check for kube_version
2025-06-27 14:15:11 +02:00
Max Gautier
253fc5ee59
CI: factorize tests into a single playbook
...
This allows to use kubespray_defaults (once) instead of redefining
defaults in the tests.
Test test files becomes imported tasks rather thand standalone
playbooks.
2025-06-27 14:15:11 +02:00
Max Gautier
bf41d3bfea
CI: Simplify running playbooks as collection
2025-06-27 14:15:09 +02:00
ChengHao Yang
48cc0e1cde
CI: add pip install in upgrade job
...
This will avoid check ansible version failed in upgrade job.
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2025-06-20 12:18:10 +08:00
ChengHao Yang
95998e437b
CI: remove OpenSUSE 15.6 tests
...
Because pre-installed python version is 3.6, which is deprecated by
Ansible 10.
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2025-06-20 12:18:09 +08:00
ChengHao Yang
fc0206e313
CI: remove RHEL8-related OS tests
...
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2025-06-20 12:18:09 +08:00
ChengHao Yang
3cda93405a
Cleanup: Ubuntu 20.04 tests ( #12301 )
...
* Test: molecule replace ubuntu2004 with ubuntu2204 ubuntu2404
cri-dockerd, adduser and bastion-ssh-config can't run ubuntu2404, maybe needs to check login.
"System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)."
Signed-off-by: ChengHao Yang
<17496418+tico88612@users.noreply.github.com >
* Test: replace ubuntu-2004 with ubuntu-2404
All ubuntu-2004 tests are removed.
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
* Docs: update ci.md
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
* Docs: update README.md
Remove Ubuntu 20.04 support
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
---------
Signed-off-by: ChengHao Yang
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2025-06-19 18:54:51 -07:00
ChengHao Yang
b981e2f740
Replace terraform with opentf ( #12291 )
...
Terraform is no longer open source software and has been removed and
replaced with OpenTofu.
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2025-06-10 06:44:25 -07:00
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