Jonathon Anderson
efd97d56c1
Update go-licenses to handle Unlicense
...
go-licenses v1.0.0 doesn't support Unlicense, which is used by one of
our indirect dependencies.
See #975
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-11-23 10:11:06 -07:00
Jonathon Anderson
26aa022c59
Split contributing an maintenance policies
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-11-23 10:11:06 -07:00
Jonathon Anderson
03fe1a4434
Update CONTRIBUTING with TSC and initial policies
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-11-23 10:11:06 -07:00
Christian Goll
016db99ecc
Merge pull request #988 from hpcng/fedora-specfile-fixes
...
fedora specfile fixes
2023-11-23 17:52:31 +01:00
griznog
5651861c83
Updating Changelog
2023-11-23 09:12:37 -06:00
griznog
8098d1881e
Minor fixes to enable building rpms for Fedora
2023-11-23 09:10:12 -06:00
Jonathon Anderson
b80be79906
Merge pull request #984 from novosirj/patch-1
...
Typo in setup.rst (then vs. than)
2023-11-20 09:21:02 -07:00
Christian Goll
683ffdf573
Merge pull request #985 from iamtroy412/docs
...
Quickstart doc updates
2023-11-20 00:23:37 -07:00
Troy Caro
9b5f0f2304
Have the add node syntax use long flags and more consistent with all quickstarts
...
Signed-off-by: Troy Caro <troy.caro@pitt.edu >
2023-11-19 19:08:08 -05:00
Troy Caro
7ee74a2fc8
Update warewulf.conf in SUSE quickstart to match copy in development branch
...
Signed-off-by: Troy Caro <troy.caro@pitt.edu >
2023-11-19 18:21:07 -05:00
Troy Caro
b9c60c1ae2
Fix container name in el9 quickstart
...
Signed-off-by: Troy Caro <troy.caro@pitt.edu >
2023-11-19 18:17:15 -05:00
Troy Caro
29047d22b7
Update warewulf.conf in quickstart to match copy in development branch
...
Signed-off-by: Troy Caro <troy.caro@pitt.edu >
2023-11-19 18:15:42 -05:00
Ryan Novosielski
095b3593e4
Typo in setup.rst (then vs. than)
...
Minor typo correction
Signed-off-by: Ryan Novosielski <novosirj@rutgers.edu >
2023-11-18 00:35:22 -05:00
Christian Goll
e60a1bfcba
Merge pull request #982 from Martin-Weiss/patch-1
...
Typo correction SuSE -> SUSE
2023-11-08 08:33:34 +01:00
Martin-Weiss
09ac693400
Typo correction SuSE -> SUSE
2023-11-08 08:24:26 +01:00
Christian Goll
83f165c2d1
Merge pull request #978 from anderbubble/DocsPush
...
Update documentation workflow
2023-11-07 09:35:11 +01:00
Jonathon Anderson
2f32d567d3
Update docs for release branches
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-27 15:51:52 -06:00
Jonathon Anderson
a2b353af56
Only build docs on push when docs are updated
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-27 15:49:23 -06:00
Jonathon Anderson
f1d45d2a0c
Merge pull request #894 from mslacken/FixProvisionBuild
...
calling the overlay build functions direclty
2023-10-25 22:40:15 -06:00
Jonathon Anderson
2b49bcad27
Expand test descriptions and simplify some tests
...
As part of reviewing this PR, I expanded the test definitions to make it
easier to discern the intent of each test at a glance. In so doing I
understood most tests behaving as normal, but I did make a few small
changes:
- Some tests no longer produce any errors, so remove this variable from
the test definitions.
- Replace comma-separated overlay definitions with explicit slices.
Splitting comma-separated strings led to erroneous behavior where a
null overlay list was processed as a single null overlay rather than
an empty slice.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-25 22:35:49 -06:00
Christian Goll
767be4fd8c
refactored util_test.go to test on real files
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-10-25 22:35:49 -06:00
Christian Goll
242276bba9
fixed tests and added explcit error handling
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-10-25 22:35:49 -06:00
Christian Goll
e90616cafb
calling the overlay build functions direclty
...
The warewulfd process called `wwctl build -O [system|runtime] node`
if autobuild was set. This created [system|runtime].img which isn't
supported with the build model. Calling now BuildOverlay directly
Signed-off-by: Christian Goll <cgoll@suse.com >
2023-10-25 22:35:45 -06:00
Christian Goll
92b651d70a
Merge pull request #963 from anderbubble/fmt
...
Use `go fmt` to standardize code formatting
2023-10-25 07:37:15 +02:00
Jonathon Anderson
9c3894f24e
Update workflow to verify fmt
...
To support this, I refactored the actions to use a composite action so
that all checks could run with the same setup.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-24 16:47:52 -06:00
Jonathon Anderson
42842aeee1
Format entire source code using make fmt
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-23 17:56:20 -06:00
Jonathon Anderson
6a49c8df0c
Add make fmt to Makefile
...
Implemented using the standard golang formatter.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-23 17:55:52 -06:00
Christian Goll
f9210ee645
Merge pull request #951 from anderbubble/build-refactor
...
Refactor the release workflow
2023-10-16 10:17:48 +02:00
Jonathon Anderson
7e9b3b48de
Fix spelling of "changelog"
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-16 10:17:23 +02:00
Jonathon Anderson
cc55dbd7fb
Move non-offline build deps to Makefile end
...
Dependencies defined for $(protofiles) were before $(protifiles) was
defined.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-16 10:17:23 +02:00
Jonathon Anderson
8c4f68849d
Un-mark vendor target as phony
...
Contrary to #945 , marking vendor as phony causes binaries to be re-built
on a repeated call to `make`. Though we can't determine when vendor
needs to be rebuilt, this is preferable to not knowing when Warewulf
binaries need to be rebuilt.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-16 10:17:23 +02:00
Jonathon Anderson
edda46feb4
Update CHANGELOG for new builds
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-16 10:17:23 +02:00
Jonathon Anderson
44090a5984
Reflow release.yml
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-16 10:17:22 +02:00
Jonathon Anderson
a69a205820
Refactor and update release workflow
...
- Use a matrix for multiple builds
- Merge mockbuild.sh into release.yml
- Upload dist only once (not once per build)
- Make release package uploads more explicit (makes errors more visible)
- Configure mock to log to the runner log
- Use variables to define artifact names only once
- Target the release explicitly by id
- Run the test suite in each mock environment (fixes #369 )
- Update OpenSUSE Leap build to 15.5 (15.3 is EOL and not building
correctly)
- Add a Rocky Linux 9 build
- Switch to Rocky Linux 9 build container (mostly to get mock
configuration for newer OpenSUSE Leap)
- Allow successful releases to complete if some releases fail
(`fail-fast: false`)
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-16 10:17:22 +02:00
Jonathon Anderson
db9a81da73
Fix use of OFFLINE_BUILD in warewulf.spec
...
warewulf.spec appears to expect that an offline build would be requested
with `--with offline`; but conditional builds are not supported by mock.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-16 10:17:22 +02:00
Jonathon Anderson
0d3eeb09e5
Workaround for CentOS 7 gzip
...
The CentOS 7 gzip doesn't have `--keep`.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-16 10:17:22 +02:00
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