Commit Graph

2335 Commits

Author SHA1 Message Date
Jonathon Anderson
ad2992c40b Merge pull request #1113 from mslacken/FixList
Correct output for wwctl node list -a for slices
2024-04-19 22:53:59 -06:00
Christian Goll
76a40f1364 Entry is aware if its ment as a slice or not
This is needed for printing out the values, as at this part in the
code there is no access to the NodeConf and only there the information
if the Entry is ment as a slice or not is available.

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-19 22:28:05 -06:00
Christian Goll
fc80c4745c add various tests for wwctl node list -a
Altough getting and setting values is correct, `wwctl list -a`
will print superseded values as a list and mark them not as
superseded. Tests will fail after this commit.

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-19 22:24:54 -06:00
Jonathon Anderson
63ee251714 Merge pull request #1145 from mslacken/ShimGrubArm
Tests and fix for shim and grub detection on aarch64
2024-04-19 16:38:04 -06:00
Christian Goll
2ba9efa57c created kernel.FindKernel reduces code complexity
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-19 16:12:22 -06:00
Christian Goll
b192e3b5d5 fixed ShimFind for aarch64
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-19 16:12:21 -06:00
Christian Goll
16f5b7408e added tests for BootLoaderFindPath for x86/aarch64
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-19 16:10:57 -06:00
Jonathon Anderson
4f2e50b20c Merge pull request #1198 from anderbubble/get-version-lightweight-tags
Use lightweight tags when generating version
2024-04-18 19:21:18 -06:00
Jonathon Anderson
f27e28dd18 Use lightweight tags when generating version
GitHub tags for draft releases are lightweight tags.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-18 19:20:02 -06:00
Jonathon Anderson
26a4c30947 Merge pull request #1197 from anderbubble/fetch-history-during-release
Fetch all history during tagged-release
2024-04-18 17:13:27 -06:00
Jonathon Anderson
aa9229a67c Fetch all history during tagged-release
Tags are required during tagged-release, but attempting to fetch only
tags caused an error of the form:

    Cannot fetch both <sha> and refs/tags/<name> to refs/tags/<name>

Switching to just downloading all history.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-18 17:11:17 -06:00
Jonathon Anderson
475fb92549 Merge pull request #1196 from anderbubble/fetch-tags-during-release
Fetch tags during tagged-release
2024-04-18 17:05:44 -06:00
Jonathon Anderson
6d5a7735d9 Fetch tags during tagged-release
Tags are required for dynamic version generation.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-18 17:04:28 -06:00
Jonathon Anderson
ca1032f627 Merge pull request #1194 from anderbubble/fix-release-workflows-2
Update tagged-release to accommodate new artifact names
2024-04-18 15:09:57 -06:00
Jonathon Anderson
79b8853cd8 Update tagged-release to accomodate new artifact names
Dynamic versioning of Warewulf releases broke the release process. This
simplifies and fixes finding of release artifacts during tagged-release.

This also removes CentOS 7 as a release target, as previous attempts to
fix building on CentOS 7 by omitting the API still failed to run the
testsuite.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-18 14:52:54 -06:00
Christian Goll
0286bcae8a Merge pull request #1193 from anderbubble/omit-api-el7
Don't build the API for CentOS 7
2024-04-18 06:53:11 +02:00
Jonathon Anderson
cced011cb0 Merge pull request #1055 from mslacken/OverlyName
added {{ .Overlay }} to templates
2024-04-17 21:43:59 -06:00
Jonathon Anderson
ab881dbb37 Add Overlay variable to debug template
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-17 21:40:36 -06:00
Christian Goll
5c23a4cdde added {{ .Overlay }} to templates
{{ .Overlay }} contains the overlay name in which the template is
located, or an empty string if RenderTempalte is called outside the
warewulf overlay tree.

- Closes #1052

Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-17 21:40:32 -06:00
Jonathon Anderson
864a4e7447 Don't build the API for CentOS 7
A recent security update breaks compatibility with CentOS 7 through
gpgme. This change omits building the API by default and does not build
it when packaging for EL 7.

- Closes #1171

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-17 19:54:18 -06:00
Jonathon Anderson
1c6a84f517 Merge pull request #1175 from mslacken/LockNodeStatus
add a read write mutex for node status
2024-04-17 12:59:36 -06:00
Christian Goll
71f5d42942 Add a read write mutex for node status
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-17 12:55:02 -06:00
Jonathon Anderson
80450bd4b4 Merge pull request #1133 from anderbubble/docs-firewall-dhcp
Add dhcp to firewall configuration in quickstart
2024-04-17 12:50:59 -06:00
Jonathon Anderson
a31f1e7954 Add dhcp to firewall configuration in quickstart
For some reason, adding dhcp as a firewalld service wasn't required for dhcpd;
but it appears to be required for dnsmasq.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-17 12:46:50 -06:00
Jonathon Anderson
728540a342 Merge pull request #1178 from anderbubble/v4.5.1-changelog-prep
Update CHANGELOG to anticipate v4.5.1
2024-04-17 12:39:07 -06:00
Jonathon Anderson
9636bfe6a1 Update CHANGELOG to anticipate v4.5.1
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-17 12:35:59 -06:00
Christian Goll
a562d8e092 Merge pull request #1184 from acabrera86/patch-1
changed typo in the word belonging
2024-04-15 13:50:38 +02:00
Arian
33e895be9e changed typo in the word belonging 2024-04-11 14:52:11 -04:00
Christian Goll
3d12803978 Merge pull request #1183 from mslacken/NoChangelogForTypos
skip changelog-enforcer for typos
2024-04-10 14:44:24 +02:00
Christian Goll
ea58b5ad47 Merge pull request #1181 from tsingletonacic/patch-1
Update overlays.rst
2024-04-10 14:05:24 +02:00
Christian Goll
4e6cd1b9c9 skip changelog-enforcer for typos
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-10 12:15:31 +02:00
tsingletonacic
3e1982337e Update overlays.rst
Type fix "necessary"
2024-04-10 08:54:56 +02:00
Christian Goll
e2612495b0 Merge pull request #1162 from anderbubble/dynamic-version-release
Calculate VERSION and RELEASE dynamically from git
2024-04-08 09:14:31 +02:00
Jonathon Anderson
f07401ce41 Calculate VERSION and RELEASE dynamically from git
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-05 19:48:26 -06:00
Jonathon Anderson
ed529c5e0c Merge pull request #1176 from warewulf/dependabot/go_modules/github.com/opencontainers/runc-1.1.12
Bump github.com/opencontainers/runc from 1.0.0-rc90 to 1.1.12
2024-04-05 18:16:46 -06:00
Jonathon Anderson
ad0a6eac6e Update changelog for runc-1.1.12
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-05 18:07:13 -06:00
dependabot[bot]
f61d3e422d Bump github.com/opencontainers/runc from 1.0.0-rc90 to 1.1.12
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.0.0-rc90 to 1.1.12.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/opencontainers/runc/compare/v1.0.0-rc90...v1.1.12)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 18:07:13 -06:00
Jonathon Anderson
0a40d7888d Merge pull request #1159 from warewulf/dependabot/go_modules/gopkg.in/go-jose/go-jose.v2-2.6.3
Bump gopkg.in/go-jose/go-jose.v2 from 2.6.1 to 2.6.3
2024-04-05 18:03:35 -06:00
Jonathon Anderson
f9d197673d Update changelog for go-jose.v2-2.6.3
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-05 17:59:30 -06:00
dependabot[bot]
a25e48c433 Bump gopkg.in/go-jose/go-jose.v2 from 2.6.1 to 2.6.3
Bumps gopkg.in/go-jose/go-jose.v2 from 2.6.1 to 2.6.3.

---
updated-dependencies:
- dependency-name: gopkg.in/go-jose/go-jose.v2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 17:59:30 -06:00
Jonathon Anderson
6e6841a0a5 Merge pull request #1158 from warewulf/dependabot/go_modules/github.com/go-jose/go-jose/v3-3.0.3
Bump github.com/go-jose/go-jose/v3 from 3.0.2 to 3.0.3
2024-04-05 17:52:50 -06:00
Jonathon Anderson
d3e3e4f53d Update changelog for go-jose/v3-3.0.3
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-05 17:45:06 -06:00
dependabot[bot]
c6732cefc9 Bump github.com/go-jose/go-jose/v3 from 3.0.2 to 3.0.3
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Changelog](https://github.com/go-jose/go-jose/blob/v3.0.3/CHANGELOG.md)
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 17:45:06 -06:00
Jonathon Anderson
db341fb98a Merge pull request #1160 from warewulf/dependabot/go_modules/github.com/docker/docker-25.0.5incompatible
Bump github.com/docker/docker from 25.0.3+incompatible to 25.0.5+incompatible
2024-04-05 17:20:29 -06:00
Jonathon Anderson
2fd58bcdbf Update changelog for docker/25.0.5+incompatible
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-04 22:47:47 -06:00
dependabot[bot]
265129a3f3 Bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 25.0.3+incompatible to 25.0.5+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v25.0.3...v25.0.5)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 22:46:57 -06:00
Christian Goll
135a05af3b Merge pull request #1173 from anderbubble/test-release-branches
Run tests against PRs to v4.*.x branches
2024-04-04 09:58:15 +02:00
Jonathon Anderson
33e9495a26 Merge pull request #1157 from warewulf/dependabot/go_modules/github.com/opencontainers/umoci-0.4.7
Bump github.com/opencontainers/umoci from 0.4.6 to 0.4.7
2024-04-04 02:27:54 -04:00
Jonathon Anderson
5c6375c8ef Update changelog for umoci-0.4.7
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-04 00:18:51 -06:00
Xu Yang
555947529f make necessary changes for code updates
Signed-off-by: Xu Yang <xyang@ciq.com>
2024-04-04 00:17:30 -06:00