Граф коммитов

314 Коммитов

Автор SHA1 Сообщение Дата
Santhosh Prabhu 00e108f024
Pipeline changes to test cilium nodesubnet clusters (#3031)
* feat: pipeline changes to test cilium nodesubnet clusters

* Update name

* refactor: remove windows changes

* refactor: Accept John's comment.

Co-authored-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
Signed-off-by: Santhosh  Prabhu  <6684582+santhoshmprabhu@users.noreply.github.com>

* refactor: move common tests out to separate template

* refactor: address John's comments

* refactor: move interface update to golang

* fix: add retries to update code

* refactor: move ip config update script

* tie ip config count to scale up

* fix: handle empty scale up

* fix: return errors from command run

* fix: escape single quotes in network profile json

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Santhosh  Prabhu  <6684582+santhoshmprabhu@users.noreply.github.com>

* fix typo

* fix: fix makefile target

* fix: fix env variables

* chore: rollback

---------

Signed-off-by: Santhosh  Prabhu  <6684582+santhoshmprabhu@users.noreply.github.com>
Co-authored-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-01 17:00:09 +00:00
Evan Baker 5f4ff11fd7
chore: rip out dropgz (#3032)
rip out dropgz

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2024-09-30 17:23:06 +00:00
John Payne 3aa304824a
[ci] fix: CNI-LSG pipeline cluster deletion (#3035)
fix: cluster deletion
2024-09-27 21:32:51 +00:00
Behzad Mirkhanzadeh 3a6959cc38
feat: adding stateless CNI pipeline test (#2914)
* feat: adding stateless CNI pipeline test

* feat: making change for stateless CNI pipeline

* feat: addressing the comments

* fix: fixing stateles cni yaml

* fix: stateless CNI delete fix

* Addresing the comments

* addresing john's comments
2024-09-23 17:12:12 +00:00
Camryn Lee f0229cfb1b
ci: add timeoutInMinutes during scale (#3024)
test: timeoutInMinutes during 1000 node scale
2024-09-20 16:24:12 +00:00
Shreya Jayaraman 251959ac63
ci: add create cluster stage to cilium scale test pipeline (#2973)
allow rg diff name, add create cluster, incr timeouts, errors to
pipeline stage
2024-09-19 18:04:11 +00:00
Evan Baker 6e03e2b7ea
fix: update default k8s ver to 1.30 (#2924)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2024-09-17 19:59:35 +00:00
John Payne 05250f1860
fix: Add missing service connection (#3018) 2024-09-17 14:36:23 +00:00
sheylatrudo 64c6c112e3
ci: ACN PR Pipeline Security Feature Branch (#2985)
* ci: Add Main Pipeline Template

* chore: azure-cni-overlay work

* chore: cilium overlay work

* test: cilium overlay E2E

* chore: cni overlay ds work

* chore: cilium ds work

* fixes

* ci: Add ACN Trigger

* ci: Use Git Ref Under Review for Testing

* Use Duplicate Files for Feature Test

* Disable Pipeline Trigger

---------

Co-authored-by: Sheyla Trudo <shtrudo@microsoft.com>
Co-authored-by: jpayne3506 <payne.3506@gmail.com>
2024-09-15 20:20:44 +00:00
John Payne a77d016c10
ci: Unblock k8s 1.30 | ACN v1.6 testing (#3011)
* chore: turn off windows dualstack service tests

* ci: skip dualstack datapath test
2024-09-13 15:33:40 +00:00
John Payne 1351a440c9
[fix] ci: cluster deletion for swiftv2 (#2986)
fix: cluster deletion for swiftv2
2024-09-13 15:13:43 +00:00
Vipul Singh bc46af360c
ci: adding increments of 200 to scale pipeline (#2988) 2024-09-09 13:34:17 +00:00
Camryn Lee 55936d7236
fix: k8s load test scenario for dualstack vs datapath (#2951) 2024-08-22 21:07:45 +00:00
Alexander 1182036a06
ci: run some cni windows uts in the pipeline (#2925)
* make windows uts pass

* separate multitenancy uts for windows into platform specific file

* move ut testing to separate template

* address linter issue

* run windows platform tests

* revert removing test create bridge

* remove parameter from ut template
2024-08-21 18:19:10 +00:00
John Payne 68ede66cfa
[FIX] ci: Update AzCLI task to v2 (#2922)
* ci: Update AzCLI task to v2

* ci: add scriptType: "bash"
2024-08-19 16:51:26 +00:00
John Payne b48007e05b
[fix] ci: Update expected cilium connectivity test namespace (#2926)
* fix: Update expected cilium connectivity test namespace

* ci: leverage --force-deploy to delete old cilium-test resources
2024-08-16 21:47:25 +00:00
John Payne 742ca41659
ci: Add node restart to cniv2 E2E (#2901)
* ci: add node restart to cniv2 E2E

* chore: change directory after scale

* chore: fixup nodepool

* chore: pipeline cleanup

* ci: cleanup test resources

* chore: address comments
2024-08-16 21:47:17 +00:00
QxBytes 6463342435
ci: enable state validation in linux cni v1 (#2898) 2024-08-07 16:24:56 +00:00
sivakami-projects b70d041de2
feat: Create win 2025 images for CNI and CNS using windows servercore insider tags. (#2878)
Squashed commit of all changes for win-ltsc2025
2024-08-02 23:57:50 +00:00
sheylatrudo 8fd638c11a
Add Initial Compliant Pipeline Files (#2870)
Add Minimum Required Yaml for OneBranch

Co-authored-by: Sheyla Trudo <shtrudo@microsoft.com>
2024-07-30 23:36:26 +00:00
John Payne 0bdb3ab76a
ci: [NPM] NPM Conformance Test improvements (#2875)
* ci: Always delete npm conformance clusters

* test: pin k8s suite version

* ci: comment out updated cyclonus

* chore: cleanup yaml
2024-07-24 19:03:36 +00:00
Hunter Gregory c561c895fe
ci: [NPM] speed up Windows conformance and disable Windows Cyclonus/Scale (#2874)
* ci: comment out windows cyclonus and windows scale test

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* ci: slim down windows conformance to 14 tests

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* ci: make sure conformance skips "Linux Only"

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

* ci: conformance was not running test cases due to formatting

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>

---------

Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>
2024-07-24 01:57:02 +00:00
John Payne e28500c0af
ci: Update triggers for NPM pipelines (#2867)
ci: add triggers to npm pipelines
2024-07-22 19:25:45 +00:00
John Payne b29bdac938
ci: Shift E2E cluster creation (#2862)
* ci: shift cluster creation

* chore: change depends on for release test
2024-07-19 16:04:05 +00:00
John Payne 0d294720c7
ci: Unblock nightly pipeline (#2863)
ci: update nightly pipeline
2024-07-18 18:30:39 +00:00
John Payne d814424fbe
ci: Cleanup ACN PR pipeline yaml (#2861)
ci: cleanup PR yaml
2024-07-18 18:30:10 +00:00
Camryn Lee 0a36997d83
ci: add AzureLinux, rdma and ARM64 release test scenarios for cilium dual stack (#2835)
* test azurelinux and arm64 for cilium dual stack

* add dualstack parameter

* add rdma

* add image build for ipv6-hp-bpf

* use daemonset-dualstack.yaml

* typo

* set version ipv6

* add export line

* change node count
2024-07-09 22:27:52 +00:00
John Payne dc0c47439c
ci: Adjust VM usage for CNI Release Test Pipeline (#2837)
ci: Add variables for sku region control
2024-07-09 20:44:00 +00:00
jc2543 0845e4ecea
Fix ACN PR Pipeline failures related to swiftv2 (#2826)
fix stability of pr pipeline

Co-authored-by: Chloe Chen <chlochen@microsoft.com>
2024-07-05 20:41:50 +00:00
Paul Yu 2b2d5904f3
Add default routes k8s windows (#2797)
* Add default routes k8s windows

* add os version flags 2025

* remove unnecessary line

* fix windows 2025 build version

* remove windows 2025 build from this PR

* Update cns/middlewares/k8sSwiftV2_windows.go

Co-authored-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
Signed-off-by: Paul Yu <129891899+paulyufan2@users.noreply.github.com>

* fix a comment linter issue

* fix the feedback to organize log

---------

Signed-off-by: Paul Yu <129891899+paulyufan2@users.noreply.github.com>
Co-authored-by: Kshitija Murudi <kmurudi@microsoft.com>
Co-authored-by: John Payne <89417863+jpayne3506@users.noreply.github.com>
2024-06-21 02:34:04 +00:00
Evan Baker 7d2a7d7b97
fix: move CNS to distroless-iptables base image (#2661)
* fix: move cns to distroless base image
with iptables

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

* fix: add debug container to CNS Pod for tests

Signed-off-by: GitHub <noreply@github.com>

---------

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: GitHub <noreply@github.com>
2024-06-14 17:04:02 +00:00
Andy Chan 7de898b824
feat: New yaml file for updated CNI and CNS version (#2772)
* feat: New yaml file for updated CNI and CNS version

* Use CNS 1.5.28
2024-06-12 00:28:10 +00:00
Camryn Lee aa2577fdf8
ci: build ipv6-hp-bpf in pipeline (#2769)
* build ipv6-hp-bpf img in pipeline

* test binary build

* use sudo

* build separate binaries

* test archives

* combine dockerfiles and build cmds

* setup binary builds

* fix makefile

* parameterize arch for dockerfile cp and library installation
2024-06-11 16:05:07 +00:00
Camryn Lee 7e8b45f4f5
ci: skip async delete for nightly pipeline (#2765)
* skip async delete in nightly pipeline since we use hard version of azure-ipam

* update spacing

* address comment
2024-06-05 19:09:28 +00:00
Camryn Lee 3e10379143
ci: cilium-nightly skip test check-log-errors (#2763)
skip check-log-errors
2024-06-05 19:08:30 +00:00
Camryn Lee 91d1e76e94
ci: skip no-unexpected-packet-drops for cilium dualstack e2e (#2749)
skip no-unexpected-packet-drops for cilium dualstack pr
2024-05-30 17:09:33 +00:00
John Payne 5033a0c9e3
ci: create template for cilium cli install (#2736) 2024-05-17 00:48:16 +00:00
Camryn Lee 512d2d4672
ci: test async delete in cilium stages (#2725)
* add async delete testing to cilium stages

* Revert "revert: async delete changes for azure-ipam (#2346)"

This reverts commit 5b9aaef6ad.

* tidy

* use exit code in script

* add async delete to cilium load test

* tidy
2024-05-17 00:37:52 +00:00
shchen 5e1b2adf6c
Add unblock condition for the swiftv2 tests. (#2738)
* Add unblock condition for the swiftv2 tests.

* Temp commit to convert all the test failure into t.Logf to unblock the pipeline.

* Revert "Temp commit to convert all the test failure into t.Logf to unblock the pipeline."

This reverts commit a4f7d95b54.

* Unblock the pipeline from the swiftv2 result.

* Add the condition to let continue on failures.

* Move the continue on error to the correct place.

* Unblock the pipeline and log the testing result

* Update the continue on error parameter.

* Remove unnecessary part when we have continue on error.

* Remove unnecessary tests and add continue on error.

* Add continue on error parameter.

* remove the comment out code.
2024-05-17 00:37:29 +00:00
John Payne be8804989f
ci: Change ACR Service Connection (#2727) 2024-05-07 20:54:33 +00:00
shchen 893b6e66ed
Swiftv2 e2e tests (#2626)
* tmp commit to test whether the cluster can be set up.

* Resolved merge conflicts.
Update the route.

* Fix the route.

* Remove unnecessary dependency.

* Modify the cluster creation.

* Swift v2 e2e test structure.

* Add variables.

* Fix the format and make it a valid yaml.

* Add datapath tests for swiftv2.

* Link the tests with the pipeline steps.

* Update the testing file name.

* Remove unnecessary comment.

* Fix the pod name

* Sleep before checking the pod.

* Check the pni after baking time.

* Update the vnet name.

* Update the variables value.

* Update the sub tests use.

* Update the cluster name from mt prefix to mta

* Add the vm size.

* Update the token.

* Update the dummy cluster's vnet.

* Add a connection test.

* Update the test file name.

* Add one more pod with delegation network.

* Start 2 mtpod.

* Add the test for mtpod to mtpod connection.

* Include the commented out code for swiftv2 datapath test.

* Update the yaml file format.

* Update the command to run the swiftv2 tests.

* Move tests to the code file.

* Update the dummy cluster since the previous one has been auto deleted.

* Update the IP of the pod.

* Update the host IP in the test part too.

* Separate different test stages.

* Use mtpnc to grep IP.

* Update k to kubectl

* Add mtpnc detailed info.

* Remove the wrong comments.

* Use the script to run the test for now.

* Remove unnecessary variables.

* Update the cluster creation.

* Update parameters.

* Remove unnecessary parameters.

* Update the testing code part to match the script way.

* Remove unnecessary node part.

* Remove the tests from script part.

* Resolve the lint complaint.

* Resume the "Remove AKS Engine storage account usage"
2024-05-07 20:13:00 +00:00
John Payne 72d50cf1b6
ci: match cilium ds cluster create/delete (#2724) 2024-05-01 22:17:55 +00:00
John Payne 1a38ce0c18
ci: Updating k8s test suite for NPM to latest (#2707)
* test: latest k8s test suite

* ci: Update test suite
2024-04-24 22:35:17 +00:00
John Payne f08fcc9f61
ci: Remove path filter from PR pipeline CI triggers (#2681)
ci: Remove path filter for merge queue branches
2024-04-24 22:00:35 +00:00
Thomas Ricci b2ccf3cc5e
[MDNC] New CNI spec to target version 1.4.39.1 (#2702)
* Create azure-cns-cni-1.4.43.1.yaml

adding new cns version for mdnc testing

Signed-off-by: Thomas Ricci <thomaser87@gmail.com>

* Update and rename azure-cns-cni-1.4.43.1.yaml to azure-cns-cni-1.4.39.1.yaml

Signed-off-by: Thomas Ricci <thomaser87@gmail.com>

---------

Signed-off-by: Thomas Ricci <thomaser87@gmail.com>
2024-04-24 21:16:21 +00:00
John Payne b4bf68de65
ci: Remove AKS Engine storage account usage (#2705) 2024-04-24 19:30:20 +00:00
John Payne 7c4e48c8d5
ci: Add Cilium to CNI | LSG Integration Pipeline (#2574)
* ci: Kernel upgrade template

* ci: lsg cni intergration template

* chore: address comments

* ci: add IPAM repo/ver control

* ci: add cilium

* chore: template style

* fix: DAG logic

* ci: finalize changes

* ci: update cilium filepaths

* ci: address comments
2024-03-29 23:19:09 +00:00
John Payne f7f13eb3f6
ci: Add CNI | LSG Integration Pipeline (#2551)
* ci: Kernel upgrade template

* ci: lsg cni intergration template

* chore: address comments

* chore: template style

* ci: clean up env vars

* ci: LSG runtime variables

* ci: lsg cni intergration template

* ci: change logic to check for only 1 kernel type

* test: parameter template

* test: pipeline variable cleanup

* ci: improve upgrade regex

* chore: address integ. comments

* ci: finalize changes
2024-03-20 19:08:09 +00:00
John Payne cc68e88585
ci: update NPM Windows daemonset for k8s version 1.28 (#2622)
* ci: add working directory for k8s 1.28

* ci: match workflows

* ci: use branch daemonset
2024-03-06 18:39:18 +00:00
Camryn Lee 4d90d23c22
ci: cilium dualstack for load test pipeline (#2603)
* adding cilium dualstack to load test pipeline

* updating cni default
2024-03-04 20:35:50 +00:00