-
Notifications
You must be signed in to change notification settings - Fork 260
Long running pipeline #4092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Long running pipeline #4092
Changes from 25 commits
Commits
Show all changes
655 commits
Select commit
Hold shift + click to select a range
613e368
forwardport: fix: add iptables rules for dns in vnet scale cilium cas…
QxBytes 0ce1515
ci: fix check-shadowing not allowed (#3432)
QxBytes cae2305
deps: bump golang.org/x/time from 0.9.0 to 0.10.0 (#3394)
dependabot[bot] f8e4701
feat: add apiserver FQDN to CNS log metadata (#3382)
rbtr 618e8f8
deps: bump golang.org/x/net from 0.34.0 to 0.35.0 (#3408)
dependabot[bot] 18034bb
ci: split dualstack and overlay e2e tests by operating system (#3431)
QxBytes 62c0a86
deps: bump gotest.tools/v3 from 3.5.1 to 3.5.2 (#3402)
dependabot[bot] 7aeb536
deps: bump google.golang.org/protobuf from 1.36.3 to 1.36.4 (#3365)
dependabot[bot] 44853cd
deps: bump github.com/prometheus/common from 0.61.0 to 0.62.0 (#3356)
dependabot[bot] f38e835
deps: bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.8.…
dependabot[bot] f90ed35
fix: zapetw core With fields (#3433)
rbtr c9e69e5
deps: bump github.com/prometheus/client_golang from 1.20.5 to 1.21.0 …
dependabot[bot] aef4c6f
deps: bump google.golang.org/protobuf from 1.36.3 to 1.36.4 in /build…
dependabot[bot] a70fd95
deps: bump google.golang.org/grpc from 1.69.2 to 1.70.0 (#3363)
dependabot[bot] 9ddc5bf
ci: unify windows and linux cluster creation methods (#3436)
QxBytes 34cc959
ci: add k8s yaml deprecation check to nightly (#3379)
jpayne3506 b115b6d
chore: use AppArmorProfile for cilium 1.16 (#3371)
camrynl 805c51b
test: sort npm set policy values before validation (#3358)
QxBytes 9af824a
ci(cyclonus extended): [NPM] fix broken GH action (#3388)
huntergregory b400986
chore: add cilium 1.17 charts (#3413)
camrynl 09c8d94
deps: bump github.com/google/go-cmp from 0.6.0 to 0.7.0 (#3443)
dependabot[bot] f23eda2
ci: [NPM] conformance test for loadbalancer and nodeport services (#3…
huntergregory ebda7f1
deps: bump google.golang.org/protobuf from 1.36.4 to 1.36.5 in /build…
dependabot[bot] 3198d77
deps: bump github.com/spf13/cobra from 1.8.1 to 1.9.1 (#3427)
dependabot[bot] a52d153
deps: bump github.com/avast/retry-go/v4 from 4.6.0 to 4.6.1 (#3442)
dependabot[bot] 4cbaf76
deps: bump google.golang.org/protobuf from 1.36.4 to 1.36.5 (#3441)
dependabot[bot] 47fb4e5
deps: bump github.com/Azure/azure-container-networking from 1.6.20 to…
dependabot[bot] 929cab7
ci: combine go tests such that any test failure will report a failure…
QxBytes 82fe84d
Expose GET NC list API in CNS client (#3449)
smittal22 5aeefac
deps: bump github.com/spf13/cobra from 1.8.1 to 1.9.1 in /dropgz (#3428)
dependabot[bot] 0e94854
tool: validator script for Azure NPM to Cilium migration (#3372)
rayaisaiah b7c260b
feat: cns logger v2 [1/2] (#3437)
rbtr 5829903
[forwardport] [NPM] Forward v1.5 NPM Dockerfile CVE Fixes (#3464)
rayaisaiah e99fa9b
[Swiftv2 L1VH]Add multiple IB NICs UT (#3476)
paulyufan2 96154a4
deps: bump github.com/prometheus/client_golang from 1.21.0 to 1.21.1 …
dependabot[bot] 275729e
fix: [NPM] Reduce/Refactor Noisy NPM Logs (#3468)
rayaisaiah 092c2f5
fix: don't restart HNS if the ARP regkey is not changed (#3498)
rbtr 010ab5d
ci: remove beta kubernetes os selector (#3501)
QxBytes c06c84e
fix: set EnableIPAMv2 to true for current release train (#3502)
jpayne3506 28ba96e
deps: bump github.com/prometheus/common from 0.62.0 to 0.63.0 (#3508)
dependabot[bot] 3ea1b44
chore(deps): bump golang.org/x/net from 0.34.0 to 0.36.0 in /tools/az…
dependabot[bot] 8a00b55
deps: bump google.golang.org/grpc from 1.70.0 to 1.71.0 (#3469)
dependabot[bot] 14c07bf
[PONv6] Add 3 new fields to NC. (#3499)
ecigar13 4398230
ci: remove toolchain usage (#3516)
jpayne3506 2fffe0a
feat: CNS checks apiserver in healthz (#3269)
tyler-lloyd 72c0812
deps: bump golang.org/x/time from 0.10.0 to 0.11.0 (#3479)
dependabot[bot] 6533a70
deps: bump golang.org/x/sync from 0.11.0 to 0.12.0 (#3477)
dependabot[bot] 274efd9
deps: bump github.com/Azure/azure-container-networking from 1.6.21 to…
dependabot[bot] fe655d2
deps: bump golang.org/x/net from 0.35.0 to 0.37.0 (#3480)
dependabot[bot] 04e8c1e
ci: add cilium local redirect policy test to nightly pipeline (#3500)
QxBytes aea8119
fix: modify cleanup path to always delete link (#3519)
QxBytes 888ebb6
ci: release test skip npm k8s e2e linux podsubnet (#3525)
camrynl 0f1bce2
deps: bump google.golang.org/protobuf from 1.36.5 to 1.36.6 (#3532)
dependabot[bot] 2c1c4b8
deps: bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.17.0 t…
dependabot[bot] e887f99
deps: bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 in the go…
dependabot[bot] 2f70325
fix: carefully retry restarting HNS if it hangs (#3529)
rbtr 45e885b
deps: bump github.com/spf13/viper from 1.19.0 to 1.20.1 (#3538)
dependabot[bot] cf2f728
fix: backoff retry and timeouts in HNS restart (#3540)
rbtr 2e5d5a5
chore: remove basic lb due to deprecation on 250930 (#3553)
jpayne3506 b2ec2f2
ci: add fqdn with cilium local redirect policy test (#3543)
QxBytes 44741d1
fix: do not return a StripPrefix handler when building checker (#3559)
tyler-lloyd c7804a1
ci: add code coverage publishing and check to pipeline (#3544)
QxBytes 66963b0
ci: add vnet scale cilium pipeline stage (#3457)
QxBytes 01f297e
ci: skip new test for k8s 1.32 kubectl portforward shutdown (#3558)
camrynl cd12709
ci: Allow manual overwrite of k8s version in CI/CD (#3575)
jpayne3506 06f4b6a
ci: [Service Tags] add public ips with service tags for LBs during cl…
k-routhu 685a0db
deps: bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0 (#3567)
dependabot[bot] c663c4f
deps: bump golang.org/x/net from 0.37.0 to 0.39.0 (#3577)
dependabot[bot] 0c27917
deps: bump github.com/prometheus/client_golang from 1.21.1 to 1.22.0 …
dependabot[bot] 82cbffb
deps: bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.8.…
dependabot[bot] 7cf134b
deps: bump google.golang.org/grpc from 1.71.0 to 1.71.1 (#3545)
dependabot[bot] cdda4b9
deps: bump github.com/containernetworking/cni from 1.2.2 to 1.3.0 (#3…
dependabot[bot] 77a5fb3
deps: bump github.com/prometheus/client_model from 0.6.1 to 0.6.2 (#3…
dependabot[bot] 12b34b7
ci: enable lrp in cilium 1.13 config (#3584)
QxBytes 305a38d
feat: templatize dockerfile base images and auto update (#3397)
rbtr 83a8bce
ci: Populate missing fields in CNS configmap (#3503)
jpayne3506 9519076
ci: set aks preview to 14.0.0b3 (#3607)
QxBytes efc27a1
Revert "ci: set aks preview to 14.0.0b3" (#3618)
jpayne3506 ccec3a3
fix: validate iptable rule exists after calling insert or append ipta…
QxBytes d9e7bd9
ci: Add check for cilium error logs to cilium nightly pipeline (#3592)
jpayne3506 6733e31
fix: only ping k8s for healthz in podsubnet (#3616)
rbtr 549ce3f
revert: [NPM] Remove hostUsers Configuration (#3612)
rayaisaiah 56ddecc
ci: Update ACN Pipeline for Compliance (#3597)
sheylatrudo 0b55ba2
chore: update tolerations in cilium operator manifests, makefile fix …
camrynl 54d4460
ci: create test image vars for release test (#3639)
camrynl b2e27c3
[forwardport] ci: future proof for LTS clusters (#3620) (#3626)
jpayne3506 665a717
deps: bump golang.org/x/crypto from 0.37.0 to 0.38.0 (#3631)
dependabot[bot] 2e363fa
deps: bump github.com/Microsoft/hcsshim from 0.12.9 to 0.13.0 (#3642)
dependabot[bot] c503dca
ci: fix nightly pipeline cluster name reference (#3656)
camrynl c8ccb93
change apipa endpoint gateway back to .1 (#3653)
ZetaoZhuang 91f19c6
[ci] fix: make variable assignment (#3655)
jpayne3506 4240c96
deps: bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.9.…
dependabot[bot] c74f1c1
chore: address todo items in cilium e2e templates (#3675)
camrynl 4e0f0c7
ci: use publish code coverage results v1 (#3647)
QxBytes ebeab2d
deps: bump github.com/prometheus/common from 0.63.0 to 0.64.0 (#3668)
dependabot[bot] 510ced2
deps: bump github.com/vishvananda/netlink from 1.3.0 to 1.3.1 (#3651)
dependabot[bot] f4c4404
chore: updating cilium nightly charts (#3676)
camrynl 12ed048
feat: add cilium nodesubnet target to hack/Makefile (#3677)
santhoshmprabhu e2e6e70
ci: mtu check for cilium e2e (#3624)
camrynl 05f9312
ci: [1/?] Automated version update pipeline (#3667)
jpayne3506 d839d25
revert: [NPM] [CVEs] Revert Manual NPM Linux Dockerfile Package Insta…
rayaisaiah 661e1ec
deps: bump google.golang.org/grpc from 1.71.1 to 1.72.2 (#3686)
dependabot[bot] 23fc53a
ci: Add Binary Signing Task (#3649)
sheylatrudo 214f9f3
fix: use "vEthernet (LoopbackAdapterHostNCConnectivity)" when CNS is …
behzad-mir ceebecf
Fix CNS and CNI ETW log interference issue (#3692)
byte-msft 5d24d64
ci: output manifest tarball with Oras (#3698)
jpayne3506 e1e55f6
deps: bump golang.org/x/time from 0.11.0 to 0.12.0 (#3704)
dependabot[bot] 92da2d8
Fix CNS IP demand overcounting by filtering terminal Pods in IPAMv2 (…
Copilot bfaa941
deps: bump golang.org/x/crypto from 0.38.0 to 0.39.0 (#3703)
dependabot[bot] 29f4b18
deps: bump google.golang.org/grpc from 1.72.2 to 1.73.0 (#3705)
dependabot[bot] 734be99
deps: bump github.com/labstack/echo/v4 from 4.13.3 to 4.13.4 (#3683)
dependabot[bot] d4da996
deps: bump golang.org/x/net from 0.40.0 to 0.41.0 (#3702)
dependabot[bot] 5a59c47
Remove deprecated reviewers field from dependabot.yaml (#3715)
Copilot 39ba51a
deps: bump the go_modules group in /build/tools with 2 updates (#3728)
dependabot[bot] 46819df
Fix golangci-lint config (#3701)
Copilot 1ab5b37
feat: explicit optional compression in dropgz (#3648)
rbtr 4baec58
deps: bump the go_modules group in /azure-ipam with 3 updates (#3690)
dependabot[bot] 896d463
deps: bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.10…
dependabot[bot] 92c9fa7
deps: bump github.com/Azure/azure-container-networking from 1.6.22 to…
dependabot[bot] 8c70b28
[deps] ci: Update Mariner to 3.0 (#3606)
jpayne3506 121419d
feat: add metric for NNC init failures (#3453)
rbtr 1d98d73
fix: let Windows CNS use the InClusterConfig (#3248)
rbtr 8870cc5
feat: cns logger v2 [2/2] (#3438)
rbtr cde7693
chore: remove legacy kube-init and default to CNI state (#3383)
rbtr e0c8997
feat: add azure ip masq merger (#3737)
QxBytes b777219
fix: [NPM] Update Ubuntu Base Image to 24.04 (#3741)
rayaisaiah b11716d
[Service Tags] ci: Update ACN to use Virtual Tags (#3745)
k-routhu b9c6159
deps: bump github.com/prometheus/common from 0.64.0 to 0.65.0 (#3752)
dependabot[bot] 593186b
ci: add azure ip masq merger to pipeline (#3739)
QxBytes afe873d
chore(deps): bump the go_modules group across 2 directories with 1 up…
dependabot[bot] 2c7fb48
ci: exclude azure-ip-masq-merger tags when describing acn version (#3…
QxBytes 5fd94a8
Add HomeAZ to NodeInfoStatus (#3738)
timraymond cf5856e
Fix stale workflow to never close issues and ignore dependabot PRs (#…
Copilot 951ba4e
ci: set default K8S_VER to 1.33 for v1.7 release train (#3757)
jpayne3506 bd7c068
ci: add azure ipam and azure ip masq merger uts to pipeline (#3756)
QxBytes a18163b
Move HomeAZ to NodeInfo Spec (#3762)
timraymond 99c9303
deps: bump sigs.k8s.io/yaml from 1.4.0 to 1.5.0 (#3760)
dependabot[bot] 8eb4bb6
deps: bump the go_modules group with 2 updates (#3764)
dependabot[bot] e474f3a
deps: bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 in…
dependabot[bot] dc78b14
ci: azure-ipam patch upgrade testing (#3678)
camrynl a4c40a5
[Forwardport] [NPM] [CVE] Resolve CVE-2025-6020 (#3766)
rayaisaiah 13dbbe7
feat: refactor cni telemetry (#3149)
QxBytes b71d209
ci: Remove File Copy and Add Image Build Stage to Regular Build (#3769)
sheylatrudo 8897039
fix: update network error msg to match kubelet expectations (#3768)
isaac-dasan a57b994
fix: update error message for MTPNC not found and not ready in CNS (#…
isaac-dasan e97447d
ci: only check for code coverage at merge, not release (#3791)
jpayne3506 2ba3692
fix: combine repeated az aks create fields (#3780)
jpayne3506 d879059
perf: dhcp err msg in network swiftv2 code path (#3793)
isaac-dasan f9167aa
Update Dependabot version constraints for Kubernetes dependencies com…
Copilot 590508b
ci: cleanup Cilium cli and connectivity test usage (#3772)
jpayne3506 2df8da6
ci: Future proof golangci-lint workflow by using dynamic base branch …
Copilot 8d9c7dc
Use Separate Version for Build vs. Source (#3751)
sheylatrudo 78c0a0b
ci: remove bash usage from cilium validation (#3826)
jpayne3506 da1b631
ci: add Dependencies to README (#3827)
jpayne3506 85bfa33
[Forwardport] [NPM] fix: Update Iptables to Legacy (#3782) (#3842)
rayaisaiah eea5f2c
feat: create new telemetry handle that supports connection strings (#…
BeegiiK 1b0350a
deps: bump golang.org/x/crypto from 0.39.0 to 0.40.0 (#3797)
dependabot[bot] fdd6280
deps: bump github.com/AlekSi/gocov-xml from 1.1.0 to 1.2.0 in /build/…
dependabot[bot] 1d1a3d6
chore(deps): bump golang.org/x/oauth2 from 0.24.0 to 0.27.0 in /tools…
dependabot[bot] 9b608eb
ci: add azure iptables monitor pipeline (#3781)
QxBytes 5288128
chore: dependency update (#3890)
rbtr 653f5b5
chore: Clean up release/v1.4 references in master due to EOL (#3884)
jpayne3506 5b2cc72
chore: Remove NPM Windows 2022 Tests from the NPM Conformance Tests (…
rayaisaiah 3e96bda
feat: add cns iptables reconciliation (#3885)
QxBytes c99b983
ci: Enable L7 proxy for cilium nightly pipeline (#3868)
Copilot 39a97f9
deps: bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.10…
dependabot[bot] c1d966d
deps: bump google.golang.org/protobuf from 1.36.5 to 1.36.7 in /build…
dependabot[bot] 49e7c04
feat: Remove symbols from all binaries (#3822)
jpayne3506 3a39c0f
MTPNC CRD changes for NUMA-Aware Infiniband pods (#3878)
pjohnst5 aadfae5
ci: remove stage level pool field, isCustom, from e2e job templates (…
jpayne3506 68db654
chore: Clean Up NPM release/v1.4 in Master Due to EOL (#3887)
rayaisaiah d811ea9
deps: bump google.golang.org/protobuf from 1.36.6 to 1.36.7 (#3907)
dependabot[bot] e73b5a5
deps: bump github.com/Azure/azure-container-networking from 1.7.0 to …
dependabot[bot] 2582194
deps: bump golang.org/x/net from 0.42.0 to 0.43.0 (#3906)
dependabot[bot] cbe7116
feat: iptables block using LSM BPF (#3871)
santhoshmprabhu 9c52178
ci: Unblocking ADO build pipeline (#3860)
apontejaj f450175
deps: bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.18.0 t…
dependabot[bot] 7f54e8a
deps: bump golang.org/x/net from 0.41.0 to 0.42.0 (#3798)
dependabot[bot] 96567e8
deps: bump github.com/spf13/pflag from 1.0.6 to 1.0.7 (#3864)
dependabot[bot] c911c91
deps: bump google.golang.org/grpc from 1.73.0 to 1.74.2 (#3853)
dependabot[bot] 4934430
ci: build cns in release test pipeline (#3869)
camrynl e83458f
feat: add azure iptables monitor binary and makefile changes (#3779)
QxBytes 3c16a83
Update base dockerfile images (#3876)
pjohnst5 1c7ecab
ci: remove windows2019 from release test pipeline (#3870)
camrynl baca11d
deps: bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.18.1 t…
dependabot[bot] 2f5b584
chore: add label and remove reviewers (#3828)
jpayne3506 7bee3ab
deps: bump sigs.k8s.io/yaml from 1.5.0 to 1.6.0 (#3863)
dependabot[bot] d890414
ci: Future proof GitHub merge queue branch trigger for release/* bran…
Copilot d11bef8
deps: bump github.com/prometheus/client_golang from 1.22.0 to 1.23.0 …
dependabot[bot] 32ebdef
chore(deps): bump golang.org/x/oauth2 from 0.21.0 to 0.27.0 in /azure…
dependabot[bot] e78a12d
chore: add more owners to bpf-prog (#3920)
santhoshmprabhu 19bbe1b
feat: rename iptables block binary to azure-block-iptables (#3913)
santhoshmprabhu 80a5d1e
revert: Revert Manual NPM Linux Dockerfile Package Installations (lib…
rayaisaiah 2f0ef1a
feat: Add App Gateway Subnet ID as a field to the Overlay Extension C…
nairashu c3f5d41
feat: include iptables block binary in iptables monitor image (#3945)
santhoshmprabhu c0d6cad
deps: bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 in…
dependabot[bot] efe9e99
deps: bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.18.2 t…
dependabot[bot] 1828f82
deps: bump google.golang.org/grpc from 1.74.2 to 1.75.0 (#3950)
dependabot[bot] d521e28
fix: remove veth pair in vm ns if previously leaked and fix validatio…
QxBytes 7492698
deps: bump github.com/stretchr/testify from 1.10.0 to 1.11.0 (#3961)
dependabot[bot] b4b17a3
CNS API contracts for NUMA-Aware Pods (#3825)
pjohnst5 30b3163
deps: bump google.golang.org/protobuf from 1.36.7 to 1.36.8 (#3956)
dependabot[bot] b08e62b
deps: bump google.golang.org/protobuf from 1.36.7 to 1.36.8 in /build…
dependabot[bot] c48c3a8
feat: update iptables monitor with ipv6 and bpf map reading capabilit…
QxBytes 529c70c
feat: remove jump to swift-postrouting in iptables legacy as rules al…
QxBytes ee22098
deps: bump github.com/stretchr/testify from 1.11.0 to 1.11.1 (#3970)
dependabot[bot] b600499
deps: bump github.com/spf13/pflag from 1.0.7 to 1.0.9 (#3981)
dependabot[bot] dbc0aef
[feat] synchronize NC version with NMA programmed goal state (#3790)
NihaNallappagari bf168c5
[ci] fix: skip failing k8se2e dualstack test (#3993)
jpayne3506 84f9c0b
fix: add code generation to run-unit-tests.stages (#3985)
santhoshmprabhu 8ab6345
deps: bump github.com/stretchr/testify from 1.10.0 to 1.11.1 in /azur…
dependabot[bot] f6dcffc
feat: add terminateOnSuccess flag to iptables monitor (#3995)
QxBytes d39c8ef
deps: bump github.com/spf13/cobra from 1.9.1 to 1.10.1 in /dropgz (#3…
dependabot[bot] 1799f37
deps: bump github.com/spf13/pflag from 1.0.7 to 1.0.10 (#3994)
dependabot[bot] 268103e
ci: add dualstack coverage to LSG-CNI pipeline (#4001)
jpayne3506 8d29a5f
chore: install bpf dependencies before building binaries (#4011)
santhoshmprabhu c1e2535
deps: bump github.com/cilium/ebpf from 0.16.0 to 0.19.0 (#3966)
dependabot[bot] fd30250
chore: update to go1.24 (#3912)
jpayne3506 5f07c1e
Chore: make dependanbot to open one PR for go dependencies update wee…
paulyufan2 8fcfa08
Add v2 zap logger to cns apis (#4003)
pjohnst5 aef87c5
deps: bump the all-go-minor-and-patch group in /azure-ipam with 2 upd…
dependabot[bot] f461ff4
ci: cns patch testing in release pipeline (#3914)
camrynl dcbaf07
feat: snat azure dns traffic to node ip in cns linux (#3930)
QxBytes 44e19f0
feat: Populate homeAZ on nodeInfo CRD (#4009)
carlotaarvela ad03158
ci: add iptables block signed image (#4049)
QxBytes 3d6c0ae
Prefix on nicv6 support (#3658)
NihaNallappagari 19df354
Chore: update k8s.io dependencies (#4042)
paulyufan2 f32ccfe
ci: bump actions/setup-go from 5 to 6 (#3998)
dependabot[bot] e5e6456
deps: bump github.com/Azure/azure-container-networking from 1.7.3 to …
dependabot[bot] ea2c630
ci: reorganize pipeline stages (#4061)
QxBytes 1101660
fix: cilium nightly pipeline set boringcrypto arg in build (#4063)
camrynl db4fddb
ci: bump actions/checkout from 4 to 5 (#3921)
dependabot[bot] 41af225
revert: homeaz on nodeinfocrd (#4065)
carlotaarvela ba6bf9e
Chore: Update GO dependencies (#4064)
paulyufan2 5416c0a
ci: bump github/codeql-action from 3 to 4 (#4067)
dependabot[bot] 7d4d49c
Extending the MTPNC status (#4058)
shreyashastantram 2406ab1
ci: skip portforward in windows dualstack (#4076)
QxBytes cb65c53
ci: add cilium ebpf e2e overlay and podsubnet test (#4073)
QxBytes 4f314c8
Add status to mtpnc crd (#4070)
aggarwal0009 88a574e
CNS Change for Subnet Overlay Expansion Job (#4074)
rejain456 9c8aee8
chore: update dependencies for CVEs (#4093)
paulyufan2 230b7bb
downgrade easyjson GO package to unblock Release build (#4084)
paulyufan2 c24d48d
enable dual NIC support in transparent VLAN (#4057)
mugeshsp 33c2e68
fix: Adding delete timestamp check (#4078)
shreyashastantram 5f4da73
Update GO security dependencies (#4096)
paulyufan2 9c64556
deps: bump golang.org/x/sys from 0.20.0 to 0.21.0 (#2768)
dependabot[bot] 631c6a1
deps: bump golang.org/x/sync from 0.9.0 to 0.10.0 (#3245)
dependabot[bot] 051afa8
create storage account.
9d739d9
disallow shared key access.
e46e84f
change pipeline template.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| trigger: none | ||
|
|
||
| parameters: | ||
| - name: subscriptionId | ||
| displayName: "Azure Subscription ID" | ||
| type: string | ||
| default: "37deca37-c375-4a14-b90a-043849bd2bf1" | ||
|
|
||
| - name: location | ||
| displayName: "Deployment Region" | ||
| type: string | ||
| default: "centraluseuap" | ||
|
|
||
| - name: resourceGroupName | ||
| displayName: "Resource Group Name" | ||
| type: string | ||
| default: "long-run-$(Build.BuildId)" | ||
|
|
||
| - name: vmSkuDefault | ||
| displayName: "VM SKU for Default Node Pool" | ||
| type: string | ||
| default: "Standard_D2s_v3" | ||
|
|
||
| - name: vmSkuHighNIC | ||
| displayName: "VM SKU for High NIC Node Pool" | ||
| type: string | ||
| default: "Standard_D16s_v3" | ||
|
|
||
| - name: serviceConnection | ||
| displayName: "Azure Service Connection" | ||
| type: string | ||
| default: "Azure Container Networking - Standalone Test Service Connection" | ||
|
|
||
| extends: | ||
| template: template/long-running-pipeline-template.yaml | ||
| parameters: | ||
| subscriptionId: ${{ parameters.subscriptionId }} | ||
| location: ${{ parameters.location }} | ||
| resourceGroupName: ${{ parameters.resourceGroupName }} | ||
| vmSkuDefault: ${{ parameters.vmSkuDefault }} | ||
| vmSkuHighNIC: ${{ parameters.vmSkuHighNIC }} | ||
| serviceConnection: ${{ parameters.serviceConnection }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| #!/usr/bin/env bash | ||
| set -e | ||
|
|
||
| SUBSCRIPTION_ID=$1 | ||
| LOCATION=$2 | ||
| RG=$3 | ||
| VM_SKU_DEFAULT=$4 | ||
| VM_SKU_HIGHNIC=$5 | ||
|
|
||
| echo "Subscription id: $SUBSCRIPTION_ID" | ||
| echo "Resource group: $RG" | ||
| echo "Location: $LOCATION" | ||
| echo "VM SKU (default): $VM_SKU_DEFAULT" | ||
| echo "VM SKU (high-NIC): $VM_SKU_HIGHNIC" | ||
| az account set --subscription "$SUBSCRIPTION_ID" | ||
|
|
||
| echo "==> Creating resource group: $RG" | ||
| az group create -n "$RG" -l "$LOCATION" --output none | ||
|
|
||
| # Enable parallel cluster creation | ||
| create_cluster() { | ||
| local CLUSTER=$1 | ||
| echo "==> Creating AKS cluster: $CLUSTER" | ||
|
|
||
| az aks create -g "$RG" -n "$CLUSTER" -l "$LOCATION" \ | ||
| --network-plugin azure --node-count 1 \ | ||
sivakami-projects marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| --node-vm-size "$VM_SKU_DEFAULT" \ | ||
| --enable-managed-identity --generate-ssh-keys \ | ||
| --load-balancer-sku standard --yes --only-show-errors | ||
|
|
||
| echo "==> Adding high-NIC nodepool to $CLUSTER" | ||
| az aks nodepool add -g "$RG" -n highnic \ | ||
| --cluster-name "$CLUSTER" --node-count 2 \ | ||
sivakami-projects marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| --node-vm-size "$VM_SKU_HIGHNIC" --mode User --only-show-errors | ||
|
|
||
| echo "Finished AKS cluster: $CLUSTER" | ||
| } | ||
|
|
||
| # Run both clusters in parallel | ||
| create_cluster "aks-cluster-a" & | ||
| pid_a=$! | ||
|
|
||
| create_cluster "aks-cluster-b" & | ||
| pid_b=$! | ||
|
|
||
| # Wait for both to finish | ||
| wait $pid_a $pid_b | ||
|
|
||
| echo "AKS clusters created successfully!" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| #!/usr/bin/env bash | ||
| set -e | ||
| trap 'echo "[ERROR] Failed during NSG creation." >&2' ERR | ||
|
|
||
| SUBSCRIPTION_ID=$1 | ||
| RG=$2 | ||
| LOCATION=${3:-centraluseuap} | ||
|
|
||
| VNET_A1="cx_vnet_a1" | ||
| NSG_NAME="${VNET_A1}-nsg" | ||
|
|
||
| echo "==> Creating Network Security Group: $NSG_NAME" | ||
| az network nsg create -g "$RG" -n "$NSG_NAME" -l "$LOCATION" --output none \ | ||
| && echo "NSG $NSG_NAME created." | ||
|
|
||
| echo "==> Adding NSG rules" | ||
|
|
||
| # Allow SSH from any | ||
| az network nsg rule create \ | ||
sivakami-projects marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| -g "$RG" \ | ||
| --nsg-name "$NSG_NAME" \ | ||
| -n allow-ssh \ | ||
| --priority 100 \ | ||
| --source-address-prefixes "*" \ | ||
| --destination-port-ranges 22 \ | ||
| --direction Inbound \ | ||
| --access Allow \ | ||
| --protocol Tcp \ | ||
| --description "Allow SSH access" \ | ||
| --output none \ | ||
| && echo "Rule allow-ssh created." | ||
|
|
||
| # Allow internal VNet traffic | ||
| az network nsg rule create \ | ||
sivakami-projects marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| -g "$RG" \ | ||
| --nsg-name "$NSG_NAME" \ | ||
| -n allow-vnet \ | ||
| --priority 200 \ | ||
| --source-address-prefixes VirtualNetwork \ | ||
| --destination-address-prefixes VirtualNetwork \ | ||
| --direction Inbound \ | ||
| --access Allow \ | ||
| --protocol "*" \ | ||
| --description "Allow VNet internal traffic" \ | ||
| --output none \ | ||
| && echo "Rule allow-vnet created." | ||
|
|
||
| # Allow AKS API traffic | ||
| az network nsg rule create \ | ||
sivakami-projects marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| -g "$RG" \ | ||
| --nsg-name "$NSG_NAME" \ | ||
| -n allow-aks-controlplane \ | ||
| --priority 300 \ | ||
| --source-address-prefixes AzureCloud \ | ||
| --destination-port-ranges 443 \ | ||
| --direction Inbound \ | ||
| --access Allow \ | ||
| --protocol Tcp \ | ||
| --description "Allow AKS control plane traffic" \ | ||
| --output none \ | ||
| && echo "Rule allow-aks-controlplane created." | ||
|
|
||
| echo "NSG '$NSG_NAME' created successfully with rules." | ||
23 changes: 23 additions & 0 deletions
23
.pipelines/swiftv2-long-running/scripts/create_peerings.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| #!/usr/bin/env bash | ||
| set -e | ||
| trap 'echo "[ERROR] Failed during VNet peering creation." >&2' ERR | ||
|
|
||
| RG=$1 | ||
| VNET_A1="cx_vnet_a1" | ||
| VNET_A2="cx_vnet_a2" | ||
| VNET_A3="cx_vnet_a3" | ||
| VNET_B1="cx_vnet_b1" | ||
|
|
||
| peer_two_vnets() { | ||
| local rg="$1"; local v1="$2"; local v2="$3"; local name12="$4"; local name21="$5" | ||
| echo "==> Peering $v1 <-> $v2" | ||
| az network vnet peering create -g "$rg" -n "$name12" --vnet-name "$v1" --remote-vnet "$v2" --allow-vnet-access --output none \ | ||
| && echo "Created peering $name12" | ||
| az network vnet peering create -g "$rg" -n "$name21" --vnet-name "$v2" --remote-vnet "$v1" --allow-vnet-access --output none \ | ||
| && echo "Created peering $name21" | ||
| } | ||
|
|
||
| peer_two_vnets "$RG" "$VNET_A1" "$VNET_A2" "A1-to-A2" "A2-to-A1" | ||
| peer_two_vnets "$RG" "$VNET_A2" "$VNET_A3" "A2-to-A3" "A3-to-A2" | ||
| peer_two_vnets "$RG" "$VNET_A1" "$VNET_A3" "A1-to-A3" "A3-to-A1" | ||
| echo "VNet peerings created successfully." | ||
sivakami-projects marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| #!/usr/bin/env bash | ||
| set -e | ||
| trap 'echo "[ERROR] Failed during Storage Account creation." >&2' ERR | ||
|
|
||
| SUBSCRIPTION_ID=$1 | ||
| LOCATION=$2 | ||
| RG=$3 | ||
|
|
||
| RAND=$(openssl rand -hex 4) | ||
| SA1="sa1${RAND}" | ||
| SA2="sa2${RAND}" | ||
| API_VER="2025-06-01" | ||
|
|
||
| # Create storage accounts | ||
sivakami-projects marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| for SA in "$SA1" "$SA2"; do | ||
| echo "==> Creating storage account $SA" | ||
sivakami-projects marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| az rest --method put \ | ||
| --url "https://management.azure.com/subscriptions/$SUBSCRIPTION_ID/resourceGroups/$RG/providers/Microsoft.Storage/storageAccounts/$SA?api-version=$API_VER" \ | ||
| --body "{ | ||
| \"location\": \"$LOCATION\", | ||
| \"sku\": { \"name\": \"Standard_LRS\" }, | ||
| \"kind\": \"StorageV2\", | ||
| \"properties\": { | ||
| \"minimumTlsVersion\": \"TLS1_2\", | ||
| \"allowBlobPublicAccess\": false, | ||
| \"allowSharedKeyAccess\": false | ||
| } | ||
| }" \ | ||
| && echo "Storage account $SA created successfully." | ||
| done | ||
|
|
||
| echo "All storage accounts created successfully." | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| #!/usr/bin/env bash | ||
| set -e | ||
| trap 'echo "[ERROR] Failed while creating VNets or subnets. Check Azure CLI logs above." >&2' ERR | ||
|
|
||
| SUBSCRIPTION_ID=$1 | ||
| LOCATION=$2 | ||
| RG=$3 | ||
|
|
||
| az account set --subscription "$SUBSCRIPTION_ID" | ||
|
|
||
| # VNets and subnets | ||
| VNET_A1="cx_vnet_a1" | ||
| VNET_A2="cx_vnet_a2" | ||
| VNET_A3="cx_vnet_a3" | ||
| VNET_B1="cx_vnet_b1" | ||
|
|
||
| A1_S1="10.10.1.0/24" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are these hardcoded.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think they would need to be anyways, what's the alternative? |
||
| A1_S2="10.10.2.0/24" | ||
| A1_PE="10.10.100.0/24" | ||
|
|
||
| A2_MAIN="10.11.1.0/24" | ||
sivakami-projects marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| A2_PE="10.11.100.0/24" | ||
|
|
||
| A3_MAIN="10.12.1.0/24" | ||
| A3_PE="10.12.100.0/24" | ||
|
|
||
| B1_MAIN="10.20.1.0/24" | ||
|
|
||
| # A1 | ||
| az network vnet create -g "$RG" -n "$VNET_A1" --address-prefix 10.10.0.0/16 --subnet-name s1 --subnet-prefix "$A1_S1" -l "$LOCATION" --output none \ | ||
| && echo "Created $VNET_A1 with subnet s1" | ||
| az network vnet subnet create -g "$RG" --vnet-name "$VNET_A1" -n s2 --address-prefix "$A1_S2" --output none \ | ||
| && echo "Created $VNET_A1 with subnet s2" | ||
| az network vnet subnet create -g "$RG" --vnet-name "$VNET_A1" -n pe --address-prefix "$A1_PE" --output none \ | ||
| && echo "Created $VNET_A1 with subnet pe" | ||
|
|
||
| # A2 | ||
| az network vnet create -g "$RG" -n "$VNET_A2" --address-prefix 10.11.0.0/16 --subnet-name s-A2 --subnet-prefix "$A2_MAIN" -l "$LOCATION" --output none \ | ||
sivakami-projects marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| && echo "Created $VNET_A2 with subnet s-A2" | ||
| az network vnet subnet create -g "$RG" --vnet-name "$VNET_A2" -n pe --address-prefix "$A2_PE" --output none \ | ||
sivakami-projects marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| && echo "Created $VNET_A2 with subnet pe" | ||
|
|
||
| # A3 | ||
| az network vnet create -g "$RG" -n "$VNET_A3" --address-prefix 10.12.0.0/16 --subnet-name s-A3 --subnet-prefix "$A3_MAIN" -l "$LOCATION" --output none \ | ||
| && echo "Created $VNET_A3 with subnet s-A3" | ||
| az network vnet subnet create -g "$RG" --vnet-name "$VNET_A3" -n pe --address-prefix "$A3_PE" --output none \ | ||
| && echo "Created $VNET_A3 with subnet pe" | ||
|
|
||
| # B1 | ||
| az network vnet create -g "$RG" -n "$VNET_B1" --address-prefix 10.20.0.0/16 --subnet-name s-B1 --subnet-prefix "$B1_MAIN" -l "$LOCATION" --output none \ | ||
| && echo "Created $VNET_B1 with subnet s-B1" | ||
|
|
||
| echo "All VNets and subnets created successfully." | ||
125 changes: 125 additions & 0 deletions
125
.pipelines/swiftv2-long-running/template/long-running-pipeline-template.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,125 @@ | ||
| parameters: | ||
| - name: subscriptionId | ||
| type: string | ||
| - name: location | ||
| type: string | ||
| - name: resourceGroupName | ||
| type: string | ||
| - name: vmSkuDefault | ||
| type: string | ||
| - name: vmSkuHighNIC | ||
| type: string | ||
| - name: serviceConnection | ||
| type: string | ||
|
|
||
| stages: | ||
| - stage: AKSClusterAndNetworking | ||
| displayName: "Stage: AKS Cluster and Networking Setup" | ||
| jobs: | ||
| # ------------------------------------------------------------ | ||
| # Job 1: Create AKS Cluster | ||
| # ------------------------------------------------------------ | ||
| - job: Create_AKS | ||
sivakami-projects marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| displayName: "Create AKS Clusters" | ||
| pool: | ||
| vmImage: ubuntu-latest | ||
| steps: | ||
| - checkout: self | ||
| - task: AzureCLI@2 | ||
| displayName: "Run create_aks.sh" | ||
| inputs: | ||
| azureSubscription: ${{ parameters.serviceConnection }} | ||
| scriptType: bash | ||
| scriptLocation: scriptPath | ||
| scriptPath: ".pipelines/swiftv2-long-running/scripts/create_aks.sh" | ||
| arguments: > | ||
| ${{ parameters.subscriptionId }} | ||
| ${{ parameters.location }} | ||
| ${{ parameters.resourceGroupName }} | ||
| ${{ parameters.vmSkuDefault }} | ||
| ${{ parameters.vmSkuHighNIC }} | ||
|
|
||
| # ------------------------------------------------------------ | ||
| # Job 2: Create VNets | ||
| # ------------------------------------------------------------ | ||
| - job: Create_VNets | ||
| displayName: "Create VNets" | ||
| dependsOn: Create_AKS | ||
| pool: | ||
| vmImage: ubuntu-latest | ||
| steps: | ||
| - checkout: self | ||
| - task: AzureCLI@2 | ||
| displayName: "Run create_vnets.sh" | ||
| inputs: | ||
| azureSubscription: ${{ parameters.serviceConnection }} | ||
| scriptType: bash | ||
| scriptLocation: scriptPath | ||
| scriptPath: ".pipelines/swiftv2-long-running/scripts/create_vnets.sh" | ||
| arguments: > | ||
| ${{ parameters.subscriptionId }} | ||
| ${{ parameters.location }} | ||
| ${{ parameters.resourceGroupName }} | ||
|
|
||
| # ------------------------------------------------------------ | ||
| # Job 3: Create Peerings | ||
| # ------------------------------------------------------------ | ||
| - job: Create_Peerings | ||
| displayName: "Create Peerings" | ||
| dependsOn: Create_VNets | ||
| pool: | ||
| vmImage: ubuntu-latest | ||
| steps: | ||
| - checkout: self | ||
| - task: AzureCLI@2 | ||
| displayName: "Run create_peerings.sh" | ||
| inputs: | ||
| azureSubscription: ${{ parameters.serviceConnection }} | ||
| scriptType: bash | ||
| scriptLocation: scriptPath | ||
| scriptPath: ".pipelines/swiftv2-long-running/scripts/create_peerings.sh" | ||
| arguments: > | ||
| ${{ parameters.resourceGroupName }} | ||
|
|
||
| # ------------------------------------------------------------ | ||
| # Job 4: Create Storage | ||
| # ------------------------------------------------------------ | ||
| - job: Create_Storage | ||
| displayName: "Create Storage" | ||
| dependsOn: Create_AKS | ||
| pool: | ||
| vmImage: ubuntu-latest | ||
| steps: | ||
| - checkout: self | ||
| - task: AzureCLI@2 | ||
| displayName: "Run create_storage.sh" | ||
| inputs: | ||
| azureSubscription: ${{ parameters.serviceConnection }} | ||
| scriptType: bash | ||
| scriptLocation: scriptPath | ||
| scriptPath: ".pipelines/swiftv2-long-running/scripts/create_storage.sh" | ||
| arguments: > | ||
| ${{ parameters.subscriptionId }} | ||
| ${{ parameters.location }} | ||
| ${{ parameters.resourceGroupName }} | ||
|
|
||
| # ------------------------------------------------------------ | ||
| # Job 5: Create NSG | ||
| # ------------------------------------------------------------ | ||
| - job: Create_NSG | ||
| displayName: "Create Network Security Groups" | ||
| dependsOn: Create_VNets | ||
| pool: | ||
| vmImage: ubuntu-latest | ||
| steps: | ||
| - checkout: self | ||
| - task: AzureCLI@2 | ||
| displayName: "Run create_nsg.sh" | ||
| inputs: | ||
| azureSubscription: ${{ parameters.serviceConnection }} | ||
| scriptType: bash | ||
| scriptLocation: scriptPath | ||
| scriptPath: ".pipelines/swiftv2-long-running/scripts/create_nsg.sh" | ||
| arguments: > | ||
| ${{ parameters.subscriptionId }} | ||
| ${{ parameters.resourceGroupName }} | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.