Mathew Merrick
fa8f665ab5
ci: add windows build pool and NPM windows dockerfile ( #1073 )
...
* build pool windows
2021-11-05 10:30:09 -07:00
Evan Baker
4a4370b0be
chore: tidy up nmagent client for context timeouts ( #1056 )
...
* chore: tidy up nmagent client for context timeouts
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* address review feedback
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* fix tests
* change integration test timeout to 1h
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* guard against nil in wireserver util
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* read body
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* correct durations
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-10-21 13:14:03 -05:00
Paul Johnston
c64c5ab04a
Azure cns windows dockerfile ( #1043 )
...
* cns windows dockerfile and make target
2021-10-14 15:42:56 -07:00
Paul Johnston
f595b53ad3
chore: moving order of GOOS and GOARCh env sets in makefile ( #1037 )
2021-09-30 12:52:36 -07:00
Paul Johnston
3f97a3040f
Arm64 docker ( #1030 )
...
* chore: making docker images arch agnostic through docker buildx
2021-09-28 14:17:25 -07:00
Hunter Gregory
fe23878507
Remove test coverage ( #1007 )
...
* removed test/ and testutil/ from code coverage
* remove promutil from coverage
* removed tools/ from code coverage
* removed crd/ from code coverage and updated multitenantnetworkcontainer's manifest
* switch to !ignore_NAME syntax for test and cli tags
* add coverage back to crd (besides autogenerated files)
* rename ignore_test and ignore_cli tags to ignore_uncovered
* make cns/fakes/ uncovered
* mark go files in crd api folders as uncovered again
* add main.go back for nnsmock server
2021-09-17 15:29:40 -07:00
Paul Johnston
43d1d463ed
Makefile windows ( #758 )
...
* chore: making makefile windows compatible
2021-09-17 15:05:32 -07:00
Evan Baker
c8f3f53137
test cns config and hns linux stub ( #1005 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-09-16 20:25:40 -05: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
Mathew Merrick
836ee3810e
feat: [NPM] Add config file and feature toggles ( #979 )
...
* package case
* package restructure
* add default config and toggles
* lint
2021-09-01 09:03:24 -07:00
Evan Baker
4dfefd0045
update to tools and Makefile ( #965 )
2021-08-09 09:57:59 -07:00
Evan Baker
fc88940256
chore: update controller-runtime ( #957 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-07-30 12:28:21 -05:00
Evan Baker
617f898b12
fix: bump minimum cni to 1.4.7 for reconcile flow ( #948 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-07-20 18:06:35 -05:00
Mathew Merrick
f2e763050d
fix: [CNI] handle getting endpoints when state file is empty ( #916 )
...
* handle empty state file
* update tests
* restore
* fix: add custom unmarshaller for struct with embedded custom interface type
* mkdir images
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2021-06-30 17:54:43 -07:00
Mathew Merrick
b138a42410
chore: remove hardcoded envs from makefile ( #913 )
2021-06-28 13:07:21 -07:00
Mathew Merrick
6dfaa607e1
chore: disable cgo when building ACN artifacts ( #906 )
2021-06-21 14:46:36 -07:00
Evan Baker
030a522c7a
fix: lint changes vs the default branch only ( #902 )
2021-06-21 14:34:26 -07:00
Mathew Merrick
ae9aedcfdf
[CNI] Parse CNI version in CNI client ( #899 )
...
* get CNI version
* update makefile to produce cni-manager image
* return proper type
2021-06-18 10:20:03 -07:00
Evan Baker
5e534da4bf
feat: add golangci to build tools ( #896 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-06-14 13:08:26 -05:00
Mathew Merrick
b09ca83ef7
[CNI] Add GET_ENDPOINT_STATE command to dump CNI state to stdout ( #891 )
...
* inital dump state and ipam interface update
* add reconcile command to CNI
* add integration test
* pass endpoint id on add
* address some feedback
* fix test path and linting
* address feedback and logging
* remove return and rename to PodEndpointID
2021-06-11 14:01:42 -07:00
Evan Baker
16b3645937
feat: add more status fields to the nodenetworkconfig: status, allocated IPs, subnets ( #889 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-06-04 11:57:33 -05:00
Pengfei Ni
de466f58e7
feat: add multi-tenant NetworkContainer controller ( #876 )
2021-06-03 20:49:00 -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
Evan Baker
7f2cfc7b74
feat: use go mod to download tools like controller-gen ( #884 )
2021-05-28 11:34:04 -05:00
Mathew Merrick
3bc1a1f00e
[CI] Add Cyclonus to merge validation ( #860 )
2021-05-04 23:51:45 -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
9365272a02
Aks swift test update ( #838 )
...
* AKS-Swift-test update to use underlay in runners sub
2021-04-02 13:24:01 -07:00
msvik
28cf37bc9d
CNI changes to support baremetal scenario ( #835 )
...
* Modify CNI for windows baremetal scenario in Azure
* Fix the CNI result for baremetal case
* Addressed PR comments from Tamilmani and Ramiro
* Remove azure-telemetry.exe from cni-baremetal package
* Fix formatting in logging
* Addressed Ramiro's PR review comments
* Formatting fix in printf
Co-authored-by: VK <abc@gmail.com>
2021-03-26 10:28:42 -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
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
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
Paul Johnston
c3aa60f7f9
chore: updating the base cnms image to reach compliance ( #759 )
...
* chore: updating the base cnms image to reach compliance
2020-12-23 15:00:33 -08:00
Paul Johnston
fb3481ded3
Show codecoverage for entire repo ( #754 )
...
* test: include all packages in code coverage report
2020-12-16 13:25:15 -08:00
Mathew Merrick
2bb1fd9af5
fix: Move acncli to hack and update error message ( #748 )
...
* fix: update acncli error message
* fix: acncnli move to hack
2020-12-10 18:06:53 -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
Mathew Merrick
3eb5f3cb1f
feat: produce Azure CNI Swift tarball ( #711 )
2020-10-29 10:32:21 -07:00
Mathew Merrick
7bd8a2644d
Add "acn" cli tool to install and manage Azure CNI ( #688 )
...
* tail azure-vnet.logs
* dockerfile update
* installer fixes
* remove external deps
* move to cli design
* manager cmd
* update vendor
* minor fixes
* logs
* update makefile
* Update manager-master.yaml
* Update manager-agent.yaml
2020-10-20 14:00:40 -07:00
Mathew Merrick
41232c134d
CNI using CNS IPAM ( #597 )
...
* Configure CNI to use CNS IPAM
2020-09-29 14:43:19 -07:00
neaggarwMS
de95ffc399
Pass HostInterface PrimaryIP info to CNI ( #662 )
...
* Pass HostPrimaryInterface details to CNS
2020-08-21 14:04:50 -07:00
Paul Johnston
1d02a91420
Dockerfile for cns container ( #636 )
...
* CNS dockerfile for Aks Swift
2020-07-31 11:34:50 -07:00
Mathew Merrick
dc37410502
Pipeline update ( #627 )
...
* pipeline update
* dockerfile update
* ipset update
2020-07-23 23:21:49 -07:00
neaggarwMS
8b14462489
Removed example directory
2020-07-23 08:40:13 -07:00
neaggarwMS
9d6a137de0
Fix build
2020-07-23 08:40:13 -07:00
neaggarwMS
8a32ddc462
Run the complete unit test suite in CNI
2020-07-17 12:26:19 -07:00
neaggarwMS
8e073e5f94
Enable restserver tests, commented faulty tests for now
2020-07-17 12:26:19 -07:00
Mathew Merrick
644642b100
CNS IPAM for CNI ( #584 )
...
* Add IPAM to CNS for CNI
2020-07-13 17:37:49 -07:00
Paul Johnston
a15ff461c6
Request controller for CNS ( #583 )
...
* NewRequestController and StartRequestController
* Making Start Manager in go routine
* Lookup HOSTNAME env var
* Adding cnsipaminterface.go
* Created requestController interface and implemented updating CRD
* fix windows 1903 test apimodel.json (#585 )
* Avoiding redundant calls into cns by only watching for status updates in reconcile loop, ignoring spec updates in reconcil loop. Also adding ability for updating CRD spec through k8sRequestController methods
* fixing comments
* Cleaned up code and added more comments
* Made client interface for testing purposes and changed structure of files to be less folder-y
* Addressed comments from Paul Miller and Wei
* Beginning unit tests
* Finished unit tests
* Fixing pipeline issues
* found issue, fixed HOSTNAME environment variable dependency
* review changes requested
* more review changes
* Addressed changes from yesterday's review
* Changing makefile line to run correct package
* Addressed Matt Long's suggestions
Co-authored-by: Mathew Merrick <matmerr@users.noreply.github.com>
2020-07-02 11:42:59 -07:00
PrIce Qian
7b5e817bd8
Improving and adding CNI unit tests ( #543 )
...
* Add ipam/pool_test.go & add network/*test.go
* add testing ./network/ in Makefile
* fix context
2020-06-26 14:16:45 -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