Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
163 commits
Select commit Hold shift + click to select a range
0007dd0
improve nodepool conversion (#2080)
Jun 18, 2024
e645696
improve concurrent workers parameter for service topology endpointsli…
Jun 26, 2024
da49fc4
feat: improve concurrent workers parameter for yurtappset controller …
Jun 26, 2024
293ef12
feat: improve concurrent workers parameter for yurtcoordinatorcert co…
Jun 26, 2024
0fa908b
feat: improve concurrent workers for raven controllers (#2089)
Jun 26, 2024
7d3a74c
feat: improve metrics of yurthub component (#2091)
Jun 26, 2024
7ec6485
feat: add autonomy manager (#2033)
vie-serendipity Jul 11, 2024
46fcc54
feat: add version metrics for yurt-manager and yurthub (#2094)
Jul 16, 2024
4ea067d
feat: add typos check in ci workflow and fix typo errors. (#2095)
Jul 16, 2024
38171bc
fix: upload autonomy status correctly (#2096)
vie-serendipity Jul 16, 2024
b3ff015
improve rbac settings of yurt-manager component (#2097)
Jul 16, 2024
beae373
feat: cleanup cert/key info in tls config for ensuring service accoun…
Jul 16, 2024
3008f5b
feat: improve image tag and git version for building openyurt images …
Jul 16, 2024
57d87de
upgrade OpenYurt to v1.5 (#2100)
Jul 17, 2024
07266e0
fix goreleaser run error (#2101)
Jul 17, 2024
e24a7e1
fix appVersion to v1.5.0 and sync charts to openyurtio/charts (#2104)
Jul 25, 2024
2a50b58
feat: use secrets.SYNC_OPENYURTIO_CHARTS_KEY to sync charts to openyu…
Jul 26, 2024
32ec572
feat: enable trigger sync charts manually (#2106)
Jul 26, 2024
fb6e6c6
fix(iot): the mount type of hostpath for localtime in napa (#2110)
LavenderQAQ Aug 3, 2024
d39c46c
fix: codecov not valid tokenless upload (#2112)
YTGhost Aug 4, 2024
dadab08
feat: Upgrade platformadmin's yurtappset dependencies to v1beta1 (#2103)
YTGhost Aug 4, 2024
9c272f2
fix: Downgrade codecov cli to v0.6.0 (#2122)
YTGhost Aug 9, 2024
fe80e4b
feat: add platformadmin ut with tongyilingma (#2120)
leossteven Aug 12, 2024
d269ba9
feat: add ut by tongyilingma (#2123)
leossteven Aug 14, 2024
3cff6f4
feat: add ut by tongyilingma and fix some error message (#2126)
leossteven Aug 19, 2024
734da95
upgrade expired QR code (#2130)
Aug 19, 2024
16f42fb
Proposal: build iot system configuration isolation on nodepool([#1597…
WoShiZhangmingyu Aug 19, 2024
0fc2db4
Create platformadmin-old.png
WoShiZhangmingyu Aug 22, 2024
5948836
Add files via upload
WoShiZhangmingyu Aug 22, 2024
91ec869
Add files via upload
WoShiZhangmingyu Aug 22, 2024
faa2c1f
Proposal: build iot system configuration isolation on nodepool(openyu…
WoShiZhangmingyu Aug 22, 2024
ba2c25d
Proposal: build iot system configuration isolation on nodepool(openyu…
WoShiZhangmingyu Aug 22, 2024
47608ad
Proposal: build iot system configuration isolation on nodepool(openyu…
WoShiZhangmingyu Aug 22, 2024
8d0efdf
Proposal: build iot system configuration isolation on nodepool(openyu…
WoShiZhangmingyu Aug 22, 2024
d301dd3
Proposal:– Build iot system configuration isolation on nodepool(#1597)
WoShiZhangmingyu Aug 26, 2024
6a88490
Merge pull request #2 from WoShiZhangmingyu/proposal1597
WoShiZhangmingyu Aug 27, 2024
3b5ee51
Add test unit cases for util (#2131)
monikahu Aug 27, 2024
fab05b6
Proposal: build iot system configuration isolation on nodepool(#1597)
WoShiZhangmingyu Aug 27, 2024
8272893
Add files via upload
WoShiZhangmingyu Aug 27, 2024
43e1da4
Add files via upload
WoShiZhangmingyu Aug 27, 2024
fbfa01f
proposal: Node-level Traffic Reuse Capability (#2060)
AxisCraft Aug 28, 2024
a32eb64
Proposal: build iot system configuration isolation on nodepool(#1597)
WoShiZhangmingyu Aug 30, 2024
7763e7c
Update picture
WoShiZhangmingyu Sep 4, 2024
2b3c249
Updated the version and version description of IoT API
WoShiZhangmingyu Sep 16, 2024
2fad346
Update CHANGELOG.md (#2154)
paulzhn Sep 23, 2024
9072600
add proposal for enhancing edge autonomy (#2155)
Oct 10, 2024
4ee88a5
Add yurthub service env updater filter (#2165)
techworldhello Oct 16, 2024
f2869f7
fix: create abspath dir in case that contents is empty (#2164)
vie-serendipity Oct 20, 2024
0041df0
feat: set transform to strip managedfields for informer (#2149)
vie-serendipity Oct 21, 2024
1f50b64
fix: update scorecard link (#2102)
fengshunli Oct 21, 2024
09b1ab1
[yurthub] support cache response for partial object metadata requests…
Oct 21, 2024
d3c7aad
fix: masterservice missing clusterIPs field. (#2173)
fungaren Oct 21, 2024
549c765
proposal: enhance operational efficiency of K8s cluster in user's IDC…
huangchenzhao Oct 28, 2024
9e2331e
build iot system configuration isolation on nodepool(openyurtio#1597)
WoShiZhangmingyu Oct 29, 2024
2e47650
fix: update controller-gen version to fix make manifests bugs and fix…
LavenderQAQ Oct 30, 2024
3b5b276
chore: adapt ci to golang 1.21
LavenderQAQ Oct 30, 2024
6fc6a53
Merge pull request #2147 from WoShiZhangmingyu/issue1597
LavenderQAQ Oct 30, 2024
750f834
Merge pull request #2135 from WoShiZhangmingyu/Proposal#1597
LavenderQAQ Oct 30, 2024
bea50af
feat: add local mode for YurtHub to enhance operational efficiency of…
huangchenzhao Oct 30, 2024
3f1f88b
feat: update dependencies to 1.30 (#2179)
vie-serendipity Nov 11, 2024
0492789
using the kubeconfig flag in controller-runtime. (#2193)
AxisCraft Nov 22, 2024
d3ddc37
add events when no nodepool match with loadbalancerset services. (#2195)
AxisCraft Nov 23, 2024
09078b4
feat: add node autonomy duration to lifecycle controller (#2201)
tnsimon Nov 26, 2024
192ee6e
fix: move notFoundError to notExistError (#2213)
fungaren Dec 2, 2024
57164bb
feat: add endpoints webhook for node autonomy (#2211)
tnsimon Dec 2, 2024
5cc4f7b
update openssf best parctices badge (#2208)
Dec 3, 2024
71f6092
Add endpointslice webhook for node autonomy (#2218)
techworldhello Dec 10, 2024
9232551
Modify safety reporting Email (#2214)
AxisCraft Dec 10, 2024
8eed50b
doc: update contributing.md (#2210)
YTGhost Dec 10, 2024
1ff3533
fix: support cache response for partial object metedata watch request…
Dec 10, 2024
be26727
fix: add codeowners file for openyurt (#2224)
Dec 11, 2024
ab990e8
fix: bug of yurtappset always the last tweaks make effect (#2229)
vie-serendipity Dec 12, 2024
d6aeb2f
add roadmap of 2024 for openyurt (#2227)
JameKeal Dec 23, 2024
2432e74
fix: CRD WebhookConversion respect WEBHOOK_HOST env (#2217)
fungaren Dec 23, 2024
ea999d4
fix: go lint errors (#2235)
luc99hen Dec 29, 2024
e83f8ab
Implement multiplexer proxy. (#2141)
AxisCraft Jan 2, 2025
290d189
feat: improve pod binding controller (#2241)
Jan 5, 2025
cea4306
feat: improve filter chain and FilterFinder interface (#2242)
Jan 6, 2025
b94aea8
fix: endpointslices belongs to discovery.k8s.io group (#2244)
Jan 6, 2025
3217403
fix add pod request into reconcile queue instead of node (#2245)
Jan 6, 2025
ff392b1
upgrade kind cluster to 1.30 for e2e. (#2249)
AxisCraft Jan 6, 2025
8ebfd94
feat: disable nodelifecycle controller by default (#2246)
Jan 7, 2025
3f04e0b
release openyurt v1.6.0 (#2250)
AxisCraft Jan 7, 2025
beab71c
update go version to 1.22.3 for setup-go action. (#2252)
AxisCraft Jan 7, 2025
253f430
proposal: reuse list/watch requests in the nodepool for reducing clou…
Jan 8, 2025
9ba1d5e
docs: update contributing link and pub date (#2265)
luc99hen Jan 9, 2025
d918606
fix: remove yurthub binary. (#2272)
AxisCraft Jan 16, 2025
470292f
feat: upgrade nodepool crd to v1beta2 (#2266)
tnsimon Jan 22, 2025
a382ab9
feat: improve yurthub configmap management (#2275)
Jan 24, 2025
219300f
feat: remove yurt-coordinator from yurthub (#2276)
Jan 24, 2025
21473cf
feat: upgrade k8s.io/xxx to v0.31.5 (#2279)
Jan 28, 2025
175c309
feat: improve readiness probe for yurthub component (#2284)
Jan 31, 2025
d690808
feat: improve direct clientsets for yurthub (#2285)
Feb 2, 2025
887a02e
test: fix nodepool e2e test (#2283)
tnsimon Feb 3, 2025
33bdc7e
fix: always overwrite server-addr in yurt-static-set-yurt-hub configm…
rayne-Li Feb 3, 2025
4647c09
feat: add hub election leader controller (#2281)
tnsimon Feb 3, 2025
0e6c0d4
feat: remove YurtAppOverrider (#2280)
techworldhello Feb 4, 2025
93b544c
fix small typos (#2296)
Feb 4, 2025
ffb736a
feat: add leader node names to v1beta2.nodepool (#2297)
tnsimon Feb 4, 2025
5543dde
feat: improve proxy handler of yurthub (#2301)
Feb 7, 2025
5fbb851
feat: improve config and start process of yurthub component (#2303)
Feb 8, 2025
8fc400b
feat: add hub leader config controller (#2299)
tnsimon Feb 10, 2025
a4a7e4c
chore: deprecate yurtmanager delegate lease controller (#2308)
tnsimon Feb 10, 2025
de74644
feat: update nodepool spec (#2307)
tnsimon Feb 10, 2025
7fc1cd9
chore: deprecate yurtappdaemon controller and webhook (#2309)
tnsimon Feb 10, 2025
3965290
feat: add health checker for leader hub (#2310)
Feb 11, 2025
6ab412d
refactor: use autonomy duration label (#2313)
tnsimon Feb 11, 2025
2a40449
feat: improve load balancer to support dynamically updating backends …
Feb 13, 2025
f426ec6
fix openyurt fuzz test (#2319)
luc99hen Feb 13, 2025
dbc6fd8
feat: Add hubleader e2e test (#2302)
tnsimon Feb 13, 2025
eda5e3e
feat: rename enablePoolScopeMetadata to enableLeaderElections (#2316)
tnsimon Feb 14, 2025
e21f6ff
fix: update gvr for core.v1.services (#2321)
tnsimon Feb 14, 2025
e5d69ba
refactor: remove yurt-coordinator-cert controller from yurt-manager (…
Lixxcn Feb 14, 2025
9f0b43e
fix: ensure hub leader configmap is deleted with nodepool (#2324)
tnsimon Feb 17, 2025
db3197b
feat: add hub leader RBAC controller (#2328)
tnsimon Feb 18, 2025
115d0c7
fix: remove yurtappdaemon fuzz test (#2329)
luc99hen Feb 18, 2025
f6b8aad
refactor(yurt-manager): 更新 CRD 分类并移除 YurtAppDaemon 相关代码 (#2320)
luc99hen Feb 18, 2025
6676fa3
fix issue 2253 (#2330)
RG-Dou Feb 18, 2025
13f0dbd
feat: support forward requests to leader hub for sharing pool scope m…
Feb 19, 2025
ecc5ac2
feat: add printer columns for leaders (#2333)
tnsimon Feb 19, 2025
86345cf
Update file names to support go mod. (#2334)
AxisCraft Feb 20, 2025
d49ce13
Update proposal file names to support go mod. (#2335)
AxisCraft Feb 21, 2025
eb18826
upgrade upload-artifact to v4. (#2336)
AxisCraft Feb 26, 2025
bb6be18
Fix (#2344)
co63oc Feb 28, 2025
2ed983f
chore: fix some function names in comment (#2346)
cangqiaoyuzhuo Mar 6, 2025
431558a
chore: update go version (#2357)
tnsimon Mar 12, 2025
e4459ee
build(charts): 更新 Helm Chart版本 (#2366)
luc99hen Mar 29, 2025
5dbe591
2025 roadmap. (#2373)
AxisCraft Apr 15, 2025
ed40f13
feat: improve proxy handler for yurthub and optimize metrics of multi…
rambohe-ch Apr 15, 2025
4691278
feat: add consistent hashing strategy for yurthub (#2359)
tnsimon Apr 17, 2025
b49bf19
refactor multiplexer. (#2349)
AxisCraft Apr 22, 2025
2b7106e
support kubernetes 1.32 (#2387)
AxisCraft Apr 29, 2025
ba40194
Optimizing hub cache (#2423)
Sep 8, 2025
5befc1a
release assets add yurthub binary. (#2448)
Sep 9, 2025
3a03b00
optimizing yurthub local mode (#2452)
huangchenzhao Oct 11, 2025
ed2f7db
feat: support yurtadm local mode for joining IDC node in K8s-on-K8s c…
huangchenzhao Oct 21, 2025
eeabc39
Updated to CNCF Incubating Project. (#2470)
Oct 23, 2025
3f83586
feat: systemd component support for yurthub (#2449)
yuyushui66 Oct 24, 2025
4a1f0ab
feat: support deploying a K8s-on-K8s cluster with yaml templates (#2454)
huangchenzhao Oct 29, 2025
837a35c
fix ota controller doesn't has permission to patch pod status (#2415)
PersistentJZH Nov 3, 2025
8e2f15f
update CheckAndInstallKubelet Comments (#2456)
xichengliudui Nov 3, 2025
e3027f0
Update README.md (#2464)
akhilmukkara Nov 3, 2025
a3a7892
Correct some inaccurate information. (#2476)
Dec 1, 2025
9055b11
sync charts: remove yurt-coordinator (#2477)
Dec 1, 2025
00b8a08
proposal: OTA upgrade supports image preheating (#2474)
Dec 2, 2025
b6eb8d4
update yurttunnel certifications for ut. (#2483)
Dec 12, 2025
6e8c860
Update the OpenYurt architecture diagram. (#2485)
Dec 16, 2025
03a1986
fix: Fix the issue where the masterservice and serviceenvupdater mod…
Dec 16, 2025
242a093
fix dummy-if name length exceeds 15 (#2486)
KubeKyrie Dec 19, 2025
a837b25
add image preheating for ota. (#2482)
Dec 23, 2025
0d84778
feat: yurt-manager chart support extraArgs (#2489)
will4j Dec 26, 2025
d32d27f
chore: fix function name in comment (#2492)
promalert Jan 9, 2026
b0c90be
add unit test cases for modifyresponse (#2497)
kartikangiras Jan 20, 2026
ed4eb0a
Bugfix: remove deprecated rand.Seed() calls (#2499)
shiavm006 Jan 21, 2026
358e4c4
fix: restore from backup and return error on ReplaceComponentList cre…
shiavm006 Jan 27, 2026
5a26218
Fix NodeAutonomy condition LastTransitionTime never being updated (#2…
Aman-Cool Jan 28, 2026
3381599
fix: race condition in cache manager's inMemoryCache (#2508)
shiavm006 Jan 28, 2026
3b746fa
fix: avoid panic on pod without owner refs (#2509)
shiavm006 Jan 29, 2026
4479acb
[BUG] Nil pointer dereference in local proxy (localDelete/localPost) …
shiavm006 Feb 4, 2026
27b7fca
fix: guard nil request info in autonomy proxy (#2517)
shiavm006 Feb 9, 2026
5cccf11
chore(deps): Upgrade Kubernetes dependencies to v1.34.0 (#2495)
xenonnn4w Mar 4, 2026
f7645df
Docs/proposal label driven yurthub (#2530)
Vacant-lot07734 Mar 12, 2026
6ac8bae
upgrade vendor (#2531)
zyjhtangtang Mar 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
47 changes: 29 additions & 18 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
workflow_dispatch: {}

env:
GO_VERSION: '1.20'
GOLANGCI_VERSION: 'v1.55.2'
GO_VERSION: '1.24.1'
GOLANGCI_VERSION: 'v1.64.7'

# Common users. We can't run a step 'if secrets.AWS_USR != ""' but we can run
# a step 'if env.AWS_USR' != ""', so we copy these to succinctly test whether
Expand All @@ -19,6 +19,16 @@ env:
AWS_USR: ${{ secrets.AWS_USR }}

jobs:
typos-check:
runs-on: ubuntu-22.04
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
- name: Check spelling with custom config file
uses: crate-ci/typos@v1.23.2
with:
config: ./typos.toml

verify:
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -49,18 +59,18 @@ jobs:
skip-cache: true
mode: readonly

markdownlint-misspell-shellcheck:
runs-on: ubuntu-22.04
# this image is build from Dockerfile
# https://github.com/pouchcontainer/pouchlinter/blob/master/Dockerfile
container: pouchcontainer/pouchlinter:v0.1.2
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run misspell
run: find ./* -name "*" | xargs misspell -error
- name: Lint markdown files
run: find ./ -name "*.md" | grep -v enhancements | grep -v .github
# markdownlint-misspell-shellcheck:
# runs-on: ubuntu-22.04
# # this image is build from Dockerfile
# # https://github.com/pouchcontainer/pouchlinter/blob/master/Dockerfile
# container: pouchcontainer/pouchlinter:v0.1.2
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Run misspell
# run: find ./* -name "*" | xargs misspell -error
# - name: Lint markdown files
# run: find ./ -name "*.md" | grep -v enhancements | grep -v .github
# - name: Check markdown links
# run: |
# set +e
Expand Down Expand Up @@ -97,12 +107,13 @@ jobs:
- name: Publish Unit Test Coverage
# only publish result in openyurt repo
if: github.repository == 'openyurtio/openyurt'
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v4.5.0
with:
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
files: ./cover.out,./yurttunnel-cover.out
version: v0.6.0
fail_ci_if_error: true
verbose: true
e2e-tests:
Expand All @@ -121,11 +132,11 @@ jobs:
# restore-keys: ${{ runner.os }}-go-
- name: Install Required Commands
run: |
go install sigs.k8s.io/kind@v0.22.0
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.28.7/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl
go install sigs.k8s.io/kind@v0.26.0
curl -LO https://dl.k8s.io/release/v1.32.1/bin/linux/amd64/kubectl && sudo install kubectl /usr/local/bin/kubectl
- name: Build Images
run: make docker-build
- name: Local Up Openyurt Cluster With Kind
run: NODES_NUM=3 DISABLE_DEFAULT_CNI=true make local-up-openyurt
run: NODES_NUM=5 DISABLE_DEFAULT_CNI=true make local-up-openyurt
- name: Run e2e Tests
run: make e2e-tests
4 changes: 2 additions & 2 deletions .github/workflows/release-assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: 1.22.3
cache: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
version: v1.25.1
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/sonarcloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
publish_results: true

- name: "Upload artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: SARIF file
path: results.sarif
name: my-artifact-${{ matrix.runs-on }}
path: file-${{ matrix.runs-on }}.txt
retention-days: 5

- name: "Upload to code-scanning"
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/sync-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
paths:
- 'charts/**'
workflow_dispatch: {}

jobs:
sync-charts:
Expand All @@ -15,17 +16,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Get the version
id: get_version
run: |
echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
echo ::set-output name=TAG::${GITHUB_REF#refs/tags/}

- name: Sync to openyurt-helm Repo
- name: Sync to openyurtio/charts Repo
env:
SSH_DEPLOY_KEY: ${{ secrets.SYNC_CHARTS_SECRET }}
VERSION: ${{ steps.get_version.outputs.VERSION }}
TAG: ${{ steps.get_version.outputs.TAG }}
SSH_DEPLOY_KEY: ${{ secrets.SYNC_OPENYURTIO_CHARTS_KEY }}
COMMIT_ID: ${{ github.sha }}
run: |
bash ./hack/lib/sync-charts.sh
2 changes: 1 addition & 1 deletion .github/workflows/trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
output: 'trivy-results.sarif'

- name: Upload Trivy scan results to GitHub Security
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: 'trivy-results.sarif'
12 changes: 7 additions & 5 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ run:

# output configuration options
output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions
# default is "colored-line-number"
format: colored-line-number
formats:
- format: colored-line-number

# print lines of code with issue, default is true
print-issued-lines: true
Expand All @@ -33,7 +32,10 @@ output:
# all available settings of specific linters
linters-settings:
gci:
local-prefixes: github.com/openyurtio
sections:
- standard
- prefix(github.com/openyurtio)
- default

linters:
disable-all: true
Expand All @@ -44,5 +46,5 @@ linters:
- ineffassign
- misspell
- unused
- vet
- govet
- staticcheck
27 changes: 27 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ builds:
- -s -w -X github.com/openyurtio/openyurt/pkg/projectinfo.gitVersion={{ .Tag }} -X github.com/openyurtio/openyurt/pkg/projectinfo.gitCommit={{ .ShortCommit }} -X github.com/openyurtio/openyurt/pkg/projectinfo.buildDate={{ .Date }}
env:
- CGO_ENABLED=0
- id: yurthub
binary: yurthub
goos:
- linux
goarch:
- amd64
- arm64
main: ./cmd/yurthub/yurthub.go
ldflags:
- -s -w -X github.com/openyurtio/openyurt/pkg/projectinfo.gitVersion={{ .Tag }} -X github.com/openyurtio/openyurt/pkg/projectinfo.gitCommit={{ .ShortCommit }} -X github.com/openyurtio/openyurt/pkg/projectinfo.buildDate={{ .Date }}
env:
- CGO_ENABLED=0

archives:
- format: tar.gz
Expand All @@ -23,13 +35,28 @@ archives:
- yurtadm
name_template: '{{ .ArtifactName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}'
files: [ LICENSE, README.md ]
- format: tar.gz
id: yurthub-tgz
wrap_in_directory: '{{ .Os }}-{{ .Arch }}'
builds:
- yurthub
name_template: '{{ .ArtifactName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}'
files: [ LICENSE, README.md ]
- format: zip
id: yurtadm-zip
builds:
- yurtadm
wrap_in_directory: '{{ .Os }}-{{ .Arch }}'
name_template: '{{ .ArtifactName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}'
files: [ LICENSE, README.md ]
- format: zip
id: yurthub-zip
builds:
- yurthub
wrap_in_directory: '{{ .Os }}-{{ .Arch }}'
name_template: '{{ .ArtifactName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}'
files: [ LICENSE, README.md ]


checksum:
name_template: 'sha256sums.txt'
Expand Down
Loading