Commit Graph

81 Commits

Author SHA1 Message Date
Jonathon Anderson
0c85f813a4 Port mock root eol detection to tagged-release
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-04-04 21:41:54 -06:00
Jonathon Anderson
4a246e1b72 Release v4.6.1
- Back-port previous GitHub release notes to `.github/releases/`
- Fix SUSE and Rocky Linux 8 builds

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-04-04 05:12:57 -06:00
Timothy Middelkoop
ab69de476f Build aarch64 packages with GitHub actions
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-03-05 04:05:45 +00:00
Jonathon Anderson
9e41378e1c Documentation reorg for v4.6.0
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-03-01 11:32:33 -07:00
Christian Goll
afbb937f61 Merge branch 'main' into multi-dependabot 2025-03-01 11:57:45 +01:00
Timothy Middelkoop
50ab2ff7e4 Install git before checkout
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-02-24 14:50:37 -07:00
Jonathon Anderson
3ac059d79b Merge remote-tracking branches 'origin/dependabot/go_modules/main/google.golang.org/protobuf-1.36.5', 'origin/dependabot/go_modules/main/github.com/containers/storage-1.57.1' and 'origin/dependabot/go_modules/main/google.golang.org/grpc-1.70.0' into multi-dependabot
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-24 08:06:51 -07:00
Jonathon Anderson
3f652ceb02 Run staticcheck as part of GitHub CI
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-02-06 22:11:13 -07:00
Jonathon Anderson
53c939608b Enforce updating license dependencies
- Closes: #1148

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-01-21 09:42:27 -07:00
Jonathon Anderson
875106a79b Include man pages and command reference in userdocs
- Closes: #1488

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2025-01-21 09:42:27 -07:00
Jonathon Anderson
bf47ec1968 Remove toolchain directive from go.mod
This directive specified a newer version of the go toolchain from the go
runtime used, and newer than our minimum supported.

- Fixes #1571

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-03 11:41:02 -07:00
Jonathon Anderson
a9e591c106 Disable deadcode check for previous golang versions
Temporary fix for #1571

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-12-02 16:14:52 -07:00
Jonathon Anderson
500f9ebfb7 Upgrade actions/setup-python to v5
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-22 20:24:24 -07:00
Jonathon Anderson
2e51d68893 Replaced "unreleased" tag with "nochangelog"
Supports a general-purpose "nochangelog" tag for pull requests, which should be
paired with an explanation / justification in the comments.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-13 10:47:59 -07:00
Jonathon Anderson
c0703c32d4 Skip changelog enforcement for "unreleased" PRs
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-07 22:53:59 -07:00
Jonathon Anderson
28045da271 Add deadcode to the github test suite
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-11-01 19:03:21 -06:00
xu yang
82aaf9b9ec tidy and update related dependencies
Signed-off-by: xu yang <xyang@ciq.com>
2024-10-31 10:34:59 -06:00
dependabot[bot]
f6a923ac96 Bump github.com/sassoftware/go-rpmutils from 0.2.0 to 0.4.0
Bumps [github.com/sassoftware/go-rpmutils](https://github.com/sassoftware/go-rpmutils) from 0.2.0 to 0.4.0.

- [Release notes](https://github.com/sassoftware/go-rpmutils/releases)
- [Commits](https://github.com/sassoftware/go-rpmutils/compare/v0.2.0...v0.4.0)

Also updates minimum golang version to 1.21, as required.

---
updated-dependencies:
- dependency-name: github.com/sassoftware/go-rpmutils
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-10-30 20:44:58 -06:00
xu yang
53cf8b5845 fix the nightly release build failure
Signed-off-by: xu yang <xyang@ciq.com>
2024-05-01 00:08:10 -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
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
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
4e6cd1b9c9 skip changelog-enforcer for typos
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-04-10 12:15:31 +02:00
Jonathon Anderson
f232c912ad Run tests against PRs to v4.*.x branches
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-04-03 23:58:50 -06:00
Xu Yang
2cb0f84f4e upgrade golang version to 1.20
Signed-off-by: Xu Yang <xyang@ciq.com>
2024-03-21 21:04:48 -06:00
Xu Yang
d78af656de upgrade minimum golang version
Signed-off-by: Xu Yang <xyang@ciq.com>
2024-03-15 02:35:49 -06:00
Jonathon Anderson
629dbd603f Change documentation repository_dispatch to workflow_dispatch
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-06 23:03:47 -06:00
Jonathon Anderson
0c1fef5cd5 Support manually updating documentation
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-06 23:00:29 -06:00
Jonathon Anderson
07e71d3fa5 Quote asterisks in documentation workflow
Yaml strings containing asterisks require quoting, because asterisks have
special meaning otherwise.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-03-06 22:33:32 -06:00
Brian Clemens
d1f7b21943 Install Graphviz in userdocs CI workflow
Signed-off-by: Brian Clemens <brian@ciq.com>
2024-02-26 18:50:17 +09:00
Jonathon Anderson
ea8e4680bc Update tagged release workflow
- Don't use git hash in build identifier for tagged release
- Update upstream action versions
- Initiate release from pushed tag

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-02-17 22:22:31 -07:00
Jonathon Anderson
a1832ad8c1 Complete transfer of Warewulf from HPCng
Warewulf is now being maintained in its own GitHub organization at
github.com/warewulf

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-26 21:35:04 -07:00
Jonathon Anderson
5d6ef1882d Remove whitespace damage
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-21 00:18:38 -07:00
Brian Clemens
648ebe2abc Update website repo URL
Signed-off-by: Brian Clemens <brian@ciq.com>
2024-01-11 11:04:13 +09:00
jason yang
163b0aa4f4 add git tag to nightly release
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-07 11:53:24 +00:00
jason yang
618ba74b8b add workflow_dispatch
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-07 03:50:09 +00:00
jason yang
a0cea0f74e remove update_latest_release tag
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-07 02:43:54 +00:00
jason yang
3fd2899b1f add nightly release support
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-12-06 13:17:22 +00: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
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
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
7e9b3b48de Fix spelling of "changelog"
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
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
Christian Goll
2892781078 Update tested golang version
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-08-21 16:19:13 -06:00
Jonathon Anderson
bf3995d6f5 Clean up test targets in Makefile
Most notably, replaces the test-it target with a more simply named test
target.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-08-10 11:43:46 -06:00
Jonathon Anderson
5146403c4e Enable the changelog enforcer
* https://github.com/marketplace/actions/changelog-enforcer
* https://dangoslen.medium.com/enforcing-a-changelog-with-github-actions-279119ed4182

Closes #278

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-04-19 20:10:42 -06:00
Christian Goll
ce43dfa0b7 removed getters as configs must exportable
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-06 10:20:00 +01:00