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

123 Коммитов

Автор SHA1 Сообщение Дата
Alexander 3ed0bcd0ca
ci: add wait before adding windows nodepool if cluster is in updating state (#3065)
* add windows node template first pass

* wait for cluster to exit updating state before adding windows nodepool

* remove change made for testing

* fix naming

* address feedback
2024-10-10 21:00:17 +00:00
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
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
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 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
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
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
Evan Baker d0a50a65c0
fix: test v1.5 train on k8s 1.28 (#2564)
* fix: test main/v1.5 branch on k8s 1.28

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

* 1.28 ds changes

* ci: specify vars for envsubst

---------

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Co-authored-by: jpayne3506 <payne.3506@gmail.com>
2024-02-15 22:29:24 +00:00
Camryn Lee e419d2fcbd
chore: create directory for cilium 1.12 templates (#2582)
* add v1.12 files to its own directory

* update e2e scripts

* overlay cilium e2e changes

* update load template

* update configmap path

* move call to configmap

* remove hubble config from 1.12 dir
2024-02-15 17:06:11 +00:00
John Payne 3d95a18e86
ci: Replace k8s conformance tests within aks-swift CI (#2590)
ci: k8se2e for aks-swift
2024-02-14 22:43:09 +00:00
Camryn Lee a12222bd1a
ci: parameterize cilium 1.14 templates (#2562)
* parameterize version cilium 1.14.x for pipelines

* fix tag substitution

* update dualstack step

* update load test template
2024-02-12 17:16:14 +00:00
rjdenney 0ac2938f2a
ci:Adding cilium dualstack overlay pipeline steps (#2418)
* adding cilium dualstack overlay pipeline steps

* changing step order

* remove dropgz step

* add CNS instead of azurevnet

* add v6 CNS state file test

* remove nightly pipeline

* removing nightly and adding v6 to cilium linux validate

* fix func name

* removing unneeded steps

* addressing comments

* remove 120 timeout

* cluster type to dualstack-byocni-nokubeproxy-up

* setting to INSTALL_OVERLAY

* using make to get azure-ipam nad cns

* fixing yaml in cil dual steps

* update step

* skipping bad step for cilium dualstack

* update variable name

* CNI type

* remove file path

* fixing CNI versions

* removing log outputs

* change step

* adding cd in directory before running validate

* hostport to false

* further update

* add cilium to dualstack test name
2024-02-05 20:31:05 +00:00
John Payne 8b5a956db8
ci: Replace make test-integration [2/2] (#2554)
ci: capture missed e2e
2024-01-27 04:13:07 +00:00
John Payne d2f142fd90
ci: Replace make test-intergration within ACN PR pipeline (#2463)
* ci: change CNS integration

* ci: output pod status before/after CNS
2024-01-26 20:01:11 +00:00
Mike Zappa ef2ae4be38
Enable Hubble in PR pipeline with additional stage (#2534)
enable hubble in pr with additional stage
2024-01-25 17:53:55 +00:00
John Payne de5824f6dd
ci: Cleanup Dual OS ACN PR pipeline step templates (#2482)
* ci: cleanup dual OS templates

* ci: add dynamic windows vmsku to overlay

* fix: overlay dependson

* revert: test-load changes

* ci: enable multple OS log template in same stage
2024-01-09 19:19:02 +00:00
John Payne d7a616b5e6
ci: Add k8s conformance tests to Cilium CI/CD (#2348)
* ci: add k8s conformance

* ci: remove kubetest2 k8se2e

* chore: remove test comments

* ci: add k8se2e to nightly pipeline
2024-01-06 15:43:58 +00:00
Vipul Singh 9eb2891fdf
ci: fix for cilium connectivity merged upstream (#2424)
Signed-off-by: Vipul Singh <singhvipul@microsoft.com>
2023-12-07 16:46:37 +00:00
John Payne d89bf59698
fix: replace nightly params (#2408) 2023-11-21 15:35:06 -08:00
Evan Baker e61fca8c68
chore: migrate to azure-cni and azure-ipam from dropgz-test (#2372)
chore: migrate to azure-cni from dropgz-test

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-11-20 21:59:16 -06:00
Vipul Singh 4d00edd688
ci: bypass metric check for cilium nightly (#2393)
Signed-off-by: Vipul Singh <singhvipul@microsoft.com>
2023-11-16 21:42:48 +00:00
Camryn Lee 93309990e3
ci: validate async delete (#2379)
* test async delete in pipeline

* test in swift stage only

* check cns patch is removed

* fix syntax in patch check
2023-11-14 00:22:14 +00:00
John Payne 402e5c7625
ci: Skip cilium encryption tests (#2377)
ci: skip encryption tests
2023-11-10 05:54:48 +00:00
John Payne 3c026f264a
fix: Match Cilium CLI to Cilium Agent (#2365)
* fix: Match Cilium CLI to Cilium Agent

* ci: Capture single digit versions
2023-11-09 02:28:19 +00:00
John Payne 9e07bd36d1
fix: Cilium CLI version (#2362) 2023-11-07 22:27:41 +00:00
John Payne f373a56d7f
ci: Parameterize dropgz input for all Release pipeline scenarios (#2354)
* fix: parameterize dropgz input

* ci: verbose output for cniv1
2023-11-07 07:14:05 +00:00
John Payne 36c96ad3d2
ci: Move E2E runtime variables from job level to stage (#2305)
ci: Move E2E runtime variables to stage
2023-11-06 13:52:48 -08:00
John Payne d1a03ba32f
ci: Add k8s conformance to cilium E2E | Increase test timeouts cilium connectivity test (#2347)
ci: increase test timeout
2023-11-02 18:55:09 -07:00
Camryn Lee a54369ef6f
ci: remove unused cilium files (#2334)
* remove unused cilium files

* remove creation of cilium/configmap in overlaye2e and scale tests
2023-10-28 18:08:32 +00:00
Paul Yu b65b051155
[cni]: dualstack overlay hostIP issue hotfix (#2290)
* dualstack overlay hostIP issue
2023-10-27 21:35:59 +00:00
Quang Nguyen 9c3cdfbaa4
fix: Using retryOnConflict to fix v4overlay scale tests failing. (#2314)
* fix: ctry using retryOnConflict for v4overlay scale test

* fix: typo
2023-10-27 00:50:49 +00:00
John Payne 29502bc7d0
fix: Pipeline agent image update from 18.04 to 22.04 | AzSecPack (#2327)
* Use ResolveCtl for Ubuntu22.04

* test: debug

* test: XDG dir

* ci: Remove sudo for testvalidate

* ci: remove sudo dualstack

* ci: remove test scripts

* fix: lint

---------

Co-authored-by: Sheyla Trudo <shtrudo@microsoft.com>
2023-10-26 15:54:08 -07:00
jshr-w 996c3fe363
ci: move hubble connectivity tests to nightly pipeline (#2310)
* [test] add hubble system test to CI (#2265)

* cilium configmap

* update hubble configs and add metrics test

* update pipeline yaml

* separate cilium+hubble config

* ci: move hubble connectivity test to nightly pipeline

* fix: move to correct file

* style: indentation change

* ci: update configmap to enable Hubble

* fix: move hubble test

* fix: move connectivity test before delete

* fix: add daemonset namespace

* fix: update command for configmap replace

* test no restart after replace

* fix: try apply instead of replace

* fix: add back restart ds

* add longer timeout after ds restart

* adjust timeout setup

* extend timeout, add logging

* add logging, change cm command

* update hubble configmap

* clean up sleep statements

* remove hubble connectivity test from PR pipeline

* use kubernetes utils

* fix style

Signed-off-by: jshr-w <144164353+jshr-w@users.noreply.github.com>

* update ds restart wait

* enable Hubble on nightly, disable on PR

* tag networkobservability test

* fix test call

* enable Hubble after Cilium is ready

* change location of hubble enable

---------

Signed-off-by: jshr-w <144164353+jshr-w@users.noreply.github.com>
Co-authored-by: Mathew Merrick <matmerr@users.noreply.github.com>
2023-10-20 05:56:45 +00:00
John Payne ce5c12b390
ci: Replace manual install of kubectl with ADO KubectlInstaller task (#2307)
* ci: remove kubectl install

* ci: add KubectlInstaller for kubectl
2023-10-19 15:16:35 +00:00
John Payne 5866205788
fix: change artifact naming convention (#2278)
* fix: matching template artifacts

* test: jobName Parameter

* ci: capture all test namespaces
2023-10-06 14:03:00 -07:00
Paul Yu 728dbb3bc6
ci: v4overlay conformance test cases (#2274)
v4overlay conformance test cases
2023-10-05 03:07:07 +00:00
Paul Johnston 7a5cb5eda8
chore: install ip-masq-agent as part of overlay cns scenarios (#2273) 2023-10-05 00:58:14 +00:00
John Payne f061370a24
ci: Agent pool default set at stage level (#2272) 2023-10-04 20:44:35 +00:00
John Payne 64f01b2740
ci: Add log template to PR and Load Test Pipeline (#2264)
* Initial commit

* add: log paths and label to priv. daemonset

* add: log template

* add: log template to load-test yamls

* remove: kubeconfig calls

* add: capture failed pods on job failure

* add: Linux state files

* add: Windows state files

* style: change terminal output

* add: log template to PR pipeline

* fix: rebase

* style: add comments to log-template

* chore: Addressing Comments

* add: sub-directories

* ci: Only call log-template on fail for PR
2023-10-03 16:51:12 -07:00
Paul Yu 35a6f89215
ci: dualstack overlay windows test cases (#2262)
* dualstack overlay windows test cases
2023-10-02 18:22:42 -04:00
Paul Yu 78a577c11b
v4overlay windows test cases (#2187)
* feat: adding in v4overlay windows tests

* chore: address feedback

* fix: addressing feedback

---------

Co-authored-by: Paul Johnston <johnstonpaul801@gmail.com>
2023-09-27 16:36:48 -07:00