Commit Graph

1729 Commits

Author SHA1 Message Date
Christian Goll
0ad69ca3ce Merge pull request #677 from mslacken/RefactorFlags
Refator the CreateFlags command
2023-04-11 14:17:28 +02:00
Christian Goll
5f5724c8a9 Merge branch 'development' into RefactorFlags 2023-04-11 14:17:13 +02:00
Christian Goll
48c08f3fd7 Merge pull request #719 from hpcng/hashConf
more secure edit command
2023-04-11 11:44:01 +02:00
Christian Goll
1c6300b713 Merge pull request #746 from hpcng/dependabot/go_modules/development/github.com/fatih/color-1.15.0
Bump github.com/fatih/color from 1.13.0 to 1.15.0
2023-03-30 09:56:26 +02:00
dependabot[bot]
a09a850233 Bump github.com/fatih/color from 1.13.0 to 1.15.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.13.0 to 1.15.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.13.0...v1.15.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 07:52:49 +00:00
Christian Goll
ef4480b7b6 Merge pull request #759 from mslacken/development
cleanup fallout from update of grpc
2023-03-30 09:51:50 +02:00
Christian Goll
17ade3fdcc cleanup fallout from update of grpc
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-30 09:50:09 +02:00
Christian Goll
efdf55ecb9 Merge pull request #745 from hpcng/dependabot/go_modules/development/google.golang.org/grpc/cmd/protoc-gen-go-grpc-1.3.0
Bump google.golang.org/grpc/cmd/protoc-gen-go-grpc from 1.2.0 to 1.3.0
2023-03-30 09:45:04 +02:00
dependabot[bot]
591f7670aa Bump google.golang.org/grpc/cmd/protoc-gen-go-grpc from 1.2.0 to 1.3.0
Bumps [google.golang.org/grpc/cmd/protoc-gen-go-grpc](https://github.com/grpc/grpc-go) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc/cmd/protoc-gen-go-grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 07:43:19 +00:00
Christian Goll
4a1d5f29aa Merge pull request #718 from hpcng/dependabot/go_modules/development/github.com/grpc-ecosystem/grpc-gateway/v2-2.15.2
Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.10.0 to 2.15.2
2023-03-30 09:42:21 +02:00
dependabot[bot]
72cd9ae946 Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.10.0 to 2.15.2
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.10.0 to 2.15.2.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.10.0...v2.15.2)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 07:37:39 +00:00
Christian Goll
9a72447115 Merge pull request #710 from hpcng/dependabot/go_modules/development/github.com/manifoldco/promptui-0.9.0
Bump github.com/manifoldco/promptui from 0.8.0 to 0.9.0
2023-03-30 09:36:40 +02:00
Christian Goll
3e49adaf95 Merge pull request #757 from hpcng/mslacken-patch-1
Update go version to 1.17
2023-03-30 09:35:41 +02:00
Jonathon Anderson
3786e03cb2 Update warewulf-logo.png
Image taken from https://github.com/hpcng/warewulf-logos/

* Warewulf_icon_clr_L.png

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-03-29 13:18:40 -06:00
dependabot[bot]
132f5db0ea Bump github.com/manifoldco/promptui from 0.8.0 to 0.9.0
Bumps [github.com/manifoldco/promptui](https://github.com/manifoldco/promptui) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/manifoldco/promptui/releases)
- [Changelog](https://github.com/manifoldco/promptui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/manifoldco/promptui/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/manifoldco/promptui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 12:59:42 +00:00
Christian Goll
4333ffe904 Merge pull request #748 from JasonYangShadow/issue/690
KERNEL VERSION column is too short
2023-03-29 14:58:44 +02:00
jason yang
fd768145a9 add test case for container list
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-03-29 12:44:12 +00:00
jason yang
6dcd26322a add test case for profile list
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-03-29 10:35:17 +00:00
Christian Goll
7265083ed0 added test for node list
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-03-28 20:56:12 +02:00
Christian Goll
f936c93a15 Update go version to 1.17
some dependa bot PRs require go 1.17
2023-03-28 19:36:42 +02:00
jason yang
6f200d65a6 Merge branch 'development' into issue/690 2023-03-28 07:09:33 +00:00
Christian Goll
c476ba8ec4 hash checking for profile edit
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-24 19:47:22 +01:00
Christian Goll
b4acf0fdf2 added hash check for node edit
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-24 19:47:22 +01:00
Christian Goll
ee4f9d53d6 add hash function
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-24 19:47:22 +01:00
Christian Goll
4582a1f59e fix linting for disabled batch test
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-24 19:47:22 +01:00
Olaf Mersmann
daaf41ffad Add missing packages to build on EL8
Building on a fresh Rocky Linux 8.7 box gpgme-devel and libassum-devel
in addition to the packages already listed.
2023-03-24 19:47:22 +01:00
Christian Goll
f4c78d1a05 Merge pull request #755 from mslacken/development
fix linting for disabled batch test
2023-03-24 09:53:54 +01:00
Christian Goll
aee7738be1 fix linting for disabled batch test
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-24 09:52:38 +01:00
Christian Goll
321df0ba94 Merge pull request #754 from olafmersmann/fix_el8-pkgs
Add missing packages to build on EL8
2023-03-24 08:24:07 +01:00
Christian Goll
e680e3d475 Merge pull request #753 from anderbubble/disable-TestBatchPool
Disable TestBatchPool
2023-03-24 06:46:40 +01:00
Brian Clemens
d4c462f42c Merge pull request #752 from anderbubble/userdocs-debugging
Add a userdocs page for using delve to debug tests
2023-03-24 10:16:11 +09:00
Brian Clemens
aa53cf866c Add debugging page to doc index 2023-03-24 10:05:50 +09:00
Olaf Mersmann
b84908b515 Add missing packages to build on EL8
Building on a fresh Rocky Linux 8.7 box gpgme-devel and libassum-devel
in addition to the packages already listed.
2023-03-23 20:26:10 +01:00
Jonathon Anderson
fc362beebc Add a userdocs page for using delve to debug tests
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-03-23 12:57:26 -06:00
Jonathon Anderson
132f14c4c3 Disable TestBatchPool
This test is unreliable due to its dependency on timing. Disabling for now
until a better method is implemented.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-03-23 12:14:36 -06:00
Christian Goll
366113bf65 Merge branch 'RefactorFlags' into development
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:24:47 +01:00
Christian Goll
12e462afa1 added parsing tests
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:17:54 +01:00
Christian Goll
e27ee11f16 fixed wrong converter for bools
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:17:54 +01:00
Christian Goll
96644be621 allow UNSET for IP addresses
added more tests for GetFrom
allow UNSET and handle empty hwaddr

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:17:38 +01:00
Christian Goll
b0602133ec use netParseIP and ParseMAC
check also MAC addresses and common formating

Signed-off-by: Christian Goll <cgoll@suse.de>

reformat ipaddr for test coverage

fixed processing of default values

updated transformer tests

correct behavior for tags

add tests for tags

new tests for primary network

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:17:07 +01:00
Christian Goll
c14dd3c6d1 check the yaml direclty after unmarshalling 2023-03-23 11:15:50 +01:00
Christian Goll
13bc378a6b Refactor the CreateFlags command
* added the additional type flag, which can be bool,IP
* UNDEF is recognized for the bool flag
* 0.0.0.0 must be used as UNDEF for IP flag

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:15:50 +01:00
Christian Goll
09d14039b0 added Changelog
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:15:44 +01:00
Christian Goll
70361425ff generate man pages via sub command
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:11:01 +01:00
Jonathon Anderson
9c77d7b50c Fixes to build process
* Fixed a misspelling of genconfig in Makefile
* Updated completions path in warewulf.spec.in

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-03-23 11:11:01 +01:00
Christian Goll
2410a8194c wwctl node add without global variables
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:11:01 +01:00
Christian Goll
4750f96cc6 main_tests are not working as expected
The global values which store the flags are not regenerated during test

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:11:01 +01:00
Christian Goll
b00a619746 moved location of defaults.conf
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:10:58 +01:00
Christian Goll
c1e2100322 added a test for wwctl node add
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:10:29 +01:00
Christian Goll
4a8384dbf3 added Changelog
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:10:21 +01:00