Skip to content

Commit 7f00a57

Browse files
chore: backport changes from kubefleet repo 7/02 (Azure#1154)
2 parents e1dc421 + 723280e commit 7f00a57

File tree

97 files changed

+9777
-1240
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+9777
-1240
lines changed

.github/.copilot/breadcrumbs/2025-06-13-1500-scheduler-binding-interface-refactor.md

Lines changed: 537 additions & 0 deletions
Large diffs are not rendered by default.

.github/.copilot/breadcrumbs/2025-06-19-0800-scheduler-patch-functions-unified-refactor.md

Lines changed: 486 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/ci.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
paths-ignore: [docs/**, "**.md", "**.mdx", "**.png", "**.jpg"]
1414

1515
env:
16-
GO_VERSION: '1.23.8'
16+
GO_VERSION: '1.24.4'
1717

1818
jobs:
1919
detect-noop:
@@ -86,6 +86,18 @@ jobs:
8686
HUB_SERVER_URL: 'https://172.19.0.2:6443'
8787

8888
e2e-tests:
89+
strategy:
90+
fail-fast: false
91+
matrix:
92+
customized-settings: [default, custom]
93+
include:
94+
- customized-settings: default
95+
# to shorten the test duration, set the resource snapshot creation interval to 0
96+
resource-snapshot-creation-minimum-interval: 0m
97+
resource-changes-collection-duration: 0m
98+
- customized-settings: custom
99+
resource-snapshot-creation-minimum-interval: 30s
100+
resource-changes-collection-duration: 15s
89101
runs-on: ubuntu-latest
90102
needs: [
91103
detect-noop,
@@ -119,7 +131,11 @@ jobs:
119131
120132
- name: Run e2e tests
121133
run: |
122-
make e2e-tests
134+
if [ "${{ matrix.customized-settings }}" = "default" ]; then
135+
make e2e-tests
136+
else
137+
make e2e-tests-custom
138+
fi
123139
env:
124140
KUBECONFIG: '/home/runner/.kube/config'
125141
HUB_SERVER_URL: 'https://172.19.0.2:6443'
@@ -129,4 +145,6 @@ jobs:
129145
# TO-DO (chenyu1): to ensure a vendor-neutral experience, switch to a dummy
130146
# property provider once the AKS one is split out.
131147
PROPERTY_PROVIDER: 'azure'
148+
RESOURCE_SNAPSHOT_CREATION_MINIMUM_INTERVAL: ${{ matrix.resource-snapshot-creation-minimum-interval }}
149+
RESOURCE_CHANGES_COLLECTION_DURATION: ${{ matrix.resource-changes-collection-duration }}
132150

.github/workflows/code-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
env:
1616
# Common versions
17-
GO_VERSION: '1.23.8'
17+
GO_VERSION: '1.24.4'
1818

1919
jobs:
2020

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Harden Runner
15-
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
15+
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
1616
with:
1717
egress-policy: audit
1818

.github/workflows/markdown-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: gaurav-nelson/github-action-markdown-link-check@v1
14+
- uses: tcort/github-action-markdown-link-check@v1
1515
with:
1616
# this will only show errors in the output
1717
use-quiet-mode: 'yes'

.github/workflows/trivy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
MEMBER_AGENT_IMAGE_NAME: member-agent
1919
REFRESH_TOKEN_IMAGE_NAME: refresh-token
2020

21-
GO_VERSION: '1.23.8'
21+
GO_VERSION: '1.24.4'
2222

2323
jobs:
2424
export-registry:

.github/workflows/upgrade.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
paths-ignore: [docs/**, "**.md", "**.mdx", "**.png", "**.jpg"]
1818

1919
env:
20-
GO_VERSION: '1.23.8'
20+
GO_VERSION: '1.24.4'
2121

2222
jobs:
2323
detect-noop:

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
run:
22
timeout: 15m
3-
go: '1.23.8'
3+
go: '1.24.4'
44

55
linters-settings:
66
stylecheck:

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,10 @@ e2e-tests-v1alpha1: create-kind-cluster run-e2e-v1alpha1
217217

218218
.PHONY: e2e-tests
219219
e2e-tests: setup-clusters
220-
cd ./test/e2e && ginkgo -v -p .
220+
cd ./test/e2e && ginkgo --label-filter="!custom" -v -p .
221+
222+
e2e-tests-custom: setup-clusters
223+
cd ./test/e2e && ginkgo --label-filter="custom" -v -p .
221224

222225
.PHONY: setup-clusters
223226
setup-clusters:

0 commit comments

Comments
 (0)