[go: up one dir, main page]

Skip to content

smarterclayton/machine-config-operator

 
 

Repository files navigation

machine-config-operator

machine-config-operator

  • Build: WHAT=machine-config-operator ./hack/build-go.sh

machine-config-server

  • Design doc
  • Build: WHAT=machine-config-server ./hack/build-go.sh

machine-config-daemon

  • Design doc
  • Build: WHAT=machine-config-daemon ./hack/build-go.sh

machine-config-controller

  • Design doc
  • WHAT=machine-config-controller ./hack/build-go.sh

Tests

Tests can be executed on a per package basis with go test like so:

go test -v github.com/openshift/machine-config-operator/pkg/apis

All tests can be executed with:

go test -v ./...

Building Images

NOTE: To build images you will need podman installed.

Images can be built locally via the hack/build-image.sh script. This script uses the WHAT variable similarly to the hack/build-go.sh script.

$ ./hack/build-image.sh
ERROR: Note: Building unprivileged may fail due to permissions
ERROR: WHAT must be set to one of the following:
ERROR: - all
ERROR: - machine-config-controller
ERROR: - machine-config-daemon
ERROR: - machine-config-operator
$ WHAT=machine-config-daemon ./hack/build-image.sh
[...]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.9%
  • Shell 2.1%