Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
charts
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
charts
Commits
630ed927
Unverified
Commit
630ed927
authored
Jan 25, 2019
by
Guangbo
Committed by
GitHub
Jan 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test readme doc (#108)
parent
4cabc0ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
README.md
test/README.md
+32
-0
No files found.
test/README.md
0 → 100644
View file @
630ed927
# Charts Testing
### Lint Testing
Lint testing is performed on every pull request and is run by the Drone CI. The
configuration is stored in the
[
`test/ct.yaml`
](
/test/ct.yaml
)
file.
The Lint Testing currently:
*
Performs
[
`ct lint`
](
https://github.com/guangbochen/chart-testing
)
on any changed charts to provide quick feedback
#### Run Lint Testing Locally
##### Using Docker Images:
```
docker run -d -it --name chart-test -v /path/to/your/charts/:/workdir/charts guangbo/chart-testing:v2.0.2-rancher1
docker exec -it chart-test sh
cd workdir/charts/
git remote add rancher-charts https://github.com/rancher/charts
git fetch rancher-charts master
ct lint --config test/ct.yaml
```
##### Using Binary Build:
You can download the
[
binary build
](
https://github.com/guangbochen/chart-testing/releases/tag/v2.0.2-rancher1
)
and run it locally using:
```
ct lint --config /path/to/your/charts/test/ct.yaml
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment