Mathew Merrick
dfddb2092d
save image tarballs as pipeline artifacts ( #1394 )
...
* skopeo save
2022-05-23 11:44:06 -07:00
Jaeryn
bc4a72fab1
Use default build pool for AKS-Swift ( #1387 )
...
Co-authored-by: Jaeryn <tsun.chu@microsoft.com>
2022-05-18 13:26:10 -05:00
Jaeryn
dbb4f68393
build: Add Windows CNS & NPM as Part of Multi-Arch Manifest ( #1345 )
...
* add windows cns manifest to multi arch image
* try to use generic windows template w/ containerize stage in pipeline
* try and use buildah to pull images
* update manifest build and push for buildah
* create manifest by referencing images instead of pulling to avoid OS mismatch error
* remove unused windows-image.yaml
* remove REGISTRY var and use IMAGE_REGISTRY from makefile
Co-authored-by: Jaeryn <tsun.chu@microsoft.com>
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2022-05-05 15:32:53 -07:00
Evan Baker
6394cf6707
build multiplat manifests with buildah ( #1356 )
...
* build multiplat manifests with buildah
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* copy container in to docker-daemon cache and re-enable trivvy
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* set -e
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-05-04 18:18:26 -05:00
Evan Baker
7122dc246d
pull images from mcr ( #1347 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-04-26 17:42:45 -05:00
Jaeryn
bfe5d082d6
test: Add WS2022 Test to Pipeline ( #1299 )
...
* Adding ws2022 tests
* add eof newline
* bumping orchestrator releas/version
* use containerd v1.6.2
* trying different orchestrator versions
* update pipeline template to pull aks-e from private release
* updating image reference
* Exposing ws2022 e2e gallery/image subscription and version as pipeline variables
* Enabling host process containers in api server config
Co-authored-by: Jaeryn <tsun.chu@microsoft.com>
2022-04-21 17:37:36 -07:00
Evan Baker
77dfdcf2af
update to go1.18 ( #1281 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-04-04 16:49:49 -05:00
Vamsi Kalapala
db645e5f6b
fix: [tests] temporarily disable Windows Dualstack e2e ( #1315 )
2022-04-01 16:33:41 -07:00
Vamsi Kalapala
d762bc0bf3
test: adding back Swift e2e pipeline ( #1279 )
2022-03-14 23:31:31 +00:00
Mathew Merrick
d40b2930a6
NPM build with CGO enabled and temporarily disable swift e2e ( #1275 )
...
* pull stack trace on crash
* enable cgo
* remove swift pipeline temporarily
* remove cleanup dependency
2022-03-14 09:08:17 -07:00
Hunter Gregory
c44187c175
test: [NPM] Stress Testing & Fix Conformance Logs ( #1264 )
...
* test logs
* wip
* add IS_STRESS_TEST to matrix
* finish
* Copy instead of move kubeconfig
* fix folder name
* Fix folder name again
* sleep and fix published folder
* should be done
* rearrange and exit properly
* test exit code
* finalized
* make num parallel jobs a global setting
2022-03-08 10:19:23 -08:00
Evan Baker
8f9d6b32d6
use fully-qualified image names in all Dockerfiles ( #1248 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-02-24 12:08:13 -06:00
Evan Baker
467eacd4ea
update cyclonus workflow ( #1246 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-02-16 14:30:17 -06:00
Evan Baker
09c06b01e1
Parameterize Makefile, parallelize platform builds, support buildah ( #1102 )
...
* templatize the container make targets
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* add container push to npm conformance task
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* update pipelines
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* default OS and ARCH to GOOS and GOARCH
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-02-15 19:00:04 -06:00
Hunter Gregory
667743d79f
fix: [NPM] fix incorrect ipset create, fix 1-off prometheus logic, and add cache checking for UTs ( #1202 )
...
* wip
* dont touch v1 metrics code and fix lints
* add comment and comment code to resolve lint
* optimize looping and dirty cache updates
* address comments and change param type of modifyCacheForKernelMemberUpdate to reduce map lookups
* add exec time metrics
* UTs
* fix lints
* initialize metrics in policymanager tests
* fix bug in publishing npm logs
2022-02-01 14:47:20 -08:00
tamilmani1989
b988bef9fb
updated dualstack rgname ( #1204 )
2022-01-23 19:23:54 -08:00
bohuini
34db93a4af
Added SBOM Generator tool to pipeline ( #1196 )
2022-01-13 16:33:04 -08:00
tamilmani1989
ea3bc46c69
windows dualstack pipeline ( #1170 )
...
* windows dualstack pipeline
* temporarily commented build images and tests
* fixed if else
* adding back change removed wrongly due to conflict
* updated artifact name
* updated rg name based on OS
* updated cluster name and artifacts
2021-12-30 11:31:10 -08:00
Vamsi Kalapala
cfc1eecb0a
fix: [NPM] fix conformance pipeline NPM Logs name ( #1171 )
...
* fix: [NPM] fix conformance pipeline NPM Logs name
* dummy testing logs folder name
* fixing folder name
2021-12-13 12:54:47 -08:00
tamilmani1989
697984a9c9
ci: [CNI dualstack] Added e2e test pipeline for linux dualstack scenario ( #1156 )
...
* e2e pipeline for linux dualstack
* separated into jobs
* fixed template
* indent fix
updated stage name
* disabled build image and run test
* added dependency for cleanup
* added cmds to debug
* updated clone step
* moved to task for deploying aks-engine cluster
* updated container image
* added debug log
* fixed cmd
* updated env rg
* using forked aks-engine version
* reverting the changes
* dnprefix to be auto generated
* updated dns prefix
* get one region
* reversed if-else
* updated node count
2021-12-09 10:00:50 -08:00
Hunter Gregory
ed4aa371c3
test: [NPM] conformance tests for multiple profiles ( #1138 )
...
* mtest: run conformance for npm profiles in parallel
* update dependsOn field
* FIXME updating trigger for pipeline run for now
* Revert "FIXME updating trigger for pipeline run for now"
This reverts commit dce5ac2fbd
.
* fix yaml compile error
* shorten cluster name because it was too long
* remove test for v1-place-azure-chain-first profile
* remove always() condition for cleanup and publish kubeconfig artifact
* rename kubeconfig artifact name
* try putting kubeconfig in the published npmlogs folder
2021-12-08 11:33:55 -08:00
Mathew Merrick
537b11cc34
feat: add image and manifest for windows npm ( #1098 )
...
* add image and manifest for windows npm
2021-12-02 09:55:36 -08:00
Mathew Merrick
4658dfd395
retry ci ( #1134 )
2021-11-30 13:57:54 -06:00
Mathew Merrick
fa8f665ab5
ci: add windows build pool and NPM windows dockerfile ( #1073 )
...
* build pool windows
2021-11-05 10:30:09 -07:00
Mathew Merrick
7c2aa30b7a
ci: update e2e apimodel to 2004 ( #1068 )
...
* chore: update apimodel to 2004
2021-10-22 13:20:43 -07:00
aegal
e1c9176c36
adding honeycomb-dev branch to p.r triggers ( #1051 )
2021-10-12 08:25:50 -07:00
Evan Baker
1b86e8db99
reenable the swift e2e pipeline ( #1042 )
...
* reenable the swift e2e pipeline
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* go mod tidy and vendor
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* bump to go1.17
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* vendor
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* try running on host
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* drop -test from pipeline versions
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* update retrier
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-10-05 18:49:27 -05:00
Paul Johnston
3f97a3040f
Arm64 docker ( #1030 )
...
* chore: making docker images arch agnostic through docker buildx
2021-09-28 14:17:25 -07:00
Paul Johnston
36d975b08f
Adding a build stage for arm64 cni ( #990 )
...
* Making multi-platform make target and integrating it into PR pipeline
2021-09-08 14:46:32 -07:00
neaggarwMS
03119d28ed
Update pipeline.yaml for Azure Pipelines
2021-08-31 12:35:56 -07:00
neaggarwMS
7c195d2bdf
Update pipeline.yaml for Azure Pipelines
...
Removing AKS on Swift until we unblock underlay
2021-08-31 12:28:56 -07:00
Mathew Merrick
9b24dbd95a
test: [NPM] Use fakeexec for ipsm and iptm tests ( #868 )
...
* iptmgr
* more iptm testing
* grep call
* progress
* progress
* ipsm
* ioshim
* update tests
* package restructure
* fix broken test and delint
* reduce scope of ioshim
* reduce scope of ioshim
* ioshim scope
* require no error, retrigger ci
* ut return multiple results
* fix tests from master changes
* unexport ioshim
* update ut
* fix tests
* vendor
* test fix
* go version
* go version
* pipeline fixes
* fix tests
2021-07-14 12:53:45 -07:00
Evan Baker
ee7538cf5f
chore: update to go1.16 ( #887 )
...
* chore: update to go1.16 for embed
* chore: update github.com/docker/libnetwork dependency to fix logrus package casing issue
* feat: move build-time binary dependencies to build/tools and compile locally
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-06-03 11:18:21 -05:00
Mathew Merrick
8c661d2d1d
[NPM] Update client-go vulnerabilities and add Trivy to CI ( #872 )
2021-05-25 13:37:30 -07:00
Mathew Merrick
a736954e7a
chore: Remove CodeCov from CI ( #853 )
...
* Remove codecov and use service connections
2021-04-22 13:09:31 -07:00
Mathew Merrick
d929d1acb0
chore: Specify CI build pool name ( #841 )
...
* Specify pool name
2021-04-13 11:00:49 -07:00
Paul Johnston
0cf6ed8c3d
Cleanup artifacts dir ( #847 )
...
* Cleanup artifacts dir
2021-04-02 15:52:34 -07:00
Paul Johnston
9365272a02
Aks swift test update ( #838 )
...
* AKS-Swift-test update to use underlay in runners sub
2021-04-02 13:24:01 -07:00
Mathew Merrick
fe66f5b03e
[build] Makefile update to generate image tarballs in artifacts ( #804 )
...
Consolidate CNS docker files into 1 only, and output docker images to neat images directory as part of build for release purposes
2021-03-25 14:08:02 -07:00
Mathew Merrick
a0c36fe50b
[fix] IPset fail if set doesn't exist when attempting to add to list ( #828 )
...
* ipset fail if set doesn't exist when attempting to add to list
* bail out on add to set when ip is empty
* check set type when adding to list
* revert checking nil value
* fix test build issues
* additional ip check
* ip check with parseip
* prometheus count
* delete from set checks
* delete from set checks
* log on skipping pod
* logging pipeline
* npm logs ci
2021-03-24 10:50:52 -07:00
Vamsi Kalapala
455f5cb9f0
[NPM] Decoupling resource cache maps from NSmap ( #820 )
...
* first pass at decoupling resource maps
* First pass on decoupling resource maps
* Adding telemetry capabilities to resource CRUD events
* Initializing new maps in nprMgr for tests
* Initializing new maps in nprMgr for tests
* Adding artifact for Npm logs
* Addressing comments
* Addressing comments
2021-03-15 16:08:42 -07:00
Mathew Merrick
ea07e4f4a7
[ci] Remove Windows 1809 E2E definition ( #818 )
2021-03-11 15:28:42 -08:00
Vamsi Kalapala
ba8394046d
[NPM] Caching ability for Pods and NS ( #814 )
...
* First pass at implementing pod cache
* handling namedports in case of pod update
* Correcting print error
* Cleaning up pod cache update event. moving pod cache to nsMAP
* Correcting namespace prefix
* Adding in checks on protlists and Podips
* changing some variable names
* changing some variable names
* Adding resource versions checks for Pod, NS and netpols
* fixing some tests
* changing ResourceVersion to uint64 and cleaning up oldpodobj references
* rearranging hostneptol and correcting a UT failure
* Fixing the hostnet pod UT
* Addressing comments
* fixing UT
* Fixing UTs
* correcting pod delete failure bug
* Fixing clean up bug
* Handling hostnet pods in Delete pod
* Addressing comments and ficing a panic error
2021-03-08 10:19:22 -08:00
Mathew Merrick
4a17414888
Update npm-conformance-tests.yaml ( #800 )
2021-02-24 12:47:51 -08:00
Mathew Merrick
d78002d3c0
[build] Update pipeline and enable debug symbols in bins ( #793 )
...
* add symbols, add gcflags, update timeouts, only show azure core errors
2021-02-23 12:58:49 -08:00
Mathew Merrick
073ec24fca
[ci] Add NPM Conformance Test Pipeline ( #792 )
...
* [ci] Add NPM conformance pipeline
2021-02-19 10:52:21 -08:00
Mathew Merrick
73ae4e0325
chore: update tools directory and deployments ( #779 )
2021-02-09 17:56:37 -08:00
Mathew Merrick
39c9ad3a72
test: Add Swift Testing Pipeline ( #712 )
...
* Add new Swift test scenarios
2021-01-20 11:00:32 -08:00
Mathew Merrick
c499075742
chore: Update pipeline yaml, replace hardcoded registries to env's ( #744 )
...
* fix: replace hardcoded image env's to env's
2020-12-02 11:26:08 -08:00
Vamsi Kalapala
52b030f41d
Merge branch 'master' into vakr/cns_lb_mnat
2020-11-11 16:43:58 -08:00
Matthew Long
eab521d616
update cns tag in yaml ( #719 )
...
* update cns tag in yaml
* pipeline cleanup
Co-authored-by: Matthew Long <Matthew.Long@microsoft.com>
Co-authored-by: Matthew Long <matlong@microsoft.com>
2020-11-04 12:27:44 -08:00
Mathew Merrick
a9c7d6e684
fix: Add missing CNI invoker delete calls ( #696 )
...
* fix missing invoker delete calls
* pipeline debug
* fix nil on delete
* another nil check
2020-10-29 18:03:44 -07:00
Mathew Merrick
fd16fcc6a7
Bring Goldpinger tests to ACN ( #710 )
...
* bring in goldpinger tests
Co-authored-by: Ramiro Gamarra <ragamarr@microsoft.com>
* add integration build tags
* yaml formatting
* remove unnecessary logging line
Co-authored-by: Ramiro Gamarra <ragamarr@microsoft.com>
2020-10-28 23:39:27 -07:00
vakr
e9e0686608
Adding in export function to checkk all test env variables
2020-09-30 15:38:59 -07:00
Mathew Merrick
41232c134d
CNI using CNS IPAM ( #597 )
...
* Configure CNI to use CNS IPAM
2020-09-29 14:43:19 -07:00
Paul Johnston
7aad2e4bd2
test: set DEBUG_CRASHING_PODS=true to stop skipping restart test ( #679 )
2020-09-22 17:35:55 -07:00
Mathew Merrick
a510782478
Move E2E's to separate stage ( #677 )
...
* remove job from e2e
* break to stages
2020-09-22 16:16:11 -07:00
Mathew Merrick
b41ae2a04a
Prepare artifacts stage ( #628 )
2020-07-24 14:01:06 -07:00
Mathew Merrick
dc37410502
Pipeline update ( #627 )
...
* pipeline update
* dockerfile update
* ipset update
2020-07-23 23:21:49 -07:00
Jaeryn
942ce4adaa
Updating pipeline image with necessary libs and bumping up base image version to 20.04LTS ( #586 )
...
Co-authored-by: Jaeryn <tsun.chu@microsoft.com>
2020-06-23 16:14:27 -07:00
Mathew Merrick
9f3478f828
Add codecov.yml ( #559 )
...
* add codecov.yml
* add race flag to tests
* make covermode atomic
2020-05-09 08:19:37 -07:00
tamilmani1989
aed0d716b9
Azure CNI Windows dualstack support ( #557 )
...
* windows ipv6 changes
* addressed compilation issues
* return fix
* type error
* updated pipeline.yaml
* removed -mod=vendor
* updated pipeline yaml
* fixed pipeline.yaml
* fixed pipeline.yaml
* updated function name as per comment
2020-05-07 11:40:46 -07:00
Mathew Merrick
00da4e2393
Change pipeline storage account ( #541 )
...
* update pipeline
* update pipeline
* k8s version 1.17 in test
* update pipeline timeout
2020-04-07 17:19:05 -07:00
Jaeryn
38dc38e898
Move NPM from dep to go mod ( #539 )
...
* Moving NPM to use gomod
* Vendoring via go mod
* add more npm tests
* remove go dep specific commands
* adding pipeline changes
2020-04-06 16:18:17 -07:00
Mathew Merrick
79d8758228
ipv6 don't reserve gateway address ( #537 )
2020-04-02 20:24:51 -07:00
Mathew Merrick
d2ba9bb2f3
IPv6 Node IPAM ( #532 )
...
* switch to go mod
* pull node spec from apiserver
* carve v6 addresses
* address pool
* update go mod vendor
* build image
* build image
* build image
* separate go mod for npm
* add manager ipv6 ipam test
* added comments and addressed feedback
* address comments
* address comments
* address comments
* check if loaded
* address comments
* update pipeline
* update pipeline
* update test message
Co-authored-by: Ubuntu <azureuser@k8s-agentpool1-23761303-0.2w0jm2xwiahebmp33klngrlq1d.xx.internal.cloudapp.net>
2020-04-02 11:01:05 -07:00
Mathew Merrick
358736681c
Upgrade packages at image build time ( #504 )
...
* upgrade packages at image build time
* update pipeline to use MCR
* use mcr
* use mcr
* use mcr
* use mcr
* use mcr
* use mcr
* env
* env
* update pipeline
* update pipeline
* update pipeline
* update pipeline
* update pipeline
* update pipeline
* update pipeline
* update pipeline
* update pipeline
* update pipeline
* update pipelines
* update pipelines
* update pipelines
2020-02-21 13:38:14 -08:00
Mathew Merrick
c5163cf63a
Test NPM in E2E ( #478 )
...
* update pipeline to test dirty NPM
2020-02-14 11:09:54 -08:00
Mathew Merrick
a59a9aa92b
Use prebuilt artifacts in E2E ( #474 )
...
* update e2e to reuse pipeline artifacts
* install ginkgo
* update e2e config for apiserver
* add clean up step
* aks-engine version
* aks-engine version
* aks-engine version
* aks-engine version
* aks-engine version
* aks-engine version
* aks-engine version
* aks-engine version
2020-01-14 13:35:38 -08:00
Mathew Merrick
2c0ae6d723
Allow egress all and ingress all without target set ( #435 )
...
* allow all egress and ingress without drop
* remove comment breaks
* update test
* remove sleep and socket cleanup
* address feedback
* all namespaces
* fix tests
* update npm test
* aks-engine
* aks-engine
* pipeline
* pipeline
* pipeline
* pipeline
* remove comment breaks
* remove comment breaks
* remove comment breaks
* remove comment breaks
* pipeline
* pipeline
* pipeline
* pipeline
* pipeline
* pipeline
* pipeline
* pipeline
* pipeline
* pipeline
* pipeline
* pipeline
* pipeline
2019-11-14 11:11:11 -08:00
Mathew Merrick
d0a9343e75
Persist cluster configs in AZP ( #426 )
...
* update cluster configs for more version testing
2019-10-29 14:12:44 -07:00
Mathew Merrick
0b8d516d91
Fix AZP artifact names ( #415 )
...
* update pipeline.yaml
2019-09-30 17:54:24 -07:00
Mathew Merrick
923b7d5cff
E2E CI ( #403 )
...
* E2E Azure Pipelines config
2019-09-30 10:16:12 -07:00
Mathew Merrick
c44e775344
NPM test fixes + Azure Pipelines ( #402 )
...
Initial Azure Pipelines config, run pipeline tests in container, CNM and NPM fixes
2019-09-20 16:15:08 -07:00