Commit Graph

56 Commits

Author SHA1 Message Date
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
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
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
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
2e4fc832c4 Update GitHub issue templates
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-09-08 18:37:22 -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
Jonathon Anderson
c9450ddac4 Initial dependabot configuration
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 09:45:37 -07:00
Jonathon Anderson
1a59080a99 Fix repository owner test in documentation workflow
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 09:32:52 -07:00
Jonathon Anderson
47b3fbca07 Quote path expression in documentation workflow
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 09:28:11 -07:00
Jonathon Anderson
2ec38ae3b5 Update GitHub CI to build docs and lint
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 09:04:43 -07:00
Jonathon Anderson
c72d54c5f4 Templates for GitHub issues and pull requests
Ported in from Apptainer

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-01-08 13:24:32 -07:00
Michael L. Young
792c3574b7 Add SRPM Artifact To Releases
* Upload SRPMs that are created
* Update actions/checkout to v3

Closes #614

Signed-off-by: Michael L. Young <myoung@ciq.co>
2022-12-22 22:21:50 -05:00
Christian Goll
f005fbc601 Merge pull request #555 from elguero/buildtestfixup
[CI/CD] Build Testing Improvement
2022-12-09 09:57:11 +01:00
Jonathon Anderson
78b857a3e4 Whitespace cleanup
Removes trailing whitespace from all source files.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-08 18:59:56 -07:00
Michael L. Young
d217279a04 [CI/CD] Build Testing Improvement
We are pinning version 1.17 for the linting workflow. Go 1.16
has been EOL for almost two years and even EL7 releases have
1.17 available now. Removed 1.16 from our test matrix.

This commit does the following:

* Update the build testing workflow to run on development branch
* Remove go 1.16 and add 1.19 to test build workflow

Signed-off-by: Michael L. Young <myoung@ciq.co>
2022-10-06 00:55:38 -04:00
Michael L. Young
ec555f2d5e [CI/CD] Check owner of repo before running documentaton GH action
If a fork is running GH actions, do not create the static
documentation and try to push to the warewulf documentation repo.

Signed-off-by: Michael L. Young <myoung@ciq.co>
2022-10-05 23:40:05 -04:00
Brian Clemens
f8d9dbc61e Correct static folder location 2022-09-27 13:27:11 +09:00
Brian Clemens
04ee8cc967 feat(docs): New documentation
Convert docs to mkdocs, move back into repo, publish to repo
2022-09-15 21:00:17 +09:00
Christian Goll
a79503eddd Added right mock build 2022-06-20 14:46:00 +02:00
Christian Goll
e0afbced13 Add suse builds mock build 2022-06-20 14:35:35 +02:00
Michael L. Young
3f86dcc3a5 Adjust release build artifacts upload to handle pre-releases
Update the upload-artifacts and download-artifacts version

Signed-off-by: Michael L. Young <myoung@ciq.co>
2022-06-12 08:19:14 -04:00
Brian Clemens
645fd16fde Use setup-go v3 with built-in cache 2022-06-02 15:27:50 +09:00
Christian Goll
86624a6980 install gpgme.h first 2022-04-09 13:59:05 +02:00
MatthewHink
9e459a7f69 vet is failing. see if test works. 2022-04-07 15:40:41 -04:00
MatthewHink
99f6ec8d2b Vet and test in CI. 2022-04-07 15:34:50 -04:00
MatthewHink
f3719845fb fix action name 2022-04-07 11:35:54 +02:00
MatthewHink
26244a4dcb golang-lintci v.1.45.2 + fix yaml syntax 2022-04-07 11:35:54 +02:00
MatthewHink
63768daa0c Pin go to 1.17 2022-04-06 15:24:42 -04:00
Michael L. Young
cf03d7ef69 Attempt to fix the build testing error. 2022-03-17 16:28:09 +01:00
Michael L. Young
17c71993d3 Add GitHub action to build new release assets and upload them 2021-10-26 22:25:50 -04:00
WestleyR
53651be35a Increase timeout for lint action
- Related to: #120
2021-09-10 11:09:09 -07:00
WestleyR
85f5f335c5 lint: ingnore the staticfile dir 2021-09-07 21:24:10 -07:00
WestleyR
4edc16953e Fix linting issues 2021-09-07 20:48:51 -07:00