Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
85feccd
Refactor some conformance tests to utilize SRIOV_NODE_AND_DEVICE_NAME…
evgenLevin Sep 3, 2024
91e04f6
metrics: Add PrometheusRule for namespaced metrics
zeeke Jul 10, 2024
b49cf15
metrics: Add permissions to remove monitor objects
zeeke Aug 28, 2024
aecb4bb
Merge pull request #732 from zeeke/metrics-exporter-rules
adrianchiris Sep 19, 2024
60c6404
Merge pull request #771 from zeeke/us/e2e-filter-devices
zeeke Sep 19, 2024
6aedb8c
Fix merge annotation function
SchSeba Sep 18, 2024
644fcf2
Delete webhooks when SriovOperatorConfig is deleted
zeeke Sep 19, 2024
e2d0611
Merge pull request #776 from SchSeba/fix_render
zeeke Sep 20, 2024
f17bb2a
metrics: Fix typo in `METRICS_EXPORTER_PROMETHEUS_DEPLOY_RULES`
zeeke Sep 19, 2024
f94fa64
Fix syntax for RDMA_CNI_IMAGE var substitution
mandre Sep 20, 2024
4bae6ce
Merge pull request #780 from mandre/fix-RDMA_CNI_IMAGE
zeeke Sep 22, 2024
3ff1b85
metrics: Add `node` label to `sriov_*` metrics
zeeke Sep 12, 2024
084810a
openstack: dynamically mount the config-drive
EmilienM Sep 11, 2024
ba21df0
Enclose array expansions in double quote
mandre Sep 23, 2024
3d553bf
Add missing shebang
mandre Sep 23, 2024
63246d6
Explicitly expand array values
mandre Sep 23, 2024
3529811
Iterate over globs.
mandre Sep 23, 2024
61aacb5
Fix: GetDevlinkDeviceParam to handle edge-cases correctly
ykulazhenkov Sep 23, 2024
6f44ae5
Merge pull request #779 from zeeke/us/OCPBUGS-41897
e0ne Oct 1, 2024
31175eb
Merge pull request #782 from ykulazhenkov/pr-fix-getdevlinkdeviceparam
e0ne Oct 2, 2024
aecf473
Merge pull request #774 from zeeke/metrics-exporter-drop-labels
SchSeba Oct 7, 2024
a01a139
metrics: Fix `Metrics should have the correct labels` test
zeeke Oct 7, 2024
6abdfe6
Fix NRI rbac
SchSeba Oct 8, 2024
9143c95
Merge pull request #787 from SchSeba/add_rbac_to_nri
zeeke Oct 9, 2024
fb193e8
Use grep for matching args with sh
mandre Sep 26, 2024
5394d21
CI: Add a bash linter to pre-submits
mandre Sep 23, 2024
e35f3d4
Merge pull request #785 from zeeke/us/metrics-e2e-fix
ykulazhenkov Oct 9, 2024
c02e517
Merge pull request #781 from mandre/shellcheck
ykulazhenkov Oct 9, 2024
92cf81c
Merge pull request #773 from EmilienM/configDrive
zeeke Oct 9, 2024
f286a04
config-daemon: Restart all instances of device-plugin
zeeke Oct 4, 2024
a85ab70
Merge pull request #783 from zeeke/us/multiple-device-plugins
zeeke Oct 9, 2024
85063dc
Add Intel Corporation Ethernet Controller E810-XXV for backplane, E82…
wizhaoredhat Oct 10, 2024
6556c92
Add NVIDIA ConnectX-8 to supported NICs list
e0ne Sep 19, 2024
8fe7a5e
Merge pull request #790 from wizhaoredhat/add_netsec_ethernet_control…
bn222 Oct 11, 2024
9782923
logging: Reduce device discovering verbosity
zeeke Oct 18, 2024
68b6c02
Merge pull request #793 from zeeke/us/config-daemon-reduce-logging
adrianchiris Oct 21, 2024
b5b0d6b
Add a note in documentation regarding systemd mode
souleb Oct 22, 2024
dc299c4
Fixing daemon sriov VFs config, where PF pci address got unbind inste…
heyvister1 Oct 27, 2024
df1407d
Fix k8s CI
SchSeba Oct 29, 2024
eb96108
Merge pull request #778 from e0ne/connectx-8-support
SchSeba Oct 29, 2024
ab79e2c
Merge pull request #794 from souleb/post-delete-systemd
SchSeba Oct 29, 2024
8d9e8da
Merge pull request #797 from heyvister1/fix-daemon-unbind-pf
SchSeba Oct 29, 2024
09a3af9
Merge pull request #801 from SchSeba/fix_k8s_ci_virtual_cluster
adrianchiris Oct 29, 2024
0d9a707
adding sriov operator config finalizer, to control generated cluster …
heyvister1 Oct 13, 2024
b1bb044
adding sriov operator config cleanup binary, to be used under helm un…
heyvister1 Oct 28, 2024
5009e99
Merge pull request #791 from heyvister1/webhooks-k8s-objects-deletion
zeeke Oct 30, 2024
6d32ec0
kernel: Set arguments based on CPU architecture
zeeke Oct 25, 2024
5522c96
Update `github.com/jaypipes/ghw`
zeeke Oct 25, 2024
2b02ba1
Merge pull request #796 from zeeke/us/OCPBUGS-43654
SchSeba Oct 31, 2024
73c1f81
RDMA subsystem is implemented via ib_core module config.
e0ne Mar 23, 2024
02c6b00
Add kernel args for rdma mode to complement the modprobe file
SchSeba Oct 28, 2024
92fee7b
Merge pull request #799 from SchSeba/rdma-subsytem-mode
SchSeba Nov 11, 2024
baa41c9
redesign device plugin
SchSeba Nov 7, 2024
8950f76
deploy: relax Operator node affinity
EmilienM Nov 14, 2024
623c339
Merge pull request #747 from SchSeba/device_plugin_redesign
SchSeba Nov 19, 2024
5fce462
Merge pull request #806 from EmilienM/nodeAffinity
SchSeba Nov 20, 2024
f6ea7b4
Fix corner case for pausing machine config
SchSeba Nov 11, 2024
8f45dce
re-organize drain controller package
SchSeba Nov 11, 2024
8d4ae20
Add waitForDevicesInitialization to systemd service
ykulazhenkov Nov 21, 2024
9fd85a2
Fixing pre-delete-webhook template for missing imagePullSecrets
heyvister1 Nov 24, 2024
4185aa4
Merge pull request #809 from heyvister1/fix-pre-delete-wh-pullsecret
ykulazhenkov Nov 25, 2024
71d2d16
Merge pull request #808 from ykulazhenkov/pr-systemd-wait-for-devices
e0ne Nov 26, 2024
f819a2b
Merge pull request #803 from SchSeba/drain_improve
SchSeba Nov 26, 2024
045c858
logging: Increase verbosity of `NeedToUpdateSriov`
zeeke Nov 26, 2024
5f492e5
Merge pull request #810 from zeeke/us/needtoupdatesriov-verbosity
zeeke Nov 27, 2024
5ad4ae9
feat: Update controller logic to handle stale SriovNetworkNodeState C…
ykulazhenkov Oct 28, 2024
093893c
e2e: Avoid setting wrong routes for `host-local` IPAM
zeeke Dec 4, 2024
df2a973
e2e: Improve `findUnusedSriovDevices` errors
zeeke Dec 5, 2024
07a7f05
Merge pull request #812 from zeeke/us/fix-test-ip-routes
zeeke Dec 5, 2024
c621f29
e2e: Don't allocate TTY when executing commands
zeeke Dec 9, 2024
7f8eff4
e2e: Use `cat` instead of `more` to read files
zeeke Dec 10, 2024
87c93e9
Merge pull request #814 from zeeke/us/fix-tty
SchSeba Dec 11, 2024
c33774a
Unit test for RdmaMode
zeeke Dec 5, 2024
fdffa3d
Avoid overwriting coverage files for different `CLUSTER_TYPE`s
zeeke Dec 5, 2024
7c9da38
Merge pull request #813 from zeeke/us/flaky-coveralls
SchSeba Dec 11, 2024
8e565e9
build(deps): bump golang.org/x/crypto from 0.23.0 to 0.31.0
dependabot[bot] Dec 12, 2024
d172b52
Merge pull request #815 from k8snetworkplumbingwg/dependabot/go_modul…
zeeke Dec 12, 2024
60a777c
Do not configure BlueField NICs in DPU mode
e0ne Dec 13, 2024
0c4edb3
functest: add retry for rdma functest
SchSeba Dec 16, 2024
cfd160f
Merge pull request #817 from SchSeba/add_retry_on_delete
SchSeba Dec 18, 2024
ed25caa
hack/env.sh: move checking of environment variables outside SKIP_VAR_…
thom311 Dec 19, 2024
4164d69
bump `golang.org/x/net` to `v0.33.0`
zeeke Dec 20, 2024
eb2fa5f
Merge pull request #820 from zeeke/us/CVE-2024-45338
zeeke Dec 20, 2024
d7d2e57
add link state enable on test
SchSeba Dec 23, 2024
260d7eb
functest: Fix ip link command output
SchSeba Dec 24, 2024
270d88b
Merge pull request #822 from SchSeba/fix_ip_link_command_tests
adrianchiris Dec 30, 2024
0af8dc5
Merge pull request #821 from SchSeba/fix_mtu_disconnected_test
SchSeba Dec 31, 2024
81c67cc
Skip kernel parameters configuration for Ubuntu
e0ne Dec 17, 2024
d798856
Bump the k8s version we use in the CI system to 1.32.0
SchSeba Jan 1, 2025
1ae809e
Merge pull request #798 from ykulazhenkov/pr-keep-stale-node-state
SchSeba Jan 1, 2025
0ebe7ae
Merge pull request #818 from e0ne/kargs-ubuntu
SchSeba Jan 2, 2025
d62b546
Merge pull request #827 from SchSeba/bump_k8s_version_ci
zeeke Jan 2, 2025
1a8d74c
Do not return DPU mode on error
e0ne Jan 6, 2025
e49dac0
Support mtu_request for OVS
rollandf Jan 6, 2025
688cdde
extend func-test timeout
SchSeba Jan 9, 2025
009c691
Merge pull request #829 from SchSeba/extend_time
adrianchiris Jan 9, 2025
220247d
Merge pull request #819 from thom311/th/hack-env-check
adrianchiris Jan 13, 2025
0860d53
Merge pull request #828 from rollandf/mtu-ovs
zeeke Jan 13, 2025
84d0a6d
ovs: add internal interface
rollandf Jan 12, 2025
f891498
Merge pull request #830 from rollandf/ovs-internal
zeeke Jan 13, 2025
7990611
Merge pull request #816 from e0ne/dpu-mode
SchSeba Jan 15, 2025
009c45f
Make rdma functional tests robust for single node environments
SchSeba Dec 31, 2024
aaba54c
Merge pull request #825 from SchSeba/rdma-functest
zeeke Jan 19, 2025
5f695df
build(deps): bump github.com/golang/glog from 1.1.0 to 1.2.4
dependabot[bot] Jan 28, 2025
9eab1da
Bump github action artifact to v4
SchSeba Feb 2, 2025
b2c487c
Merge pull request #839 from SchSeba/fix_githubaction_artifact
SchSeba Feb 3, 2025
8b95679
Skip running unit-tests on mock folders
SchSeba Feb 9, 2025
24a1459
switch gomock lib to supported one
SchSeba Feb 9, 2025
d50b46f
Start post-network-service after sriov-config
e0ne Feb 14, 2025
0ead8c5
Merge pull request #845 from e0ne/service-order
adrianchiris Feb 18, 2025
8d35466
Merge pull request #842 from SchSeba/bump_mock_package
adrianchiris Feb 18, 2025
c0ed5d1
Merge pull request #841 from SchSeba/unit_test_no_mock
adrianchiris Feb 18, 2025
9ddf872
Merge pull request #836 from k8snetworkplumbingwg/dependabot/go_modul…
adrianchiris Feb 18, 2025
efb1063
use kubeclient to get and delete machineconfig
crliu3227 Feb 19, 2025
e7a88a3
fix suite panic
crliu3227 Feb 19, 2025
a145133
Allow to drain on single node
SchSeba Feb 19, 2025
02fbc66
use uncached api reader to avoid the cache
crliu3227 Feb 20, 2025
1973653
e2e: Improve `SriovNetworkMetricsExporter` stability
zeeke Feb 21, 2025
ca3bee2
Remove leader election for the operator
SchSeba Feb 19, 2025
d7c9458
Merge pull request #849 from SchSeba/remove_leader_election
zeeke Feb 25, 2025
f1618ff
make sure drain controller adds all the initial annotations
SchSeba Feb 18, 2025
d2300c7
nit: fix virtual-cluster-redeploy.sh to add the right exports
SchSeba Feb 18, 2025
8f03852
add featureGates to vars
SchSeba Feb 18, 2025
39ae8c8
add clean pools and pools CR to reporter for functional tests
SchSeba Feb 18, 2025
ada65d6
run the systemd service with debug log level.
SchSeba Feb 18, 2025
683101d
switch config-daemon to use controller-runtime
SchSeba Feb 18, 2025
254c895
use disableDrain from vars
SchSeba Feb 24, 2025
3e6b91c
add clean in afterAll for functest
SchSeba Feb 24, 2025
fdc7247
Merge pull request #788 from SchSeba/daemon_redesign
SchSeba Feb 26, 2025
1cdf1f3
return error on daemon init
SchSeba Feb 26, 2025
190e65b
e2e: Remove `clientconfigv1.ConfigV1Interface`
zeeke Feb 28, 2025
8069162
Merge pull request #851 from zeeke/e2e/improve-metrics-tests
zeeke Feb 28, 2025
9d7ecc9
Merge pull request #854 from SchSeba/fix_return_error
adrianchiris Mar 3, 2025
e9b1c77
Merge pull request #855 from zeeke/us/e2e-remove-deps
adrianchiris Mar 3, 2025
ab7d367
Merge pull request #850 from SchSeba/skip_drain_on_reboot_single_node
zeeke Mar 4, 2025
eeca598
remove 5 second timeout
SchSeba Mar 5, 2025
bbc18ec
Move systemd pakcage under hostInterface
SchSeba Feb 25, 2025
21da5b2
Merge pull request #858 from SchSeba/remove_timeout
zeeke Mar 6, 2025
70e7645
Remove vf configuration file from host
SchSeba Feb 24, 2025
230f50b
Merge pull request #853 from SchSeba/move_systemd_to_host_package
zeeke Mar 7, 2025
b88f57a
use ctx from function
crliu3227 Mar 10, 2025
b643bbc
logging: avoid `TryGetInterfaceName` logs
zeeke Mar 10, 2025
509b1ab
Sync node policies when node labels change only
zeeke Mar 10, 2025
e409566
Merge pull request #860 from zeeke/us/fix-node-handler
zeeke Mar 14, 2025
e939de9
bump go ver to 1.23
adrianchiris Mar 17, 2025
b5de212
bump some pkg versions
adrianchiris Mar 17, 2025
0844242
Merge pull request #863 from adrianchiris/bump-golang-ver
e0ne Mar 18, 2025
d93a012
Merge pull request #852 from SchSeba/bug_remove_nic_config_from_host
zeeke Mar 21, 2025
1d8e37a
Merge pull request #859 from zeeke/log/try-get-interface-name
zeeke Mar 21, 2025
5fce07b
Bump controller-runtime and kubernetes
SchSeba Mar 5, 2025
b9fef2e
Merge pull request #857 from SchSeba/bump_controller_runtime_0.20.2
SchSeba Mar 24, 2025
1499d61
Merge pull request #848 from crliu3227/fix-cache-machineconfig
adrianchiris Mar 24, 2025
7c56467
kernel: Avoid setting `iommu.passthrough` on ARM system
zeeke Mar 24, 2025
1921bed
Adding unit-tests
SchSeba Mar 24, 2025
9308e90
Fix status update
SchSeba Mar 25, 2025
eae4e2f
chore: align ubuntu runners
adrianchiris Mar 26, 2025
14be14b
Merge pull request #867 from adrianchiris/align-os-in-workflows
zeeke Mar 26, 2025
77b85f5
Merge pull request #866 from SchSeba/fix_status_patch
e0ne Mar 31, 2025
2de44a8
Skip device plugin configuration for non existing nodes
SchSeba Mar 31, 2025
4104662
Merge pull request #872 from SchSeba/fix_device_plugin_label
SchSeba Mar 31, 2025
f727f51
Add Intel E825 Network Adapters
novacain1 Apr 1, 2025
65fa49d
Merge pull request #875 from novacain1/add_e825c_controller
Eoghan1232 Apr 1, 2025
103c14f
e2e: Improve `rmda` test debuggability
zeeke Apr 1, 2025
45e7389
Merge pull request #864 from zeeke/us/OCPBUGS-52853
SchSeba Apr 1, 2025
04393c7
Improve unit test coverage
SchSeba Mar 26, 2025
7b22411
controllers: Don't return errors when SriovOperatorConfig is not present
zeeke Apr 4, 2025
42d68c7
Merge pull request #865 from SchSeba/unit_tests
SchSeba Apr 6, 2025
cd029e3
Merge pull request #871 from SchSeba/unit_tests_1
SchSeba Apr 6, 2025
6848ec1
Remove auto generated client
SchSeba Mar 27, 2025
136891d
fix: copy pci.ids file to host in systemd mode
almaslennikov Apr 7, 2025
cb50a01
Merge pull request #870 from SchSeba/remove_client
SchSeba Apr 7, 2025
ffcdf0f
improve draining log
SchSeba Apr 1, 2025
d1df12f
Merge pull request #877 from SchSeba/improve_logs
zeeke Apr 7, 2025
578098b
Merge pull request #876 from zeeke/us/rdma-e2e-test-fix
adrianchiris Apr 8, 2025
c9c3ca1
controllers: Use `patch` to add finalizers
zeeke Apr 4, 2025
e0354a3
Merge pull request #879 from almaslennikov/pci-ids-in-systemd-mode
zeeke Apr 9, 2025
99a6796
Merge pull request #878 from zeeke/us/OCPBUGS-53346
SchSeba Apr 10, 2025
613a985
build(deps): bump golang.org/x/crypto from 0.32.0 to 0.35.0
dependabot[bot] Apr 15, 2025
9e919d2
e2e: Improve `GetNodeSecureBootState`
zeeke Apr 17, 2025
6051920
e2e: Fix RDMA test
zeeke Apr 18, 2025
5497162
e2e: enable `resourceInjectorMatchCondition` featureGate
zeeke Apr 22, 2025
6af3092
Update README.md
OguzPastirmaci Apr 23, 2025
2f2f323
Merge pull request #882 from k8snetworkplumbingwg/dependabot/go_modul…
adrianchiris Apr 27, 2025
f013dd4
build(deps): bump golang.org/x/net from 0.34.0 to 0.38.0
dependabot[bot] Apr 27, 2025
1cda1c1
Merge pull request #884 from k8snetworkplumbingwg/dependabot/go_modul…
zeeke Apr 27, 2025
b416aa4
Merge pull request #886 from zeeke/us/e2e-rmda-fix
zeeke Apr 28, 2025
14c4c03
fix: add missing slash into a path constant
almaslennikov Apr 28, 2025
1e89376
Merge pull request #888 from OguzPastirmaci/dev/update-helm-readme
zeeke Apr 29, 2025
00b671e
fix: switch to semantic DeepEquals check from apimachinery
almaslennikov Apr 10, 2025
7ad22b1
Merge pull request #889 from almaslennikov/fix-slash-in-const
zeeke Apr 29, 2025
cee07a7
Use context to annotate the node object
SchSeba May 5, 2025
986221b
Merge pull request #891 from SchSeba/use_context_to_annotate
SchSeba May 6, 2025
3f39687
e2e: Improve `WaitForSRIOVStable()`
zeeke Apr 7, 2025
184df1c
Merge pull request #881 from almaslennikov/move-to-semantic-equals-check
SchSeba May 27, 2025
da51fe7
add requeue when we wait for drain to complete
SchSeba May 12, 2025
1279798
fix: OVS internal ifc check
rollandf May 7, 2025
ac646af
bug(daemon): Reset the configuration when `disableDrain: true`
zeeke May 28, 2025
5f1e0fe
test: Avoid using a shared context variable
zeeke May 29, 2025
fc04f97
test: Allow `daemon_test.go` to have multiple test cases
zeeke May 29, 2025
edc0ff6
Merge pull request #895 from zeeke/us/OCPBUGS-56513
e0ne Jun 2, 2025
98496c8
Merge pull request #893 from SchSeba/add_resync
SchSeba Jun 3, 2025
6b40dbf
Bump OCP version to 4.18
SchSeba Jun 10, 2025
2e89d08
remove leader election functional test
SchSeba Jun 10, 2025
088ebd0
e2e: Filter devices in `FindOneMellanoxSriovDevice`
zeeke May 30, 2025
4ae810c
Merge pull request #883 from zeeke/e2e-wait-for-sriov-stable
zeeke Jun 24, 2025
9f722c1
Merge pull request #885 from zeeke/e2e/fix-secure-boot
zeeke Jun 24, 2025
81e1d0f
Merge pull request #892 from rollandf/ovs-internal
zeeke Jun 24, 2025
b279c18
Add Intel E830 Network Adapters
novacain1 Jun 28, 2025
263f61e
Merge pull request #900 from SchSeba/bump_ocp_version_4.18
SchSeba Jul 2, 2025
942faad
Merge branch 'k8snetworkplumbingwg:master' into e830_seed
novacain1 Jul 2, 2025
246803f
Update supported-hardware.md table
novacain1 Jul 2, 2025
f0208ce
Merge pull request #901 from SchSeba/remove_leader_election_test
zeeke Jul 3, 2025
30873f3
Merge pull request #908 from novacain1/e830_seed
SchSeba Jul 6, 2025
4c7f2d8
security: Add `NetworkPolicies` to operands
zeeke Jun 9, 2025
cf7573b
Merge pull request #896 from zeeke/us/CNF-18073
SchSeba Jul 10, 2025
60c6955
Remove unused files from `/config`
zeeke Jul 10, 2025
1c305c3
fix: set SR-IOV NUM_VFS to 0 for mellanox NICs before fw reset
almaslennikov Jun 24, 2025
8b60d24
Merge pull request #898 from zeeke/us/CNF-17884-network-policies
e0ne Jul 16, 2025
c9749e4
Bump golang.org/x/oauth2 from 0.25.0 to 0.27.0
rollandf Jul 20, 2025
2c5fbc6
add retry to update node label
SchSeba Jul 10, 2025
ad47eeb
Merge pull request #904 from almaslennikov/mlxfwreset-fix
SchSeba Jul 22, 2025
163de27
Merge pull request #887 from zeeke/us/e2e-enable-resource-condition
SchSeba Jul 22, 2025
023a4b3
Merge pull request #915 from rollandf/oauth
adrianchiris Jul 22, 2025
69b0d10
Add a retry to the func-test
SchSeba Jul 21, 2025
4ba1b5f
Merge pull request #913 from zeeke/us/clean-config-folder
SchSeba Jul 24, 2025
0638123
Merge pull request #916 from SchSeba/fix_test
SchSeba Jul 24, 2025
a656e17
Allow to select the OCP version type
SchSeba Jul 7, 2025
1a1b17e
fix apply after PR#913
SchSeba Jul 30, 2025
2523ae3
Merge pull request #910 from SchSeba/temp_fix_ocp_ci
zeeke Jul 31, 2025
1f5be4c
Merge pull request #914 from SchSeba/func_e2e_fixes
SchSeba Aug 5, 2025
f3620f3
Add dependabot config
sebrandon1 Jul 9, 2025
c4f4740
Split into 3 go.mod groups
sebrandon1 Aug 13, 2025
04ec4a5
Support namespaced `{Sriov,SriovIB,OVS}Networks`
zeeke May 6, 2025
5b30784
Webhook validation for networks `.Spec.NetworkNamespace` field
zeeke May 6, 2025
f131b4f
webhook: Remove `klog.InitFlags(nil)`
zeeke May 13, 2025
ada185c
Namespaced network object end2end tests
zeeke May 12, 2025
0f2f913
Merge pull request #911 from sebrandon1/add_dependabot
zeeke Aug 27, 2025
35e7319
Merge pull request #894 from zeeke/us/namespaced-networks
zeeke Aug 27, 2025
963fed6
Squashed Together fork.
clarkzinzow Sep 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
version: 2
updates:
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "github-actions"

# Docker
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "docker"

# Go modules - k8s dependencies
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "go"
- "k8s"
allow:
- dependency-name: "k8s.io/*"

# Go modules - controller-runtime dependencies
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "go"
- "controller-runtime"
allow:
- dependency-name: "sigs.k8s.io/controller-runtime/*"

# Go modules - general dependencies
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "go"
- "general"
ignore:
- dependency-name: "k8s.io/*"
- dependency-name: "sigs.k8s.io/controller-runtime/*"
2 changes: 1 addition & 1 deletion .github/workflows/chart-push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- v*
jobs:
package-and-push-helm-chart:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: install helm
uses: azure/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/image-push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
build-and-push-image-operator:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out the repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
file: ./Dockerfile

build-and-push-image-config-daemon:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out the repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
file: ./Dockerfile.sriov-network-config-daemon

build-and-push-image-webhook:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out the repo
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/image-push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- v*
jobs:
build-and-push-image-operator:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out the repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
file: ./Dockerfile

build-and-push-image-config-daemon:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out the repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
file: ./Dockerfile.sriov-network-config-daemon

build-and-push-image-webhook:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out the repo
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-ci-triggers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
vendors-ci-triggers-list:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/github-script@v5
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
triage:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/labeler@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: pull_request
jobs:
execute:
name: "remove the lgtm label"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: jpmcb/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
execute:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: jpmcb/[email protected]
with:
Expand Down
110 changes: 69 additions & 41 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:

build:
name: build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:

- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v3
with:
go-version: 1.22.x
go-version: 1.23.x

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -29,27 +29,36 @@ jobs:

test:
name: test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:

- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v2
with:
go-version: 1.22.x
go-version: 1.23.x

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: test pkg
run: make test-pkg
- name: test pkg on kubernetes
run: CLUSTER_TYPE=kubernetes make test-pkg

- name: test cmd
run: make test-cmd
- name: test pkg on openshift
run: CLUSTER_TYPE=openshift make test-pkg

- name: test api
run: make test-api
- name: test cmd on kubernetes
run: CLUSTER_TYPE=kubernetes make test-cmd

- name: test controllers on opensfhit
- name: test cmd on openshift
run: CLUSTER_TYPE=openshift make test-cmd

- name: test cmd on kubernetes
run: CLUSTER_TYPE=kubernetes make test-api

- name: test api on openshift
run: CLUSTER_TYPE=openshift make test-api

- name: test controllers on openshift
run: CLUSTER_TYPE=openshift make test-controllers

- name: test controllers on kubernetes
Expand All @@ -60,13 +69,13 @@ jobs:

modules:
name: check go modules
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:

- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v2
with:
go-version: 1.22.x
go-version: 1.23.x

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -76,7 +85,7 @@ jobs:

manifests:
name: check manifests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v2
Expand All @@ -86,45 +95,64 @@ jobs:

golangci:
name: Golangci-lint
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v2
with:
go-version: 1.22.x
go-version: 1.23.x
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.55.2
- name: run lint checks
run: make lint

shellcheck:
name: Shellcheck
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
severity: error

test-coverage:
name: test-coverage
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:

- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v2
with:
go-version: 1.22.x
go-version: 1.23.x

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: test pkg
run: make test-pkg
- name: test pkg on kubernetes
run: CLUSTER_TYPE=kubernetes make test-pkg

- name: test cmd
run: make test-cmd
- name: test pkg on openshift
run: CLUSTER_TYPE=openshift make test-pkg

- name: test api
run: make test-api
- name: test cmd on kubernetes
run: CLUSTER_TYPE=kubernetes make test-cmd

- name: test controllers on opensfhit
- name: test cmd on openshift
run: CLUSTER_TYPE=openshift make test-cmd

- name: test cmd on kubernetes
run: CLUSTER_TYPE=kubernetes make test-api

- name: test api on openshift
run: CLUSTER_TYPE=openshift make test-api

- name: test controllers on openshift
run: CLUSTER_TYPE=openshift make test-controllers

- name: test controllers on kubernetes
run: CLUSTER_TYPE=kubernetes make test-controllers

- name: merge test coverage
run: make merge-test-coverage

Expand All @@ -148,15 +176,15 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v3
with:
go-version: 1.22.x
go-version: 1.23.x

- name: run test
run: make test-e2e-conformance-virtual-k8s-cluster-ci

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ env.TEST_REPORT_PATH }}
Expand All @@ -182,15 +210,15 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Set up Go 1.22
- name: Set up Go 1.23
uses: actions/setup-go@v3
with:
go-version: 1.22.x
go-version: 1.23.x

- name: run test
run: make test-e2e-conformance-virtual-ocp-cluster-ci

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ env.TEST_REPORT_PATH }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ tags
.idea/
# test-environment files
registry-login.conf
# go telemetry
.config/
Loading
Loading