Commit Graph

32 Commits

Author SHA1 Message Date
Timothy Middelkoop
5314a4c858 Ignore wwclient architecture binaries
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
2025-11-17 15:33:31 +00: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
ede1a9149e remove and ignore *.coverprofile
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-08-15 17:16:08 +02:00
Jonathon Anderson
b3b7591796 Audit Makefile clean target and gitignore
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-08-10 11:43:46 -06:00
Jonathon Anderson
ec15f0fe36 Generate defaults.conf explicitly in Makefile
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-08-10 11:43:46 -06:00
Jonathon Anderson
7e31e45a0f Ignore extracted dists
When testing manual mock builds, built dists are extracted in the
current directory. This commit ignores those extracted dists so they are
not erroneously committed to the repository.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-08-10 11:43:46 -06:00
Jonathon Anderson
1fdd3742c3 Improve the generation of man pages
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-08-10 11:43:46 -06:00
Jonathon Anderson
8321193645 Refactor and document config/datastructure
Also adjusted case for initialisms (e.g., DHCP, TFTP, NFS).

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-04-19 14:02:43 -06:00
Jonathon Anderson
c461e65a98 Rename pkg/warewulfconf to pkg/config
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-04-19 14:02:43 -06:00
Christian Goll
377702a179 make the configuration to be based in warewulf.conf
defaults will be se by the Makefile

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-03 16:02:41 +01:00
Christian Goll
786ccdb1e1 generate reference documentation
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-02 13:52:06 +01:00
Jonathon Anderson
3ad4b42896 Treat wwapi config files as built versions
The wwapi*.conf files are build from .in variants, so they should not be
tracked in the tree. Adding them to gitignore prevents them from being
added back in, and adding them to Makefile:clean cleans them up.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-14 00:23:50 -07:00
Christian Goll
bdd985680c Merge pull request #539 from mslacken/default-conf
Read the defaults for a node from defaults.conf
2022-10-12 21:22:59 +02: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
efd761f7c3 Read the defaults for anode from defaults.conf 2022-09-15 11:14:26 +02:00
Jonathon Anderson
1bfce7d1df Small dist cleanup
- Add .dist to gitignore
- Purge emacs temporary files from dist

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-08-24 06:18:32 -06:00
MatthewHink
d8cd6049ac Initial cut of wwapi.
We need an API for Warewulf in order to automate around it. The initial version of the API will look a lot like wwctl. wwctl will call the API so that we do not need to maintain separate code paths. In this preview wwctl calls the API via direct function call, but we can change that to a gprc or REST call to a Warewulf server in the future.

This commit contains:
wwapid WareWulf API Daemon. A grpc server with mTLS auth.
wwapic WareWulf API Client. A grpc client with mTLS auth. It's just a sample that reads the version from the server.
wwapird WareWulf API Rest Daemon. A http REST reverse proxy to wwapid.
There are also sample insecure and secure curls to test with.

Implemented Functionality:
wwctl node add
wwctl node delete
wwctl node list
wwctl node set
wwctl node status
wwctl container build
wwctl container delete
wwctl container import
wwctl container list
wwctl container show

Some notes on the files:

    Logic that was in wwctl has moved to warewulf/internal/pkg/api. wwctl just calls the API. wwctl functionality is unchanged.
    Everything under the /google directory is copied google proto code to stand up wwapird. It's a bit strange to copy in the code, but that is currently how it's done.
    Everything in warewulf/internal/pkg/api/routes/wwapiv1 is generated code.

There are some loose ends here, such as no service installers. I just ran off the command line for development.
The Makefile could use improvement. I'm building by make clean setup proto all build wwapid wwapic wwapird ; echo $?
I copied the configs from warewulf/etc to /usr/local/etc/warewulf manually.
2022-06-24 08:39:30 -07:00
Christian Goll
2f2580e81b be more verbose 2022-04-12 18:03:08 +02:00
Christian Goll
e0681148e9 compiling config_defaults, unmarshall all values 2022-04-07 12:43:16 +02:00
Gregory Kurtzer
d35f368b21 Build configs should not be globally writable (thanks Jeremy) 2022-01-19 06:01:33 +00:00
Gregory Kurtzer
b09c9a8b98 Fix so Warewulf can build and lint without make config 2022-01-15 04:34:03 +00:00
Gregory Kurtzer
c0d6a16a6f Remove unused config path options 2022-01-15 04:11:11 +00:00
Gregory Kurtzer
8da7dd415a Extend and optimize relocatable build config infrastructure 2022-01-15 04:00:18 +00:00
Christian Goll
048fd48eca Updated .gitignore for etc/warewulf.conf/warewulf.spec 2022-01-11 05:55:24 +00:00
Gregory Kurtzer
02a5de3873 Fix gitignore 2021-12-28 16:56:33 -08:00
Christian Goll
5d729f5cc4 updated .gitignore to ignore man pages 2021-11-15 10:03:27 +01:00
WestleyR
4edc16953e Fix linting issues 2021-09-07 20:48:51 -07:00
Gregory Kurtzer
287395f852 Hoping this fixes my .gitignore issues 2020-12-06 01:16:21 -08:00
Ian Kaneshiro
fff79227d8 Support pulling from docker daemon 2020-11-11 10:25:39 -08:00
Ian Kaneshiro
badd10b838 update Makefile and .gitignore
- automatically download golangci-lint to lint the code eventually
- use a vendor directory
2020-11-06 17:09:10 -08:00
Ian Kaneshiro
477f70b10b Add build artifacts to .gitignore 2020-11-06 06:46:36 -08:00
Gregory Kurtzer
920cd5feac Some minor fixups and loading/learning GoLand 2020-10-29 19:22:56 -07:00