Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
852 commits
Select commit Hold shift + click to select a range
83273db
update ci
archlitchi Aug 6, 2024
2a8884c
Merge branch 'master' of github.com:Project-HAMi/HAMi
archlitchi Aug 6, 2024
a3b625c
Bump docker/build-push-action from 6.5.0 to 6.6.0 (#420)
dependabot[bot] Aug 8, 2024
901b43a
optimization code
lengrongfu Jul 26, 2024
7a6319d
add hami community Governance
Aug 12, 2024
1d5f0e5
update roadmap&update community governace
Aug 12, 2024
2cf0dec
Bump docker/build-push-action from 6.6.0 to 6.6.1
dependabot[bot] Aug 8, 2024
adfc166
add vgpu doc and update the readme. (#430)
william-wang Aug 13, 2024
4b88138
add image vulnerability scanner
Aug 13, 2024
090c327
add hami vulnerability scan and report
Aug 13, 2024
c33bc6b
Update ci-image-scanning.yaml
Aug 13, 2024
b3dd1ca
Update ci-image-scanning.yaml
Aug 13, 2024
c81f6fd
Update ci-image-scanning.yaml
Aug 13, 2024
1ea64f3
fix: fix duplicate resource keys in configmap (#422)
devenami Aug 14, 2024
d534a1a
Bump github.com/opencontainers/runc from 1.1.2 to 1.1.12
dependabot[bot] Aug 14, 2024
5c5c393
fix data race when read pods info
lengrongfu Aug 7, 2024
5f71955
add codeql analysis
Aug 14, 2024
7a677c7
Bump github/codeql-action from 2 to 3
dependabot[bot] Aug 19, 2024
56bb5e9
Bump actions/setup-go from 4 to 5
dependabot[bot] Aug 19, 2024
b253768
update hami logo (#455)
lengrongfu Aug 27, 2024
07902a0
update hami logo (#456)
lengrongfu Aug 29, 2024
321e042
feat: Support for multiple versions of cudevshr for vGPUmonitor (#458)
zoyopei Sep 2, 2024
6683c37
add node record pod info (#451)
lengrongfu Sep 2, 2024
fcfee50
update hami sandbox project
Sep 4, 2024
5a5f955
Add OpenSSF Best Practices Badge
Sep 4, 2024
22112d3
add Coverage Analytics
Sep 6, 2024
5dfe03a
fix OpenSSF Best Practices
Sep 6, 2024
ca49092
Bump github.com/opencontainers/runc from 1.1.12 to 1.1.14
dependabot[bot] Sep 6, 2024
14faf52
Bump docker/build-push-action from 6.6.1 to 6.7.0
dependabot[bot] Aug 13, 2024
1682454
add issue template
Sep 9, 2024
93f9e10
update ci
archlitchi Sep 11, 2024
ab318a3
fix golang-lint (#486)
Sep 11, 2024
0108edc
update hami logo
lengrongfu Sep 10, 2024
dd7deeb
add dev branch ci & remove unused binary (#487)
Sep 11, 2024
4a48403
update docs
archlitchi Sep 11, 2024
7fbf144
fix codeQL ci
archlitchi Sep 11, 2024
a5a7224
refactoring ascend device code (#492)
zoyopei Sep 14, 2024
74f29b0
update Readme.md and Readme_cn.md (#489)
Sep 14, 2024
dd1a976
fix device configmap (#494)
zoyopei Sep 18, 2024
8e61772
ignore chart lint when charts has no chage
Sep 22, 2024
a4ddf05
support pr build hami images
Sep 20, 2024
4e80a0f
build test for pr image
Sep 22, 2024
cd5b74f
add trivy ignore file
Sep 22, 2024
3983e10
fix trivy scan low disk
Sep 23, 2024
f2ea682
Fix HAMi image is too large and uses inappropriate base image (#508)
Sep 24, 2024
45051ef
add filter device when register node by uuid or index
lengrongfu Sep 14, 2024
02e7a20
Fixed Ascend configuration file being placed outside helm charts temp…
Sep 23, 2024
80ad96d
update chart (#517)
Sep 27, 2024
a3c67ac
add hami release process
Sep 23, 2024
6e29dca
Signed-off-by: wawa0210 <xiao.zhang@daocloud.io>
Sep 28, 2024
758fef1
Bump docker/build-push-action from 6.7.0 to 6.8.0
dependabot[bot] Sep 28, 2024
f958eb9
release to v2.4 (#524)
Sep 29, 2024
5ae41ef
fix build badge
Sep 29, 2024
058d4c0
update action-gh-release template file to more accurate matching
Sep 29, 2024
0124ef0
Bump actions/download-artifact from 3 to 4
dependabot[bot] Sep 30, 2024
b0d6bf1
Bump docker/build-push-action from 6.8.0 to 6.9.0
dependabot[bot] Sep 30, 2024
dbed0bd
Bump actions/upload-artifact from 3.1.3 to 4.4.0
dependabot[bot] Sep 30, 2024
fac239f
Refactor helm "Admission Webhook" config. (#532)
4gt-104 Oct 11, 2024
4b76f33
Bump aquasecurity/trivy-action from 0.24.0 to 0.27.0
dependabot[bot] Oct 11, 2024
00daa3e
Bump actions/upload-artifact from 4.4.0 to 4.4.3
dependabot[bot] Oct 9, 2024
36ef4c4
Bump ubuntu from 20.04 to 24.04 in /docker
dependabot[bot] Jul 26, 2024
ddec252
fix: error 'index out of range [1] with length 1' happen when allocat…
lijm87 Sep 29, 2024
cbc816b
Fix code scanning alert-Incorrect conversion between integer types
ghostloda Oct 14, 2024
33681af
update hami-core version (#557)
chaunceyjiang Oct 16, 2024
f555897
Bump aquasecurity/trivy-action from 0.27.0 to 0.28.0
dependabot[bot] Oct 15, 2024
f71e0de
Mthreads support (#560)
Oct 16, 2024
28f20a6
Fix code scanning alert-Incorrect conversion between integer types
ghostloda Oct 17, 2024
7f972b0
update docs (#567)
ghostloda Oct 23, 2024
323a8f4
migrate hami slack to cncf hami group
Oct 23, 2024
b0873aa
Fix pod assignment issue when pod already has a node assigned
chaunceyjiang Oct 21, 2024
66cabbf
fix(scheduler): prevent array out-of-bounds when GPU containers are p…
Nimbus318 Oct 25, 2024
3f24a36
improve pkg/k8sutil/pod.go ut coverage
Oct 24, 2024
b030525
Metax GPU topo-awareness support (#574)
Oct 28, 2024
233184e
update docs (#578)
Oct 29, 2024
3245d26
remove watermark of MetaX topo diagrams (#581)
obnah Oct 30, 2024
6405ce5
update hami talk & reference
Oct 30, 2024
6df0d0b
fix: wrong quota for fitInDevices (#593)
joy717 Nov 5, 2024
72815d9
correct deployments path (#608)
dublc Nov 15, 2024
fc5cf26
Bump codecov/codecov-action from 4 to 5
dependabot[bot] Nov 14, 2024
7c6b722
update chart and add a cm for scheduler (#614)
Nov 15, 2024
7dc32d1
Fix configMap device-config not properly installed (#616)
Nov 15, 2024
1011ff1
update ci and initdevices logic (#618)
Nov 15, 2024
69370a7
Pre release to v2.4.1 (#619)
Nov 15, 2024
5396897
fix(helm): handle Kubernetes version string by stripping metadata aft…
Nov 16, 2024
6545472
Update vGPUmonitor to add dynamic adjustment on core and memory limit…
Nov 18, 2024
b5d36f8
Bump aquasecurity/trivy-action from 0.28.0 to 0.29.0
dependabot[bot] Nov 20, 2024
8ea0855
feat: support device plugin daemonset update strategy (#628)
devenami Nov 22, 2024
feb5a55
add ut about scheduler policy
yt-huang Nov 25, 2024
a432c6d
chore: add NOTICE file and update copyright headers to reflect 2024 i…
haitwang-cloud Nov 20, 2024
7ac2b8d
add ut for the scheduler (#645)
shijinye Nov 28, 2024
626eda6
docs(issue-tmpl): add FAQ link to issue templates (#647)
Nimbus318 Nov 28, 2024
64ae953
fix: filter device registry to node (#639)
lengrongfu Nov 28, 2024
e5abdbd
Add self-hosted runner (#659)
Nov 29, 2024
bb535a0
fix-example-yaml:
Dec 3, 2024
7003ac9
update docs (#668)
yangshiqi Dec 4, 2024
178d32d
add ut for ascend (#664)
shijinye Dec 4, 2024
24fd039
Bump nvidia/cuda in /docker
dependabot[bot] Dec 3, 2024
2066410
optimization map init in test
lengrongfu Dec 4, 2024
54b8f74
Optimize monitor (#683)
Ethan-rookie Dec 5, 2024
94ba833
fix code lint faild
lengrongfu Dec 6, 2024
028b7e6
fix(helm): Add NODE_NAME env var to the vgpu-monitor container from s…
Nimbus318 Dec 13, 2024
bb9f0c6
fix vGPUmonitor deviceidx is always 0 (#684)
lengrongfu Dec 13, 2024
1b8feb3
add ut for pkg/scheduler/event.go (#688)
Dec 13, 2024
933505b
add ut for nodes (#695)
shijinye Dec 13, 2024
bcdfb41
add license for pkg/scheduler/event_test.go
Dec 14, 2024
2be5564
fix: exception occurred while creating multiple pods with ascend gpu …
lijm87 Dec 16, 2024
dc8960b
add ut for device/nvidia
shijinye Nov 29, 2024
bfef70b
add ut for pkg/monitor/nvidia/v0/spec.go
yt-huang Dec 3, 2024
e564934
Enable Dynamic-mig feature for HAMi (#708)
Dec 16, 2024
7e8864a
Fix chart can not be deployed properly (#711)
archlitchi Dec 16, 2024
050f91b
Fix NodeLock issue (#714)
archlitchi Dec 17, 2024
4785c8f
fix example yaml (#709)
lixd Dec 18, 2024
2df7ba2
add ut for device/cambricon (#712)
shijinye Dec 18, 2024
d6d9280
Update dynamic mig documents and examples (#718)
archlitchi Dec 19, 2024
f8387c1
Bump actions/upload-artifact from 4.4.3 to 4.5.0
dependabot[bot] Dec 18, 2024
9056fd3
random time may be zero
shijinye Dec 10, 2024
3985b5b
Bump docker/build-push-action from 6.9.0 to 6.10.0
dependabot[bot] Nov 26, 2024
3c220fc
fix grafana dashboard and clarify dashboard usage more clearly; Fix t…
jiangsanyin Oct 10, 2024
b5a8b27
update examples and README
xiaoyao Dec 4, 2024
c499ab5
fix docs
xiaoyao Dec 4, 2024
659bef8
add ut for github.com/Project-HAMi/HAMi/pkg/scheduler/pod.go
yt-huang Dec 3, 2024
28a0528
Add design document to 'dynamic-mig' feature (#725)
archlitchi Dec 23, 2024
a0a007b
fix(doc): fix a typo and resolve markdown warnings in the tasklist
Dec 23, 2024
6d70d6c
add-nodelock-ut (#719)
learner0810 Dec 24, 2024
88c6b62
test: add ut about pkg/version/version.go (#677)
Dec 24, 2024
cd12260
Update on mig mode (#726)
archlitchi Dec 24, 2024
311d18b
Update documents for config & config_cn (#729)
archlitchi Dec 24, 2024
7527b2b
set PASS_DEVICE_SPECS ENV to device-plugin (#690)
jingzhe6414 Dec 27, 2024
6353e9e
fix device-plugin-version (#743)
learner0810 Dec 27, 2024
35813b5
feat: Return the nodes that failed to be scheduled back to the schedu…
chaunceyjiang Dec 27, 2024
b6ad0c6
fix(log): fix missing log output in nvidiadeviceplugin server (#735)
elrondwong Dec 27, 2024
5839076
support configuration resources limits and requests
flpanbin Dec 25, 2024
96adaec
feat(test): add TestMarshalNodeDevices scenarios
elrondwong Dec 27, 2024
ac1d91d
print flags for device-plugin and scheduler
flpanbin Dec 29, 2024
1d2d2a2
Fix typos, add more contributors and maintainers. (#765)
yangshiqi Dec 31, 2024
9fdbd5f
Add a mind map to help understand this project (#764)
oceanweave Dec 31, 2024
f92c7ca
update config pages (#760)
windsonsea Dec 31, 2024
f8c97ee
add ut for device-map
KubeKyrie Dec 30, 2024
b8548c3
refactor(ci): use go.mod file for Go version in workflows
yxxhero Dec 31, 2024
abf6ed2
support set log level for device plugin (#771)
flpanbin Jan 3, 2025
28d21fe
feat: Restart/Upgrade device-plugin will not affect services. (#767)
chaunceyjiang Jan 3, 2025
c6b969b
add ut for Nvml-Devices
KubeKyrie Dec 30, 2024
ee7447a
add ut for device-map
KubeKyrie Jan 1, 2025
cbccbd4
Optimize the time format layout
learner0810 Dec 26, 2024
d04fc8b
fix: nvidia-device-plugin no version info (#779)
chaunceyjiang Jan 7, 2025
594ef64
Implement initial E2E test suite setup (#775)
Rei1010 Jan 9, 2025
c35d648
Draft E2E test design (#633)
Rei1010 Jan 9, 2025
ca9289e
add ut for device/iluvatar
shijinye Jan 9, 2025
3bb4643
add ut for device/hygon
shijinye Jan 8, 2025
c5bb820
Bump docker/build-push-action from 6.10.0 to 6.11.0
dependabot[bot] Jan 8, 2025
880c6ed
add ut for pkg/monitor/nvidia/v1
shijinye Jan 6, 2025
72621e8
chore: update logging messages and improve error handling in device m…
haitwang-cloud Jan 10, 2025
e4d4323
Enrich pod health check (#801)
Rei1010 Jan 13, 2025
1a1bdb6
docs: fix broken link
lixd Jan 13, 2025
f585dd5
Optimize the E2E execution logic (#803)
Rei1010 Jan 13, 2025
4b1cda2
optimize MetricsBindAddress to MetricsBindPort
phoenixwu0229 Jan 8, 2025
9c95484
fix: improve error handling and logging in node registration process …
haitwang-cloud Jan 17, 2025
ad9d35b
add ut for device/mthreads (#808)
shijinye Jan 20, 2025
1e23508
fix: Resolve formatting issue in ConfigMap causing display anomalies …
lixd Jan 20, 2025
759be1c
[docs] Update ascend910b-support.md (#816)
windsonsea Jan 21, 2025
7fe6183
enhance error handling and logging in node management functions (#817)
haitwang-cloud Jan 21, 2025
77c724f
Update mig-related logics and refine logs (#833)
archlitchi Jan 24, 2025
6afab51
Add 910B4 config to device-configmap for ascend (#828)
lijm87 Jan 24, 2025
b64bdb2
Fix glibc version requirement in README (#826)
chinaran Jan 24, 2025
b7c367a
Update HAMi-core for v2.5.0 (#834)
archlitchi Jan 24, 2025
e58c107
FIx multi-process device memory count issue (#835)
archlitchi Jan 24, 2025
c9b3b73
bump version to v2.5.0
Jan 24, 2025
d858318
Fix CI (#838)
archlitchi Jan 25, 2025
8b15db8
Fix CI release (#840)
archlitchi Jan 25, 2025
ab547e4
Fix release ci (#841)
archlitchi Jan 25, 2025
03eef07
Fix Dockerfile to make CI pass (#846)
archlitchi Feb 5, 2025
ba5bad5
Optimize E2E with pod status check (#847)
Rei1010 Feb 5, 2025
c022221
Fix scheduler crash if a 'mig' task running accidentally on a 'hami-c…
archlitchi Feb 5, 2025
89368bd
fix: Enhance GPU metrics collection and error handling in vGPU monito…
haitwang-cloud Feb 8, 2025
3085bf3
refactor: update service configurations for device plugin and schedul…
haitwang-cloud Feb 8, 2025
95fcaa0
add ut for scheduler/score
shijinye Feb 7, 2025
b253239
add ut for metax
shijinye Feb 6, 2025
a831aaa
Bump golang.org/x/net from 0.26.0 to 0.33.0
dependabot[bot] Jan 25, 2025
bc928eb
Bump docker/build-push-action from 6.11.0 to 6.13.0
dependabot[bot] Jan 25, 2025
1f6dfc2
Bump golang.org/x/net from 0.26.0 to 0.35.0
dependabot[bot] Feb 11, 2025
defb84c
Remove duplicate log fields
learner0810 Feb 11, 2025
2234fcf
[docs] Fix default nvidia.resourceCoreName value in config.md
chinaran Jan 26, 2025
4b14ec7
Fix: Update handling of version strings in Helm template and helpers.…
HJJ256 Feb 13, 2025
3d401a7
Update libvgpu.so (#876)
archlitchi Feb 17, 2025
8d8c3e1
update example.png (#874)
rockpanda Feb 17, 2025
ac6292d
fix: disable passDeviceSpecsEnabled by default (#872)
Nimbus318 Feb 17, 2025
87fcf0d
support ascend 910B2 (#885)
ouyangluwei163 Feb 20, 2025
62c15ea
docs: fix typo (#869)
JinVei Feb 20, 2025
6636542
Accelerate node score calculations using multiple goroutines (#824)
learner0810 Feb 20, 2025
b512861
fix: Remove the pkg/k8sutil/client.go and replace it with HAMi/pkg/ut…
Shouren Feb 21, 2025
8cb8f03
fix: correct device filter initialization order (#857)
Nimbus318 Feb 24, 2025
7114445
fix parseNvidiaNumaInfo index out of range (#889)
flpanbin Feb 25, 2025
5f611c7
Support Metax SGPU to sharing GPU (#895)
Kyrie336 Feb 27, 2025
5802cfd
docs: fix broken commmunity links (#907)
agilgur5 Mar 3, 2025
e7fa666
add config gpu core isolation policy for webhook (#901)
lengrongfu Mar 3, 2025
3a9d944
feat: support scheduler replicas > 1 (#898)
Azusa-Yuan Mar 3, 2025
857ee57
docs: add syntax highlighting to various code blocks (#906)
agilgur5 Mar 3, 2025
8ec9730
Fix UT not be properly executed during CI phase (#911)
archlitchi Mar 4, 2025
b81f6ef
typo: fix typos in comment and log (#917)
popsiclexu Mar 6, 2025
43282bf
feat: Add kube-qps and kube-burst parameters (#769)
chaunceyjiang Mar 7, 2025
3e4ed47
docs: Update MAINTAINERS file with current contributor information (#…
Nimbus318 Mar 7, 2025
b5abd72
Nominate chaunceyjiang to reviewer (#926)
chaunceyjiang Mar 11, 2025
fd61ad6
build: update dependencies and remove unused cdiapi
yxxhero Feb 28, 2025
0500530
format the goimports
yxxhero Mar 1, 2025
90a2875
Bump aquasecurity/trivy-action from 0.29.0 to 0.30.0
dependabot[bot] Mar 14, 2025
f2293f5
add lengrongfu to reviewers (#937)
lengrongfu Mar 17, 2025
21c7052
Fix cambricon pods not been recognized by HAMi scheduler (#947)
archlitchi Mar 19, 2025
a5dc63b
chore: add namespace override for multi-namespace deployments (#924)
chinaran Mar 19, 2025
c970aee
fix: hygon dcu concurrent creation conflict (#921)
joy717 Mar 19, 2025
0432198
Fix the wrong describe of device registry in protocol.md (#910)
hurricane1988 Mar 19, 2025
7599f98
fix ubuntu base image (#944)
flpanbin Mar 19, 2025
db36d6f
Bump docker/login-action from 3.3.0 to 3.4.0
dependabot[bot] Mar 14, 2025
1753650
chore: helm chart support scheduler webhook cert-manager (#951)
chinaran Mar 26, 2025
7e68c92
refactor(scheduler): replace init methods with constructor functions …
yxxhero Mar 26, 2025
38bed6f
add Dependencies policy and Security policy (#934)
yangshiqi Mar 28, 2025
31cdc23
fix: Add error handling for nvml.Init in NvidiaDevicePlugin (#982)
yxxhero Apr 8, 2025
608986e
scheduler: fix blocked the nodeNotify channel when node changes (#964)
Iceber Apr 8, 2025
9fb0f8e
docs: Update Ascend910 support documentation (#988)
zhaikangqi331 Apr 8, 2025
9d6d786
update iluvatar's docs (#995)
yangshiqi Apr 9, 2025
58e7a58
refactor: replace interface{} with any in various files
yxxhero Apr 13, 2025
0ec732f
Bump docker/build-push-action from 6.13.0 to 6.15.0
dependabot[bot] Feb 26, 2025
b528917
scheduler: fix duplicate handling of the node label selector
Iceber Mar 28, 2025
3d0f975
refactor(.github/workflows/ci.yaml): Update golangci-lint to v2.0 and…
yxxhero Apr 14, 2025
fbebdc8
update hami arch
wawa0210 Apr 15, 2025
6d1a4e4
Update README.md
yowenter Apr 15, 2025
d383c0b
refactor: simplify code by using modern constructs
Shouren Apr 2, 2025
c931a6f
scheduler: fix removing node devices from node manager
Iceber Mar 28, 2025
7d9949e
feat: Add support for profiling via net/http/pprof package (#963)
Shouren Apr 17, 2025
8e9ac68
Support Enflame gcushare for enflame devices (#1013)
archlitchi Apr 17, 2025
be99115
docs: Remove ACTIVE_OOM_KILLER environment variable description
chinaran Apr 17, 2025
b848f88
refactor(vGPUmonitor): change Run to RunE and return errors
yxxhero Apr 12, 2025
4ef6c40
fix lint issues
yxxhero Apr 12, 2025
f4daa33
fix lint issue
yxxhero Apr 13, 2025
6f22e58
build(deps): bump docker/build-push-action from 6.15.0 to 6.16.0
dependabot[bot] Apr 24, 2025
936d421
refactored the filter logs and event messages to enhance their clarit…
Wangmin362 Apr 27, 2025
01b307e
feat: Support for using RuntimeClass with nvidia devices (#1021)
chinaran Apr 27, 2025
fe5ea14
fix wrong log and container request device count error (#1020)
Wangmin362 Apr 27, 2025
b440c9f
feat: helm chart add checksum annotation for restarting hami componen…
chinaran Apr 27, 2025
7ee5dce
fix vgpu-devices-allocated annotations are inconsistent #991 (#1012)
ouyangluwei163 Apr 27, 2025
0aaf298
add Enflame GCU S60 into roadmap.
winston-zhang-orz Apr 29, 2025
3e2963f
Fix device memory count error on cuMallocAsync (#1029)
archlitchi Apr 30, 2025
e8bdea5
Fix 31993 not launched properly when using 'master' branch of HAMi (#…
archlitchi Apr 30, 2025
9052c08
fix nvidia-smi is na (#953)
lengrongfu May 9, 2025
de20781
Separate options from client to make the responsibility more clear. (…
yangshiqi May 12, 2025
4c92499
Add nvidia gpu topoloy score registry to node (#1018)
lengrongfu May 15, 2025
53d44bb
build(deps): bump docker/build-push-action from 6.16.0 to 6.17.0
dependabot[bot] May 15, 2025
0e8111e
fix: run unit test on default branch to upload coverage to Codecov (#…
Shouren May 16, 2025
57a9c26
feat: Add an action to label pr automatically (#1053)
Shouren May 16, 2025
6218d7e
Bump tags.cncf.io/container-device-interface from 0.8.1 to 1.0.1
wawa0210 May 16, 2025
348d388
Support upgrade scenario
Rei1010 Feb 7, 2025
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
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Bug Report
about: Report a bug encountered while using HAMi.
labels: kind/bug

---

<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
-->

**What happened**:

**What you expected to happen**:

**How to reproduce it (as minimally and precisely as possible)**:

**Anything else we need to know?**:

- The output of `nvidia-smi -a` on your host
- Your docker or containerd configuration file (e.g: `/etc/docker/daemon.json`)
- The hami-device-plugin container logs
- The hami-scheduler container logs
- The kubelet logs on the node (e.g: `sudo journalctl -r -u kubelet`)
- Any relevant kernel output lines from `dmesg`

**Environment**:
- HAMi version:
- nvidia driver or other AI device driver version:
- Docker version from `docker version`
- Docker command, image and tag used
- Kernel version from `uname -a`
- Others:

4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contact_links:
- name: FAQ
url: https://github.com/Project-HAMi/HAMi/issues/646
about: Frequently asked questions and common solutions.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Enhancement Request
about: Suggest an enhancement to the project
labels: kind/feature

---
<!-- Please only use this template for submitting enhancement requests -->

**What would you like to be added**:

**What type of PR is this?**

/kind feature

**What this PR does / why we need it**:

**Which issue(s) this PR fixes**:
Fixes #

**Special notes for your reviewer**:

**Does this PR introduce a user-facing change?**:
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/good-first.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Good First Issue
about: Publish a good first issue
labels: good first issue

---

<!-- Please use this template while publishing a good first issue. Thanks!
-->

**Task description**:

**Solution**:

**Who can join or take the task**:

The good first issue is intended for `first-time contributors` to get started on his/her contributor journey.

After a contributor has successfully completed 1-2 good first issue's,
they should be ready to move on to `help wanted` items, saving the remaining `good first issue` for other new contributors.

**How to join or take the task**:

Just reply on the issue with the message `/assign` in a separate line.

Then, the issue will be assigned to you.

**How to ask for help**:

If you need help or have questions, please feel free to ask on this issue.
The issue author or other members of the community will guide you through the contribution process.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Question
about: Question relating to HAMi.
labels: kind/question

---

**Please provide an in-depth description of the question you have**:

**What do you think about this question?**:

**Environment**:
- HAMi version:
- Kubernetes version:
- Others:
22 changes: 22 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
**What type of PR is this?**

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind deprecation
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake
-->

**What this PR does / why we need it**:

**Which issue(s) this PR fixes**:
Fixes #

**Special notes for your reviewer**:

**Does this PR introduce a user-facing change?**:
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates


version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "docker"
directory: "/docker"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
10 changes: 10 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"kind/bug":
- '^[Ff]ix(\(.*\))?:?.*'
"kind/cleanup":
- '^[Cc]hore(\(.*\))?:?.*'
"kind/documentation":
- '^[Dd]ocs?(\(.*\))?:?.*'
"kind/enhancement":
- '^[Rr]efactor(\(.*\))?:?.*'
"kind/feature":
- '^[Ff]eat(\(.*\))?:?.*'
29 changes: 29 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# .github/release.yml
changelog:
exclude:
labels:
- ignore-for-release
- github-actions
authors:
- dependabot[bot]
categories:
- title: ✨ New Features
labels:
- feature
- design
- enhancement
- title: 🐛 Bug Fixes
labels:
- bug
- title: 📚 Documentation
labels:
- documentation
- title: ⬆️ Dependencies
labels:
- dependencies
- title: 💥 Breaking Changes
labels:
- breaking-change
- title: 🔨 Other Changes
labels:
- "*"
22 changes: 22 additions & 0 deletions .github/workflows/auto-label-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "PR Labeler"
on:
pull_request_target:
types: [opened, edited]

permissions:
issues: write
pull-requests: write
contents: read

jobs:
labeling:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v3.4
with:
configuration-path: .github/labeler.yml
enable-versioned-regex: 0
sync-labels: 1
include-title: 1
include-body: 0
repo-token: ${{ github.token }}
153 changes: 153 additions & 0 deletions .github/workflows/auto-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
name: 1.Release

# it is trigger by tag event:
# 1 build the release image, push images to ghcr.io, and build image like: ghcr.io/xxxx:v1.0.0
# 2 package the chart package, update index.yaml and commit to '/charts' of branch 'github_pages' ( PR with label pr/release/robot_update_githubpage )
# 3 create changelog file, commit to '/changelogs' of branch 'github_pages' for githubPage ( PR with label pr/release/robot_update_githubpage )
# 4 commit '/docs' to '/docs' of branch 'github_pages'
# 5 create a release , attached with the chart and changelog

on:
release:
types:
- prereleased
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
workflow_dispatch:
inputs:
tag:
description: 'Tag'
required: true
default: v1.0.0
permissions: write-all

jobs:
pre-release:
runs-on: ubuntu-latest
permissions:
contents: write
outputs:
tag: ${{ env.RUN_TAG }}
steps:
- name: Check Version
run: |
TagVersion="${{ env.RUN_TAG }}"
RecordVersion=` cat VERSION | tr -d ' ' | tr -d '\n' `
if [ "$RecordVersion" != "$TagVersion" ] ; then
echo "error, version $RecordVersion of '/VERSION' is different with Tag $TagVersion "
exit 1
fi
#no need to check chart version, which will auto update to /VERSION by CI
# generate release notes for the new release branch
- name: Generate pre release notes
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
prerelease: true
generate_release_notes: true

ensure-tag:
runs-on: ubuntu-latest
needs: pre-release
outputs:
tag: ${{ env.RUN_TAG }}
steps:
- name: Free disk space
# https://github.com/actions/virtual-environments/issues/709
run: |
echo "=========original CI disk space"
df -h
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
echo "=========after clean up, the left CI disk space"
df -h
- name: Get Ref
id: get_ref
run: |
if ${{ github.event_name == 'workflow_dispatch' }} ; then
echo "call by self workflow_dispatch"
echo "RUN_TAG=${{ github.event.inputs.tag }}" >> $GITHUB_ENV
YBranchName=` grep -Eo "v[0-9]+\.[0-9]+" <<< "${{ github.event.inputs.tag }}" `
elif ${{ github.event_name == 'push' }} ; then
echo "call by push tag"
echo "RUN_TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV
YBranchName=` grep -Eo "v[0-9]+\.[0-9]+" <<< "${GITHUB_REF##*/}" `
else
echo "unexpected event: ${{ github.event_name }}"
exit 1
fi
echo "YBranchName=${YBranchName}"
if [ -n "$YBranchName" ] ; then
echo "RUN_YBranchName=${YBranchName}" >> $GITHUB_ENV
else
echo "error, failed to find y branch"
exit 1
fi
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ env.RUN_TAG }}
# if branch exists, the action will no fail, and it output created=false
- name: release Y branch
uses: peterjgrainger/action-create-branch@v3.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: 'release-${{ env.RUN_YBranchName }}'
sha: '${{ github.sha }}'


release-image-hamicore:
needs: ensure-tag
uses: ./.github/workflows/call-release-image-hamicore.yaml
with:
ref: ${{ needs.ensure-tag.outputs.tag }}
secrets: inherit

release-image:
needs: [ensure-tag,release-image-hamicore]
uses: ./.github/workflows/call-release-image.yaml
with:
ref: ${{ needs.ensure-tag.outputs.tag }}
secrets: inherit

release-chart:
needs: [ensure-tag]
uses: ./.github/workflows/call-release-helm.yaml
with:
ref: ${{ needs.ensure-tag.outputs.tag }}
submit: true
secrets: inherit

# generate changelog and update to github releases pages
release-notes:
needs: [release-chart,release-image]
uses: ./.github/workflows/call-release-notes.yaml
with:
ref: ${{ needs.ensure-tag.outputs.tag }}

release-website:
needs: [release-notes]
uses: ./.github/workflows/call-release-website.yaml
with:
ref: ${{ needs.ensure-tag.outputs.tag }}
# execute a full e2e test when hami release
release-e2e:
needs: [ensure-tag, release-notes]
uses: ./.github/workflows/call-e2e.yaml
with:
ref: ${{ needs.ensure-tag.outputs.tag }}
type: "release"

# execute a compatibility test when hami release
release-e2e-upgrade:
needs: [ensure-tag, release-notes]
uses: ./.github/workflows/call-e2e-upgrade.yaml
with:
ref: ${{ needs.ensure-tag.outputs.tag }}
type: "release"

Loading