Jonathon Anderson
77f1bd6797
Split tidy into separate target
...
This allows `make vendor` to download packages to satisfy `go.mod`
without changing `go.mod`.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-16 10:17:22 +02:00
Jonathon Anderson
78c8ad2b7c
Restrict godeps to the vendor directory
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-16 10:17:22 +02:00
Christian Goll
45bce6c59d
Merge pull request #958 from anderbubble/changelog-skip-labels
...
Skip changelog enforcement for certain labels
2023-10-16 08:02:55 +02:00
Christian Goll
4b882760b9
Merge pull request #957 from anderbubble/pr-fixes
...
Updated the PR template
2023-10-16 08:02:29 +02:00
Jonathon Anderson
cb6caf27e5
Merge pull request #949 from mslacken/ProfileTagFix
...
check if entry has real value in recursive getter
2023-10-14 03:04:47 -06:00
Christian Goll
539002088c
check if entry has real value in recursive getter
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-10-14 02:52:53 -06:00
Jonathon Anderson
fecdce6684
Merge pull request #950 from mslacken/ContainerList
...
no error if images for containers don't exist
2023-10-14 02:36:17 -06:00
Christian Goll
951dd13866
no error if images for containers don't exist
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-10-14 02:26:03 -06:00
Jonathon Anderson
807b38f1c9
Merge pull request #948 from mslacken/SetMtu
...
mtu can be set via command line
2023-10-14 02:12:15 -06:00
Christian Goll
a7056e2bb8
mtu can be set via command line
...
added also a test for this
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-10-14 02:09:06 -06:00
Jonathon Anderson
4cf230cadd
Merge pull request #946 from mslacken/MTUScript
...
set MTU in different network confs
2023-10-14 01:42:54 -06:00
Christian Goll
f4ae168f5a
set MTU in different network confs
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-10-14 01:00:24 -06:00
Jonathon Anderson
e3fbf9d936
Merge pull request #943 from mslacken/ipmiWrite
...
only write ipmi of IpmiWrite is true
2023-10-14 00:50:19 -06:00
Christian Goll
e2603cf8e8
only write ipmi of IpmiWrite is true
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-10-14 00:46:50 -06:00
Jonathon Anderson
c28c807946
Skip changelog enforcement for certain labels
...
Skipping changelog enforcement for PRs with one of these labels:
refactor, testing, build, project.
Such labels likely indicate a non-user-visible change which need not be
reflected in the changelog. (Of course, a changelog entry may still be
made if appropriate, even if not required by the enforcer.)
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-13 23:46:10 -06:00
Jonathon Anderson
2f9ec8103e
Merge pull request #955 from mslacken/TestFramework
...
added general testing framework
2023-10-13 23:40:17 -06:00
Jonathon Anderson
036e085af0
Updated the PR template
...
- fixed a malformed link
- added a checkbox for the DCO
- fixed heading levels
- made checks actual checkboxes
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-13 23:26:12 -06:00
Jonathon Anderson
6c344cd5b0
Refactor ww4test to testenv
...
- Remove global state
- Remove redundant data
- Remove unused functionality (e.g., file permissions)
- Separate directory creation from file writing
- Additional helper functions for file reading and cleanup
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-10-13 14:35:28 +02:00
Christian Goll
b5979e41d2
added general testing framework
...
framework creates all the necessary configuration file for warewulf
under a temporary directory. Individual warewulf.conf and nodes.conf
can be provided.
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-10-11 12:07:28 +02:00
Jonathon Anderson
3115703ed5
Merge pull request #778 from hpcng/fixPrimaryNetdev
...
return the primary network interface for discoverd
2023-10-10 22:44:50 -06:00
Jonathon Anderson
f9cdda1ee9
Add tests for FindDiscoverableNode
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-10 22:40:23 -06:00
Christian Goll
84d2389aaf
return the primary network interface for discoverd
...
close #775
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-10-10 22:40:02 -06:00
Jonathon Anderson
03d94322cd
Merge pull request #945 from anderbubble/update-vendor-phony
...
Mark vendor target phony and update
2023-10-06 00:48:12 -06:00
Jonathon Anderson
d08aeb2adc
Mark vendor target phony and update
...
The vendor target can't reliably determine when it needs to run, so mark
it phony. At the same time, update go.mod.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-06 00:41:48 -06:00
Jonathon Anderson
ced1239e21
Merge pull request #925 from mslacken/NoProtoDownload
...
do not download protobuf stuff on offline builds
2023-10-06 00:36:57 -06:00
Jonathon Anderson
ff22633261
Consolidate OFFLINE_BUILD behavior
...
Rather than implementing OFFLINE_BUILD individually within each relevant
target, define all such target dependencies once.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-06 00:24:27 -06:00
Jonathon Anderson
799542b154
Merge pull request #843 from anderbubble/resf-license
...
Update LICENSE.md for formatting and contributors
2023-09-29 17:11:28 -06:00
Jonathon Anderson
cf5bc7544e
Update LICENSE.md for formatting and RESF
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-09-28 13:47:48 -06:00
Jonathon Anderson
a1003361bc
Merge pull request #886 from anderbubble/contributing-dco-signoff
...
Add CONTRIBUTING documentation with a DCO
2023-09-26 16:59:06 -06:00
Christian Goll
c16755d2c0
Merge pull request #928 from anderbubble/issue-templates
...
Update GitHub issue templates
2023-09-21 07:58:17 +02:00
Christian Goll
b9bd3ff521
Merge pull request #927 from anderbubble/overlay-name-changelog
...
Update CHANGELOG for changes to overlay names
2023-09-21 07:56:57 +02:00
Christian Goll
a152beec49
do not download protobuf stuff on offline builds
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-09-20 17:28:14 +02:00
Jonathon Anderson
faaa408127
Add CONTRIBUTING documentation with a DCO
...
Requires commit sign-off and documents the meaning of signing off for the
project.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-09-19 17:15:35 -06:00
Christian Goll
d5c1e7b520
Merge pull request #766 from JasonYangShadow/issue/689
...
add support to install efi and bios from system path
2023-09-19 14:45:11 +02:00
Christian Goll
b30f124acc
Merge pull request #813 from mslacken/AdvCmdline
...
advanced command line completion for wwctl overlay
2023-09-13 12:09:29 +02:00
Christian Goll
ff7608251a
advanced command line completion for wwctl overlay
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-09-13 12:03:43 +02:00
Christian Goll
4d1711f46f
Merge pull request #898 from mslacken/PrimaryNetdev
...
Disable per-netdev primary flag
2023-09-13 11:51:49 +02:00
Christian Goll
c3a4eba514
Disable per-netdev primary flag
...
Primary network devices are now identified by a per-node attribute,
rather than a per-netdev boolean. While the legacy data can still be
parsed, the argument for setting the per-netdev boolean at the
command-line is no longer available.
Correct behavior is tested.
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-09-13 11:31:04 +02:00
Christian Goll
3acac6077a
Merge pull request #897 from mslacken/EphermalMount
...
Epehermal container mounts on same fs as chroot
2023-09-13 11:24:06 +02:00
Christian Goll
a3e40d62fd
Merge pull request #902 from anderbubble/overlay-edit
...
Update overlay edit with tempfile and mtime
2023-09-11 11:56:55 +02:00
Christian Goll
2685cbf030
Merge pull request #900 from anderbubble/fix-build
...
Updated Makefile to account for vendor/ in dist
2023-09-11 11:54:41 +02:00
Christian Goll
e27aa9cbd4
Merge pull request #903 from anderbubble/896-overlay-names
...
Fix warewulfd for new contextual overlay names
2023-09-11 10:12:42 +02:00
Jonathon Anderson
2e4fc832c4
Update GitHub issue templates
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-09-08 18:37:22 -06:00
Jonathon Anderson
be4d3f9e78
Update CHANGELOG for changes to overlay names
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-09-08 17:40:05 -06:00
Christian Goll
791159c926
Merge pull request #853 from mslacken/fixBuildNoNetwork
...
fix SIGSEV if build host has no network
2023-09-07 12:21:22 +02:00
Christian Goll
c98be14fe6
Merge branch 'development' into fixBuildNoNetwork
2023-09-07 12:21:12 +02:00
Christian Goll
39d42c6b97
added @Kangie to Contribnutors
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-09-07 12:17:10 +02:00
Christian Goll
b8c75b1578
Merge pull request #908 from hpcng/revert-906-fix-ip-lookup
...
Revert "add error handling to dynamic network configuration"
2023-09-07 12:13:42 +02:00
Christian Goll
bb0c37763b
Revert "add error handling to dynamic network configuration"
2023-09-07 12:09:23 +02:00
Christian Goll
7dc2061b20
Merge pull request #906 from Kangie/fix-ip-lookup
...
add error handling to dynamic network configuration
2023-09-07 12:07:53 +02:00