Ekko
4177289ef6
Fix typo in .gitlab-ci/kubevirt.yml ( #12134 )
...
Signed-off-by: Ekko Tu <lihai.tu@daocloud.io >
2025-04-18 03:59:06 -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
5c4e597987
CI: workaround build: disable rebase
2025-03-26 20:05:25 +01:00
Max Gautier
f6ca3bf477
CI: simplify image build job
2025-03-26 20:05:24 +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
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
Max Gautier
c79b3ce46b
CI: convert galaxy version check to pre-commit + autodetect
2025-03-17 18:13:10 +01:00
Max Gautier
16b090c5ff
CI: cleanup leftover files ( #12040 )
2025-03-16 20:05:47 -07: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
e4905f1d1d
CI: convert molecule jobs to kubevirt
2025-03-13 10:14:46 +01:00
Max Gautier
a665b43854
CI: Put pre-commit cache under CI_PROJECT_DIR ( #11929 )
...
* CI: Put pre-commit cache under CI_PROJECT_DIR
Apparently gitlab-runner can't cache stuff outside of the project
directory.
Put the cache under CI_PROJECT_DIR to make it work (which also means we
need to ignore it from ansible-lint).
Also update the pre-commit image while we're at it.
Link: https://gitlab.com/gitlab-org/gitlab/-/issues/14151
* update ansible-lint pre-commit
2025-03-03 01:30:58 -08:00
Antoine Legrand
7d21a54dc7
Remove amazon-linux2 from CI: issue with vm creation ( #11995 )
2025-02-26 05:42:30 -08: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
Max Gautier
1567e8ee6c
Add timestamp to kaniko builds ( #11923 )
...
The build steps at the start of CI takes about 2 minutes; now that we
have greatly reduced the overall duration, this is not an insignificant
impact.
Add timestamps to the build process to see measure which steps of the
image build take the most time.
2025-01-27 06:17:23 -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
5862bff044
ci: show pre-commit diff on failure
...
Sometimes the change done by pre-commit are not obvious, this should
help.
2025-01-17 16:22:58 +01:00
Kay Yan
3527cb1916
Update CI test from AlmaLinux8 to AlmaLinux9 ( #11889 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
2025-01-14 02:50:32 -08:00
Max Gautier
180ce0b2ce
CI: test hardening setup in normal CI run ( #11809 )
2024-12-18 15:40:09 +01:00
Max Gautier
2dddb4fb65
CI: test collections in one packet job
2024-12-13 16:44:31 +01:00
Kubernetes Prow Robot
05e2b47db6
Merge pull request #11530 from VannTen/ci/cleanup_with_k8s_gc
...
[CI] Use Kubernetes GC to clean kubevirt VMs (packet-* jobs)
2024-11-14 10:49:15 +00:00
Kay Yan
81a66cc73d
add ci for openeuler ( #11689 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
2024-11-12 10:36:46 +00:00
Antoine Legrand
e293a887da
Cache vagrant boxes ( #11671 )
2024-10-31 13:47:26 +00:00
Max Gautier
e8ee422808
CI: remove deletion tasks of 'packet' VMs
...
Kubevirt VMs deletion will be handled by the Kubernetes GC (see previous
commit), remove all the codes handling that.
2024-10-18 12:14:53 +02:00
ChengHao Yang
a16d7b4365
Test: revert accidental deletion Fedora 39 CRI-O CI ( #11611 )
...
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2024-10-08 14:32:23 +01:00
ChengHao Yang
8aa4c9ac0c
Cleanup: Fedora 37/38 CI tests & docs ( #11600 )
...
* Feat: update the remaining Fedora 37 vagrant CI
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
* Cleanup: remove EOL Fedora 37/38 CI tests
Signed-off-by: ChengHao Yang
<17496418+tico88612@users.noreply.github.com >
* Docs: remove EOL Fedora 37/38
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
---------
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2024-10-07 09:16:06 +01:00
ChengHao Yang
b0563c20b0
Feat: support Fedora 39/40 ( #11573 )
...
* Add Fedora 39/40 to Vagrantfile
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
* Add CI tests for Fedora 39/40
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
* Update CI tests documentation
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
* Update support OS version in README.md
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
---------
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com >
2024-10-01 07:57:49 +01:00
Takuya Murakami
60b323b17f
[CI] Add a CI job to test cluster upgrading, and fix bug of testcases_run.sh ( #11458 )
...
* Fix: fix testcases_run.sh for upgrade tests
Need to git checkout ${CI_COMMIT_SHA} before running upgrade playbook (revert #11173 partially)
* feat: add CI job to test upgrade
Add a packet_ubuntu22-calico-all-in-one-upgrade job
2024-08-29 15:47:32 +01: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
Antoine Legrand
fe97b99984
CI: remove centos7 and weave jobs from test pipeline ( #11344 )
...
Centos7 reached EOL and the jobs are failing.
Weave network is an archived project
2024-07-02 04:21: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
Kay Yan
af0ac977a5
fix-ci-packet_centos7-calico-ha-once-localhost ( #11315 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io >
2024-06-24 20:49:40 -07:00
Antoine Legrand
3e72be2f72
CI: switch to unprivileged Kaniko to build pipeline images ( #11292 )
2024-06-11 06:19:02 -07:00
Max Gautier
0faa805525
Remove gitlab-ci job done in pre-commit
2024-05-28 13:26:47 +02:00
Max Gautier
bc21433a05
Run pre-commit hooks in dynamic pipeline
...
Use gitlab dynamic child pipelines feature to have one source of truth
for the pre-commit jobs, the pre-commit config file.
Use one cache per pre-commit. This should reduce the "fetching cache"
time steps in gitlab-ci, since each job will have a separate cache with
only its hook installed.
2024-05-28 13:26:46 +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
Max Gautier
21aba10e08
Use alternate self-sufficient shellcheck precommit
...
This pre-commit does not require prerequisite on the host, making it
easier to run in CI workflows.
2024-05-28 13:26:42 +02:00
Max Gautier
76dae63c69
Check that PRs have correctly ran the sidebar gen
2024-05-19 11:56:30 +02: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
Max Gautier
41036e3b53
Enable opensuse in CI ( #11159 )
...
It works, so let's ensure it continues to work.
2024-05-10 10:59:43 -07:00
Max Gautier
8c12dedf05
Fix amazon linux bootstrap ( #11139 )
...
c58497cde (Refactor bootstrap-os (#10983 ), 2024-03-27) refactored the
boostrap-os include but didn't adapt the amazon linux tasks to the
actual ID of amazon linux ('amzn')
Re-enable the CI so we can avoid that kind of breakage.
2024-05-08 02:15:23 -07:00
Max Gautier
12c8d0456f
Move perma failing jobs in CI to manual run ( #10886 )
...
Should free CI resources
2024-02-19 10:00:39 -08:00
Kay Yan
a306f15a74
bump vagrant 2.3.7 ( #10787 )
2024-01-11 11:23:15 +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
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
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