Giter Club home page Giter Club logo

cluster-api-provider-ovirt's Introduction

cluster-api-provider-ovirt

https://github.com/oVirt/cluster-api-provider-ovirt

Implementation of the oVirt provider for the [cluster-api project] version v1beta
using openshift/cluster-api-provider api, which implements the machine actuator.

Development

Fast development cycle is to build the binarties, manager and machine-controller-manager
and run those against a running cluster kubeconfig.

Build

The following make targets are provided:

# build the binary
make build  

# build the image
make images

Code Generation

On any changes in the specification, run

make generate

to automatically generate the new CustomResourceDefinitions for oVirt.

Testing

Run all tests together via

make test

Unit Testing

Unit tests are marked with the build tag

//go:build unit

and can be run via

make test-unit

Functional Testing

Functional (or integration) tests for the cluster-api-provider-ovirt are based on [envtest] instead of a real cluser. For more information, refer to The Cluster API Book on integration tests.

The necessary tooling can be fetched and installed via

sh ./hack/envtest-tools.sh && fetch_tools && setup_env

Functional (or integration) tests are marked with the build tag

//go:build functional

and can be run via

make test-functional

Testing on OpenShift cluster

In contrast to local unit testing and functional testing, building and deploying the changed cluster-api-provider-ovirt to a running OpenShift cluster helps manually verifying the expected behavior of the component end to end.

For detailed instructions on how to exchange the predefined provider see ./docs/custom-capo.md.

Run the components locally

$ export KUBECONFIG=path/to/kubecofig

$  bin/manager &

$  bin/machine-controller-manager --namespace openshift-machine-api --metrics-addr=:8888 &

cluster-api-provider-ovirt's People

Contributors

openshift-merge-robot avatar eslutsky avatar rgolangh avatar engelmi avatar openshift-ci[bot] avatar janosdebugs avatar elmiko avatar gal-zaidman avatar darth-mera avatar dougsland avatar liranr23 avatar danil-grigorev avatar damdo avatar sandrobonazzola avatar enxebre avatar jupierce avatar openshift-bot avatar openshift-ci-robot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.