Commit Graph

2069 Commits

Author SHA1 Message Date
Andreas Skau
10976a7e5d Delinted 2023-12-04 15:58:26 +01:00
Andreas Skau
214848c75e Add IPMI escape char functionality 2023-12-04 15:42:01 +01:00
Christian Goll
dd4c14e2eb Merge pull request #994 from hpcng/make-variables-consistent-with-specfile
Make WWPROVISIONDIR a first class citizen of the local/shared state location.
2023-11-27 09:27:41 +01:00
griznog
a7ec22744e Make WWPROVISIONDIR a first class citizen of the local/shared state location. 2023-11-26 00:08:31 -07:00
Jonathon Anderson
5f9fa43265 Merge pull request #971 from mslacken/Fix967
added test for tag from profile
2023-11-26 00:00:49 -07:00
Jonathon Anderson
c8604bc200 Remove testenv.WriteFileAbs
Writing absolute file names in testenv breaks safety that files in the
test environment are written to the designated temporary path. Adjusted
the relevant tests to use testenv.WriteFile.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-11-25 23:54:44 -07:00
Christian Goll
f8805e87a4 merge tags in GetterFrom
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-11-25 01:54:02 -07:00
Christian Goll
5d25b3a4a6 added explicit tests for overlay commands
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-11-25 01:54:02 -07:00
Christian Goll
7f502c1f8a added test for tag from profile
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-11-25 01:54:02 -07:00
Jonathon Anderson
22dab162a0 Merge pull request #983 from mslacken/ignition-target-fix
removed trailing space ww4-disks.target.ww
2023-11-25 01:23:28 -07:00
Christian Goll
48768abb6d Update Makefile to install symlinks and dirs
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-11-25 01:16:48 -07:00
Christian Goll
354fc168ef Remove trailing space from filename
ww4-disks.target.ww was committed with a trailing space in its filename
which is both incorrect and breaks rendering of the template.

Signed-off-by: Christian Goll <cgoll@suse.com>
2023-11-25 01:15:22 -07:00
Christian Goll
35038b0527 Merge pull request #995 from anderbubble/lint-timeout
Increase linter timeout to 5 minutes
2023-11-25 08:46:42 +01:00
Christian Goll
1d243ef7f2 Merge pull request #996 from anderbubble/update-development-to-main
Replace development with main
2023-11-25 08:45:35 +01:00
Jonathon Anderson
4f41a569dd Replace development with main
The development branch has been replaced with the main branch in GitHub.
Replaces references to development in docs, commands, configuration, and
workflows.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-11-25 00:27:52 -07:00
Jonathon Anderson
f015d85996 Increase linter timeout to 5 minutes
Fixes #968

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-11-24 11:47:16 -07:00
Jonathon Anderson
9e0576df24 Merge pull request #990 from anderbubble/main
Merge development into main to make main the new default development branch
2023-11-23 11:29:31 -07:00
Jonathon Anderson
d7d9629ce0 Merge remote-tracking branch 'origin/development'
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-11-23 11:26:24 -07:00
Jonathon Anderson
903db95769 Merge pull request #953 from anderbubble/contributing
Update CONTRIBUTING with TSC and initial policies
2023-11-23 11:14:49 -07:00
Jonathon Anderson
eaaa1bd7e9 Identify the TSC chair
Jonathon was elected TSC chair at the in-person SC23 meeting 13 November
2023, along with the ratification of the contributing and maintenance
policies.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-11-23 11:08:45 -07:00
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