forked from kubernetes-sigs/cluster-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update documentation now that the provider specific code has been (ku…
…bernetes-sigs#445) removed from this repository.
- Loading branch information
1 parent
0b2f26f
commit 0980af3
Showing
8 changed files
with
81 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
# Contributing Guidelines | ||
|
||
1. Follow the [Getting Started]((https://github.com/kubernetes-sigs/cluster-api/blob/master/cluster-api/clusterctl/README.md)) steps to create a cluster. | ||
Before submitting a PR you should run the unit and integration tests. | ||
|
||
# Development | ||
## Building | ||
|
||
Before submitting an PR you should run the unit and integration tests. Instructions for doing so are given in the [Testing](#Testing) section. | ||
To build the go code, run | ||
|
||
## Testing | ||
```shell | ||
./scripts/ci-build.sh | ||
``` | ||
|
||
### Unit Tests | ||
When changing this application, you will often end up modifying other packages above this folder in the project tree. You | ||
should run all the unit tests in the repository. To run the unit tests, run the following command from the root, | ||
`cluster-api`, folder of the repo. | ||
To verify that the code still builds into docker images, run | ||
|
||
``` | ||
go test ./... | ||
```shell | ||
./scripts/ci-make.sh | ||
``` | ||
|
||
### Integration Tests | ||
## Testing | ||
|
||
When changing this application, you will often end up modifying other packages above this folder in the project tree. | ||
You should run all the tests in the repository. To run the tests, run the following command from the root, | ||
`cluster-api`, folder of the repo. | ||
|
||
To run the integration tests, run the following command from this folder. The integration tests are for sanity checking | ||
that clusterctl's basic functionality is working. | ||
```shell | ||
./scripts/ci-test.sh | ||
``` | ||
go test -tags=integration -v | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters